Home
last modified time | relevance | path

Searched refs:getRepeatCount (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/view/
DKeyEventTest.java63 assertEquals(REPEAT, keyEvent.getRepeatCount()); in testObtain()
90 assertEquals(REPEAT, keyEvent.getRepeatCount()); in testObtainWithDisplayId()
177 assertEquals(key1.getRepeatCount(), key2.getRepeatCount()); in compareKeys()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java117 if (event.getRepeatCount() == 0) { in onKeyDown()
143 if (event.getRepeatCount() == 0) { in onKeyDown()
167 if (event.getRepeatCount() == 0) { in onKeyDown()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DFakeAdapter.java54 final int repeatCount = binding.getRepeatCount(); in FakeAdapter()
DFakeExpandableAdapter.java51 createItems(binding, binding.getItemCount(), binding.getRepeatCount(), mGroupTypes, 1); in FakeExpandableAdapter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DSafetyWarningDialog.java75 && event.getRepeatCount() == 0) { in onKeyDown()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java95 && event.getRepeatCount() == 0) { in onKey()
DIconMenuView.java545 if (event.getAction() == KeyEvent.ACTION_DOWN && event.getRepeatCount() == 0) { in dispatchKeyEvent()
/frameworks/native/libs/input/tests/
DVerifiedInputEvent_test.cpp73 ASSERT_EQ(event.getRepeatCount(), verified.repeatCount); in TEST()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedImageDrawable.java169 public int getRepeatCount() { in getRepeatCount() method in AnimatedImageDrawable
185 return getRepeatCount(); in getLoopCount()
/frameworks/base/core/java/android/view/animation/
DAnimation.java800 public int getRepeatCount() { in getRepeatCount() method in Animation
981 return (getStartOffset() + getDuration()) * (getRepeatCount() + 1); in computeDurationHint()
/frameworks/base/core/java/android/view/
DVerifiedKeyEvent.java283 public int getRepeatCount() { in getRepeatCount() method in VerifiedKeyEvent
DInputEventConsistencyVerifier.java223 && event.getRepeatCount() == 0) { in onKeyEvent()
/frameworks/base/core/java/android/text/method/
DNumberKeyListener.java122 int repeatCount = event != null ? event.getRepeatCount() : 0; in onKeyDown()
DLinkMovementMethod.java56 event.getRepeatCount() == 0 && action(CLICK, widget, buffer)) { in handleMovementKey()
DArrowKeyMovementMethod.java57 && event.getRepeatCount() == 0 in handleMovementKey()
DBaseMovementMethod.java56 final int repeat = event.getRepeatCount(); in onKeyOther()
DQwertyKeyListener.java119 int count = event.getRepeatCount(); in onKeyDown()
/frameworks/base/core/jni/
Dandroid_view_KeyEvent.cpp103 event->getRepeatCount(), event->getMetaState(), in android_view_KeyEvent_fromNative()
Dandroid_view_InputEventSender.cpp127 event->getMetaState(), event->getRepeatCount(), in sendKeyEvent()
/frameworks/base/services/core/java/com/android/server/policy/
DModifierShortcutManager.java338 if (event.getRepeatCount() != 0) { in interceptKey()
DPhoneWindowManager.java1768 final int repeatCount = event.getRepeatCount(); in handleHomeButton()
2816 final int repeatCount = event.getRepeatCount(); in interceptKeyBeforeDispatching()
3192 + ", repeatCount=" + event.getRepeatCount()
3206 && event.getRepeatCount() == 0;
3226 event.getRepeatCount(), fallbackAction.metaState,
3256 final int repeatCount = event.getRepeatCount();
3867 event.getRepeatCount(), event.getMetaState(), in interceptKeyBeforeQueueing()
3887 && event.getRepeatCount() == 0; in interceptKeyBeforeQueueing()
4124 final boolean longPressed = event.getRepeatCount() > 0; in interceptKeyBeforeQueueing()
4484 && event.getRepeatCount() == 0) { in dispatchMediaKeyWithWakeLock()
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DKeyButtonView.java313 mTracking = handled && ev.getRepeatCount() == 0 in sendEvent()
/frameworks/base/native/android/
Dinput.cpp79 return static_cast<const KeyEvent*>(key_event)->getRepeatCount(); in AKeyEvent_getRepeatCount()
/frameworks/base/core/java/android/widget/
DZoomButtonsController.java483 && event.getRepeatCount() == 0) { in onContainerKey()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java1883 if (down && keyEvent.getRepeatCount() == 0) { in dispatchVolumeKeyEventLocked()
2695 } else if (keyEvent.getRepeatCount() > 1 && !mIsLongPressing) { in cancelTrackingIfNeeded()
2791 && keyEvent.getRepeatCount() == 1; in isFirstLongPressKeyEvent()
2796 && keyEvent.getRepeatCount() == 0; in isFirstDownKeyEvent()

123