Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/view/
DKeyEventTest.java53 assertEquals(REPEAT, keyEvent.getRepeatCount()); in testObtain()
72 assertEquals(keyEvent.getRepeatCount(), keyEvent2.getRepeatCount()); in testObtainFromKeyEvent()
91 assertEquals(REPEAT, keyEvent.getRepeatCount()); in testObtainWithDisplayId()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java122 if (event.getRepeatCount() == 0) { in onKeyDown()
149 if (event.getRepeatCount() == 0) { in onKeyDown()
174 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.java52 createItems(binding, binding.getItemCount(), binding.getRepeatCount(), mGroupTypes, 1); in FakeExpandableAdapter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DSafetyWarningDialog.java74 && 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/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.java754 public int getRepeatCount() { in getRepeatCount() method in Animation
888 return (getStartOffset() + getDuration()) * (getRepeatCount() + 1); in computeDurationHint()
/frameworks/base/core/jni/
Dandroid_view_KeyEvent.cpp63 event->getRepeatCount(), in android_view_KeyEvent_fromNative()
Dandroid_view_InputEventSender.cpp119 event->getRepeatCount(), event->getDownTime(), event->getEventTime()); in sendKeyEvent()
/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/native/android/
Dinput.cpp73 return static_cast<const KeyEvent*>(key_event)->getRepeatCount(); in AKeyEvent_getRepeatCount()
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp112 EXPECT_EQ(repeatCount, keyEvent->getRepeatCount()); in PublishAndConsumeKeyEvent()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DRecentsActivity.java597 if (event.getRepeatCount() <= 0 || hasRepKeyTimeElapsed) { in onKeyDown()
624 if (event.getRepeatCount() <= 0) { in onKeyDown()
/frameworks/native/include/input/
DInput.h378 inline int32_t getRepeatCount() const { return mRepeatCount; } in getRepeatCount() function
/frameworks/base/core/java/android/widget/
DZoomButtonsController.java483 && event.getRepeatCount() == 0) { in onContainerKey()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java1610 final int repeatCount = event.getRepeatCount(); in handleHomeButton()
2637 final int repeatCount = event.getRepeatCount(); in interceptKeyBeforeDispatchingInner()
3145 + ", repeatCount=" + event.getRepeatCount() in dispatchUnhandledKey()
3155 && event.getRepeatCount() == 0; in dispatchUnhandledKey()
3175 event.getRepeatCount(), fallbackAction.metaState, in dispatchUnhandledKey()
3753 && event.getRepeatCount() == 0; in interceptKeyBeforeQueueing()
4020 final boolean longPressed = event.getRepeatCount() > 0; in interceptKeyBeforeQueueing()
4302 if (event.getRepeatCount() == 0) { in dispatchDirectAudioEvent()
4344 && event.getRepeatCount() == 0) { in dispatchMediaKeyWithWakeLock()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java1696 if (keyEvent.getRepeatCount() == 0) { in dispatchVolumeKeyEvent()
1708 if (keyEvent.getRepeatCount() > 0 || keyEvent.isLongPress()) { in dispatchVolumeKeyEvent()
1781 if (down && keyEvent.getRepeatCount() == 0) { in dispatchVolumeKeyEventLocked()
2087 if (keyEvent.getRepeatCount() == 0) { in handleVoiceKeyEventLocked()
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java223 && event.getRepeatCount() == 0) { in onKeyEvent()
/frameworks/base/core/java/android/animation/
DValueAnimator.java902 public int getRepeatCount() { in getRepeatCount() method in ValueAnimator

12