HomeSort by relevance Sort by last modified time
    Searched refs:isButtonPressed (Results 1 - 14 of 14) sorted by null

  /developers/build/prebuilts/gradle/BasicGestureDetect/Application/src/main/java/com/example/android/basicgesturedetect/
GestureListener.java 147 if(e.isButtonPressed(MotionEvent.BUTTON_PRIMARY)){
151 if(e.isButtonPressed(MotionEvent.BUTTON_SECONDARY)){
155 if(e.isButtonPressed(MotionEvent.BUTTON_TERTIARY)){
159 if(e.isButtonPressed(MotionEvent.BUTTON_BACK)){
163 if(e.isButtonPressed(MotionEvent.BUTTON_FORWARD)){
  /developers/samples/android/input/gestures/BasicGestureDetect/Application/src/main/java/com/example/android/basicgesturedetect/
GestureListener.java 147 if(e.isButtonPressed(MotionEvent.BUTTON_PRIMARY)){
151 if(e.isButtonPressed(MotionEvent.BUTTON_SECONDARY)){
155 if(e.isButtonPressed(MotionEvent.BUTTON_TERTIARY)){
159 if(e.isButtonPressed(MotionEvent.BUTTON_BACK)){
163 if(e.isButtonPressed(MotionEvent.BUTTON_FORWARD)){
  /development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/
GestureListener.java 147 if(e.isButtonPressed(MotionEvent.BUTTON_PRIMARY)){
151 if(e.isButtonPressed(MotionEvent.BUTTON_SECONDARY)){
155 if(e.isButtonPressed(MotionEvent.BUTTON_TERTIARY)){
159 if(e.isButtonPressed(MotionEvent.BUTTON_BACK)){
163 if(e.isButtonPressed(MotionEvent.BUTTON_FORWARD)){
  /packages/apps/DocumentsUI/src/com/android/documentsui/base/
Events.java 57 return e.isButtonPressed(MotionEvent.BUTTON_PRIMARY);
61 return e.isButtonPressed(MotionEvent.BUTTON_SECONDARY);
65 return e.isButtonPressed(MotionEvent.BUTTON_TERTIARY);
  /packages/apps/DocumentsUI/src/com/android/documentsui/selection/
MotionEvents.java 66 return e.isButtonPressed(MotionEvent.BUTTON_PRIMARY);
70 return e.isButtonPressed(MotionEvent.BUTTON_SECONDARY);
74 return e.isButtonPressed(MotionEvent.BUTTON_TERTIARY);
  /frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
MotionEvents.java 70 return isButtonPressed(e, MotionEvent.BUTTON_PRIMARY);
74 return isButtonPressed(e, MotionEvent.BUTTON_SECONDARY);
78 return isButtonPressed(e, MotionEvent.BUTTON_TERTIARY);
81 // NOTE: Can replace this with MotionEvent.isButtonPressed once targeting 21 or higher.
82 private static boolean isButtonPressed(MotionEvent e, int button) {
  /cts/tests/tests/view/src/android/view/cts/
MotionEventTest.java     [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
NotificationPanelView.java     [all...]
  /frameworks/base/core/java/android/view/
MotionEvent.java     [all...]
ViewGroup.java     [all...]
View.java     [all...]
  /frameworks/base/core/java/android/widget/
Editor.java     [all...]
  /prebuilts/sdk/26/
android.jar 
  /prebuilts/sdk/27/
android.jar 

Completed in 1652 milliseconds