Home
last modified time | relevance | path

Searched refs:isTracking (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/haptics/slider/
DSeekbarHapticPlugin.kt63 val isTracking: Boolean constant
64 get() = sliderTracker?.isTracking == true
118 if (isTracking) { in onStartTrackingTouch()
125 if (isTracking) { in onProgressChanged()
156 if (isTracking) { in onStopTrackingTouch()
163 if (isTracking) { in onStoppedTrackingProgram()
176 if (!isTracking) return in onKeyDown()
DSliderTracker.kt52 var isTracking = false in <lambda>() variable
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DLocaleTrackerTest.java171 assertTrue(mLocaleTracker.isTracking()); in testNoSim()
182 assertFalse(mLocaleTracker.isTracking()); in testBootupInAirplaneModeOn()
194 assertFalse(mLocaleTracker.isTracking()); in testToggleAirplaneModeOn()
204 assertFalse(mLocaleTracker.isTracking()); in testToggleAirplaneModeOn()
224 assertFalse(mLocaleTracker.isTracking()); in testToggleAirplaneModeOff()
229 assertTrue(mLocaleTracker.isTracking()); in testToggleAirplaneModeOff()
242 assertFalse(mLocaleTracker.isTracking()); in testToggleAirplaneModeOosPlmn()
254 assertTrue(mLocaleTracker.isTracking()); in testToggleAirplaneModeOosPlmn()
281 assertFalse(mLocaleTracker.isTracking()); in testToggleAirplaneModeNoCellInfo()
292 assertTrue(mLocaleTracker.isTracking()); in testToggleAirplaneModeNoCellInfo()
[all …]
/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java118 } else if (event.isLongPress() && dispatcher.isTracking(event)) { in onKeyDown()
144 } else if (event.isLongPress() && dispatcher.isTracking(event)) { in onKeyDown()
168 } else if (event.isLongPress() && dispatcher.isTracking(event)) { in onKeyDown()
244 if (event.isTracking() && !event.isCanceled()) { in onKeyUp()
254 if (event.isTracking() && !event.isCanceled()) { in onKeyUp()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/haptics/slider/
DSeekbarHapticPluginTest.kt62 fun start_beginsTrackingSlider() = runOnStartedPlugin { assertThat(plugin.isTracking).isTrue() } in <lambda>()
70 assertThat(plugin.isTracking).isFalse() in stop_stopsTrackingSlider()
80 assertThat(plugin.isTracking).isTrue() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DQuickSettingsControllerImplTest.java103 assertThat(mQsController.isTracking()).isTrue(); in interceptTouchEvent_withinQs_shadeExpanded_startsQsTracking()
117 assertThat(mQsController.isTracking()).isFalse(); in interceptTouchEvent_withinQs_shadeExpanded_inSplitShade_doesNotStartQsTracking()
139 assertThat(mQsController.isTracking()).isTrue(); in onTouch_moveActionSetsCorrectExpansionHeight()
156 assertThat(mQsController.isTracking()).isTrue(); in handleTouch_downActionInQsArea()
169 assertThat(mQsController.isTracking()).isFalse(); in handleTouch_qsTouchedWhileCollapsingDisablesTracking()
182 assertThat(mQsController.isTracking()).isTrue(); in handleTouch_qsTouchedWhileExpanding()
DShadeControllerImplTest.kt153 whenever(npvc.isTracking).thenReturn(true) in cancelExpansionAndCollapseShade_callsCancelCurrentTouch()
165 whenever(npvc.isTracking).thenReturn(false) in cancelExpansionAndCollapseShade_doesNotCallAnimateCollapseShade_whenCollapsed()
DNotificationPanelViewControllerTest.java367 assertThat(mNotificationPanelViewController.isTracking()).isFalse(); in test_pulsing_onTouchEvent_noTracking()
402 assertThat(mNotificationPanelViewController.isTracking()).isTrue(); in test_onTouchEvent_startTracking()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/domain/interactor/
DPanelExpansionInteractor.kt71 @Deprecated("Use sceneInteractor.isTransitionUserInputOngoing instead") val isTracking: Boolean constant
DPanelExpansionInteractorImpl.kt112 override val isTracking in <lambda>() constant in com.android.systemui.shade.domain.interactor.PanelExpansionInteractorImpl
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarHeadsUpChangeListener.java89 || mPanelExpansionInteractor.isTracking() in onHeadsUpPinnedModeChanged()
DStatusBarNotificationPresenter.java199 && !mPanelExpansionInteractor.isTracking() in maybeClosePanelForShadeEmptied()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeViewControllerEmptyImpl.kt45 override val isTracking: Boolean = false in canBeCollapsed() constant in com.android.systemui.shade.ShadeViewControllerEmptyImpl
DNotificationPanelViewController.java1016 mDepthController.setBlursDisabledForUnlock(isTracking()); in unlockAnimationStarted()
1022 if (isTracking() || mIsFlinging) { in unlockAnimationStarted()
2661 mExpandedFraction, isExpanded(), isTracking(), mExpansionDragDownAmountPx); in onHeightUpdated()
2664 mExpandedFraction, isExpanded(), isTracking(), mExpansionDragDownAmountPx); in onHeightUpdated()
2868 if (isTracking()) { in expand()
2983 || !isTracking()); in shouldUseDismissingAnimation()
3145 if (isTracking()) { in updateExpandedHeight()
3236 if (isTracking()) {
3480 mBlockingExpansionForCurrentTouch = isTracking();
3495 ipw.print("isTracking()="); ipw.println(isTracking());
[all …]
DShadeControllerImpl.java244 if (getNpvc().isTracking()) { in cancelExpansionAndCollapseShade()
DQuickSettingsControllerImpl.java595 boolean isTracking() { in isTracking() method in QuickSettingsControllerImpl
609 && !isTracking() && !isExpansionAnimating() in isGoingBetweenClosedShadeAndExpandedQs()
1641 if (!isExpandImmediate() && isTracking()) { in handleTouch()
1824 if (isTracking()) { in onIntercept()
2093 ipw.println(isTracking()); in dump()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java113 if (ds != null && ds.isTracking(event)) { in onKey()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/haptics/slider/
DSliderStateTrackerTest.kt58 assertThat(mSliderStateTracker.isTracking).isTrue() in initializeSliderTracker_startsTracking()
75 assertThat(mSliderStateTracker.isTracking).isFalse() in <lambda>()
236 assertThat(mSliderStateTracker.isTracking).isFalse() in <lambda>()
/frameworks/base/core/java/android/view/
DKeyEvent.java2724 public final boolean isTracking() { in isTracking() method in KeyEvent
3034 } else if (isLongPress() && state.isTracking(this)) { in dispatch()
3131 public boolean isTracking(KeyEvent event) { in isTracking() method in KeyEvent.DispatcherState
/frameworks/base/core/java/android/widget/
DZoomButtonsController.java492 && event.isTracking() && !event.isCanceled()) { in onContainerKey()
DListPopupWindow.java1090 if (event.isTracking() && !event.isCanceled()) { in onKeyPreIme()
DAutoCompleteTextView.java821 if (event.isTracking() && !event.isCanceled()) { in onKeyPreIme()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DLocaleTracker.java605 public boolean isTracking() { in isTracking() method in LocaleTracker
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java3174 private KeyEvent createBackKeyEvent(int action, boolean isTracking) {
3180 | (isTracking ? KeyEvent.FLAG_TRACKING : 0),
3748 if (event.isTracking() && !event.isCanceled()) {
3752 if (event.isTracking() && !event.isCanceled()) {
/frameworks/base/core/java/android/app/
DDialog.java716 if (event.isTracking() && !event.isCanceled()) { in onKeyUp()

12