TwistGesture

パブリック クラス TwistGesture

ユーザーがタッチ スクリーンで 2 本の指でひねる動作を行った場合のジェスチャー。

ネストされたクラス

インターフェース TwistGesture.OnGestureEventListener TwistGesture によって呼び出されるコールバックのインターフェース定義。 

継承されるフィールド

パブリック コンストラクタ

TwistGesture(GesturePointersUtility gesturePointersUtility, MotionEvent motionEvent, int ポインタ Id2)

パブリック メソッド

浮動小数点数

保護されたメソッド

ブール値
canStartHitTestResultヒットテスト結果、MotionEvent motionEvent)
TwistGesture
void
void
void
onStartHitTestResultヒットテスト結果、MotionEvent motionEvent)
ブール値
updateGesture(HitTestResult hitsTestResult, MotionEvent motionEvent)

継承されるメソッド

パブリック コンストラクタ

public TwistGesture (GesturePointersUtility gesturePointersUtility, MotionEvent motionEvent, int ポインタ Id2)

パラメータ
gesturePointersUtility
モーション イベント
ポインタ ID2

パブリック メソッド

public float getDeltaRotationDegrees ()

保護されたメソッド

Protected boolean canStart (HitTestResult hitsTestResult, MotionEvent motionEvent)

パラメータ
ヒットテストの結果
モーション イベント

Protected TwistGesture getSelf ()

Protect void onCancel ()

Protect void onFinish ()

Protected void onStart (HitTestResult hitsTestResult, MotionEvent motionEvent)

パラメータ
ヒットテストの結果
モーション イベント

Protected boolean updateGesture (HitTestResult hitsTestResult, MotionEvent motionEvent)

パラメータ
ヒットテストの結果
モーション イベント