/frameworks/base/core/tests/coretests/src/android/view/ |
LongpressTest.java | 19 import android.view.Longpress; 31 * Exercises {@link android.view.View}'s longpress plumbing. 33 public class LongpressTest extends ActivityInstrumentationTestCase<Longpress> { 38 super("com.android.frameworks.coretests", Longpress.class); 45 final Longpress a = getActivity();
|
Longpress.java | 24 public class Longpress extends Activity { 29 setContentView(R.layout.longpress);
|
DisabledLongpressTest.java | 19 import android.view.Longpress; 31 * Exercises {@link android.view.View}'s longpress plumbing by testing the 34 public class DisabledLongpressTest extends ActivityInstrumentationTestCase<Longpress> { 39 super("com.android.frameworks.coretests", Longpress.class); 46 final Longpress a = getActivity();
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/ |
MultiSelectManagerTest.java | 76 longPress(7); 82 longPress(7); 96 longPress(7); 101 longPress(7); 102 longPress(99); 107 longPress(7); 113 longPress(7); 120 longPress(99); 127 longPress(7); 133 longPress(17) [all...] |
/cts/tests/tests/telecom/src/android/telecom/cts/ |
WiredHeadsetTest.java | 114 sendMediaButtonPress(false /* longPress */); 118 sendMediaButtonPress(true /* longPress */); 121 private void sendMediaButtonPress(boolean longPress) throws Exception { 122 final String command = "input keyevent " + (longPress ? "--longpress" : "--shortpress")
|
/packages/apps/Protips/res/values/ |
arrays.xml | 39 <!-- Tip: Longpress in Launcher (all apps) to drag apps to the home screen. --> 43 <!-- Tip: Longpress to move icons/widgets around. --> 47 <!-- Tip: Longpress icons/widgets and drag to trash to remove them. -->
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherAppWidgetHostView.java | 66 // Consume any touch events for ourselves after longpress is triggered 72 // Watch for longpress events at this level to make sure
|
/frameworks/base/packages/SystemUI/res/values/ |
arrays_car.xml | 22 isn't a longpress action associated with a shortcut item, put in an empty item to make
|
strings_tv.xml | 30 <!-- Overlay text on picture-in-picture (PIP) to indicate that longpress HOME key to control PIP [CHAR LIMIT=52] --> 36 <!-- Description for picture-in-picture (PIP) onboarding screen to indicate that longpress HOME key to control PIP. [CHAR LIMIT=NONE] -->
|
attrs.xml | 21 <!-- does this button generate longpress / repeat events? -->
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
Input.java | 87 final boolean longpress = "--longpress".equals(args[index + 1]); 88 final int start = longpress ? index + 2 : index + 1; 96 sendKeyEvent(inputSource, keyCode, longpress); 182 private void sendKeyEvent(int inputSource, int keyCode, boolean longpress) { 186 if (longpress) { 292 System.err.println(" keyevent [--longpress] <key code number or name> ..."
|
/frameworks/support/compat/java/android/support/v4/view/ |
GestureDetectorCompat.java | 197 * Set whether longpress is enabled, if this is enabled when a user 198 * presses and holds down you get a longpress event and nothing further. 201 * longpress is enabled. 203 * @param isLongpressEnabled whether longpress should be enabled. 211 * @return true if longpress is enabled, else false. 527 * @return true if longpress is enabled, else false. 546 * Set whether longpress is enabled, if this is enabled when a user 547 * presses and holds down you get a longpress event and nothing further. 550 * longpress is enabled. 552 * @param enabled whether longpress should be enabled [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/ |
ActorGestureListener.java | 55 public boolean longPress (float stageX, float stageY) {
57 return ActorGestureListener.this.longPress(actor, tmpCoords.x, tmpCoords.y);
137 public boolean longPress (Actor actor, float x, float y) {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherAppWidgetHostView.java | 96 // Consume any touch events for ourselves after longpress is triggered 102 // Watch for longpress or stylus button press events at this level to
|
/frameworks/base/docs/html/reference/android/support/test/espresso/action/ |
MotionEvents.DownResultHolder.html | 317 <code><a href="/reference/android/support/test/espresso/action/MotionEvents.DownResultHolder.html#longPress">longPress</a></code> 665 <A NAME="longPress"></A> 668 <h3 class="api-name">longPress</h3> 676 boolean longPress</pre>
|
/external/libgdx/gdx/src/com/badlogic/gdx/input/ |
GestureDetector.java | 57 if (!longPressFired) longPressFired = listener.longPress(pointer1.x, pointer1.y);
71 * {@link GestureListener#longPress(float, float)} event.
294 public boolean longPress (float x, float y);
342 public boolean longPress (float x, float y) {
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
GestureDetectorTest.java | 55 public boolean longPress (float x, float y) {
|
BulletTestCollection.java | 180 public boolean longPress (float x, float y) { 181 return tests[testIndex].longPress(x, y);
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/ |
BulletTest.java | 112 public boolean longPress (float x, float y) {
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
MouseClickAction.java | 85 return res.longPress ? Tapper.Status.WARNING : Tapper.Status.SUCCESS;
|
/packages/services/Car/car_product/overlay/frameworks/base/packages/SystemUI/res/values/ |
arrays_car.xml | 22 isn't a longpress action associated with a shortcut item, put in an empty item to make
|
/frameworks/base/core/java/android/view/ |
GestureDetector.java | 98 * @param e The initial on down motion event that started the longpress. 463 * Set whether longpress is enabled, if this is enabled when a user 464 * presses and holds down you get a longpress event and nothing further. 467 * longpress is enabled. 469 * @param isLongpressEnabled whether longpress should be enabled. 476 * @return true if longpress is enabled, else false.
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
StatePanelTrack.java | 96 longPress(e); 121 private void longPress(MotionEvent e) {
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
AttachmentPreview.java | 319 final Rect viewBoundsOnScreen, final boolean longPress) { 320 if (longPress) {
|
AttachmentPreviewFactory.java | 101 false /* longPress */); 109 true /* longPress */);
|