Home
last modified time | relevance | path

Searched refs:isPaused (Results 1 – 25 of 48) sorted by relevance

12

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DMotionPauseDetector.java131 boolean isPaused; in checkMotionPaused()
134 isPaused = speed < mSpeedFast || previousSpeed < mSpeedFast; in checkMotionPaused()
138 isPaused = false; in checkMotionPaused()
140 isPaused = speed < mSpeedVerySlow && previousSpeed < mSpeedVerySlow; in checkMotionPaused()
141 if (!isPaused && !mHasEverBeenPaused) { in checkMotionPaused()
146 isPaused = isRapidDeceleration && speed < mSpeedSomewhatFast; in checkMotionPaused()
153 isPaused = time - mSlowStartTime >= HARDER_TRIGGER_TIMEOUT; in checkMotionPaused()
156 isPaused = false; in checkMotionPaused()
161 updatePaused(isPaused); in checkMotionPaused()
164 private void updatePaused(boolean isPaused) {
[all …]
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DFlingAndHoldTouchController.java88 mMotionPauseDetector.setOnMotionPauseListener(isPaused -> { in onDragStart()
90 recentsView.setOverviewStateEnabled(isPaused); in onDragStart()
94 LauncherState fromState = isPaused ? NORMAL : OVERVIEW_PEEK; in onDragStart()
95 LauncherState toState = isPaused ? OVERVIEW_PEEK : NORMAL; in onDragStart()
96 long peekDuration = isPaused ? PEEK_IN_ANIM_DURATION : PEEK_OUT_ANIM_DURATION; in onDragStart()
108 mLauncher.getDragLayer().getScrim().animateToSysuiMultiplier(isPaused ? 0 : 1, in onDragStart()
173 if (mMotionPauseDetector.isPaused() && handlingOverviewAnim()) { in onDragEnd()
DNoButtonQuickSwitchTouchController.java184 public void onMotionPauseChanged(boolean isPaused) { in onMotionPauseChanged() argument
185 ShelfAnimState shelfState = isPaused ? PEEK : HIDE; in onMotionPauseChanged()
328 if (mMotionPauseDetector.isPaused() && noFling) { in onDragEnd()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DScreenPinnedInputConsumer.java47 mMotionPauseDetector.setOnMotionPauseListener(isPaused -> { in ScreenPinnedInputConsumer()
48 if (isPaused) { in ScreenPinnedInputConsumer()
DFallbackNoButtonInputConsumer.java213 public void onMotionPauseChanged(boolean isPaused) { in onMotionPauseChanged() argument
215 mIsMotionPaused = isPaused; in onMotionPauseChanged()
216 mLauncherAlpha.animateToValue(mLauncherAlpha.value, isPaused ? 0 : 1) in onMotionPauseChanged()
DAccessibilityInputConsumer.java133 if (mAllowLongClick && mMotionPauseDetector.isPaused()) { in onMotionEvent()
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
DNativeNfcTag.java80 private boolean isPaused = false; field in NativeNfcTag.PresenceCheckWatchdog
90 isPaused = true; in pause()
96 isPaused = false; in doResume()
118 if (!isPaused) { in run()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerItemFragment.kt80 if (timer.isPaused) { in onClick()
108 if (clickedTimer.isPaused || clickedTimer.isReset) { in onClick()
DTimerItemFragment.java99 if (timer.isPaused()) { in onClick()
129 if (clickedTimer.isPaused() || clickedTimer.isReset()) { in onClick()
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DSpringObjectAnimator.java211 public boolean isPaused() { in isPaused() method in SpringObjectAnimator
212 return mObjectAnimator.isPaused(); in isPaused()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailAdapter.java523 if (mediaPlayer.isPaused() in expandViewHolderFirstTimeAndCollapseAllOtherVisibleViewHolders()
800 if (mediaPlayer.isPaused()) { in recursivelyUpdateMediaPlayerViewOfExpandedViewHolder()
877 mediaPlayer.isPaused(), in recursivelyUpdateMediaPlayerViewOfExpandedViewHolder()
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/
DInCallButtonUi.java36 void setVideoPaused(boolean isPaused); in setVideoPaused() argument
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimerModel.kt345 if (timer.isRunning || timer.isPaused) { in resetUnexpiredTimers()
695 if (timer.isRunning || timer.isPaused) { in updateNotification()
DStopwatch.kt44 val isPaused: Boolean constant in com.android.deskclock.data.Stopwatch
DStopwatch.java60 public boolean isPaused() { return mState == PAUSED; } in isPaused() method in Stopwatch
DTimerModel.java386 if (timer.isRunning() || timer.isPaused()) { in resetUnexpiredTimers()
738 if (timer.isRunning() || timer.isPaused()) { in updateNotification()
/packages/apps/Dialer/java/com/android/incallui/
DVideoCallPresenter.java168 boolean isPaused = VideoProfile.isPaused(videoState); in showIncomingVideo()
174 return !isPaused in showIncomingVideo()
/packages/apps/Dialer/java/com/android/incallui/videotech/
DVideoTech.java49 boolean isPaused(); in isPaused() method
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DSurfaceViewVideoCallFragment.java786 public void setVideoPaused(boolean isPaused) { in setVideoPaused() argument
787 LogUtil.i("SurfaceViewVideoCallFragment.setVideoPaused", "isPaused: " + isPaused); in setVideoPaused()
788 cameraOffButton.setChecked(isPaused); in setVideoPaused()
/packages/apps/TV/src/com/android/tv/ui/
DTvOverlayManager.java439 if (mMainActivity.getTimeShiftManager().isPaused()) { in showMenuWithTimeShiftPauseIfNeeded()
911 menuAboutToShow = mMainActivity.getTimeShiftManager().isPaused(); in onOverlayClosed()
1099 if (timeShiftManager.isPaused()) { in onKeyUp()
/packages/apps/Dialer/java/com/android/incallui/videotech/empty/
DEmptyVideoTech.java53 public boolean isPaused() { in isPaused() method in EmptyVideoTech
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.kt521 val blink = (stopwatch.isPaused && startTime % 1000 < 500 && !touchTarget.isPressed()) in <lambda>()
532 val period = (if (stopwatch.isPaused) { in <lambda>()
DStopwatchFragment.java546 final boolean blink = stopwatch.isPaused() in run()
559 final long period = stopwatch.isPaused() in run()
/packages/apps/Camera2/src/com/android/camera/app/
DAppController.java117 public boolean isPaused(); in isPaused() method
/packages/apps/Camera2/src/com/android/camera/
DCaptureModule.java652 if(!mAppController.isPaused()) { in reopenCamera()
1384 boolean isControllerPaused = mAppController.isPaused();
1410 if (mAppController.isPaused()) {

12