Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DMotionPauseDetector.java144 boolean isPaused; in checkMotionPaused()
147 isPaused = speed < mSpeedFast || previousSpeed < mSpeedFast; in checkMotionPaused()
151 isPaused = false; in checkMotionPaused()
153 isPaused = speed < mSpeedVerySlow && previousSpeed < mSpeedVerySlow; in checkMotionPaused()
154 if (!isPaused && !mHasEverBeenPaused) { in checkMotionPaused()
159 isPaused = isRapidDeceleration && speed < mSpeedSomewhatFast; in checkMotionPaused()
166 isPaused = time - mSlowStartTime >= HARDER_TRIGGER_TIMEOUT; in checkMotionPaused()
169 isPaused = false; in checkMotionPaused()
174 updatePaused(isPaused); in checkMotionPaused()
177 private void updatePaused(boolean isPaused) {
[all …]
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DFlingAndHoldTouchController.java105 protected void onMotionPauseChanged(boolean isPaused) { in onMotionPauseChanged() argument
107 recentsView.setOverviewStateEnabled(isPaused); in onMotionPauseChanged()
111 LauncherState fromState = isPaused ? NORMAL : OVERVIEW_PEEK; in onMotionPauseChanged()
112 LauncherState toState = isPaused ? OVERVIEW_PEEK : NORMAL; in onMotionPauseChanged()
113 long peekDuration = isPaused ? PEEK_IN_ANIM_DURATION : PEEK_OUT_ANIM_DURATION; in onMotionPauseChanged()
129 mLauncher.getDragLayer().getScrim().createSysuiMultiplierAnim(isPaused ? 0 : 1) in onMotionPauseChanged()
196 if (mMotionPauseDetector.isPaused() && handlingOverviewAnim()) { in onDragEnd()
DNoButtonNavbarToOverviewTouchController.java156 protected void onMotionPauseChanged(boolean isPaused) { in onMotionPauseChanged() argument
193 if (mMotionPauseDetector.isPaused()) { in onDrag()
DNoButtonQuickSwitchTouchController.java188 public void onMotionPauseChanged(boolean isPaused) { in onMotionPauseChanged() argument
195 ShelfAnimState shelfState = isPaused ? PEEK : HIDE; in onMotionPauseChanged()
320 if (mMotionPauseDetector.isPaused() && noFling) { in onDragEnd()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DScreenPinnedInputConsumer.java45 mMotionPauseDetector.setOnMotionPauseListener(isPaused -> { in ScreenPinnedInputConsumer()
46 if (isPaused) { in ScreenPinnedInputConsumer()
DAccessibilityInputConsumer.java127 && 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.java99 if (timer.isPaused()) { in onClick()
129 if (clickedTimer.isPaused() || clickedTimer.isReset()) { in onClick()
DTimerItem.java110 if (!timer.isPaused() || !blinkOff || mTimerText.isPressed()) { in update()
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/
DInCallButtonUi.java36 void setVideoPaused(boolean isPaused); in setVideoPaused() argument
/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()
DNewVoicemailMediaPlayer.java230 public boolean isPaused() { in isPaused() method in NewVoicemailMediaPlayer
/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/videotech/empty/
DEmptyVideoTech.java53 public boolean isPaused() { in isPaused() method in EmptyVideoTech
/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()
DVideoCallFragment.java898 public void setVideoPaused(boolean isPaused) { in setVideoPaused() argument
899 LogUtil.i("VideoCallFragment.setVideoPaused", "isPaused: " + isPaused); in setVideoPaused()
900 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/DeskClock/src/com/android/deskclock/data/
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/Camera2/src/com/android/camera/app/
DAppController.java117 public boolean isPaused(); in isPaused() method
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.java546 final boolean blink = stopwatch.isPaused() in run()
559 final long period = stopwatch.isPaused() in run()
/packages/apps/Camera2/src/com/android/camera/
DCaptureModule.java652 if(!mAppController.isPaused()) { in reopenCamera()
1384 boolean isControllerPaused = mAppController.isPaused();
1410 if (mAppController.isPaused()) {
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DBaseSwipeUpHandlerV2.java452 public void onMotionPauseChanged(boolean isPaused) { in onMotionPauseChanged() argument
453 setShelfState(isPaused ? PEEK : HIDE, ShelfPeekAnim.INTERPOLATOR, ShelfPeekAnim.DURATION); in onMotionPauseChanged()
455 if (mDeviceState.isFullyGesturalNavMode() && isPaused) { in onMotionPauseChanged()
/packages/apps/Dialer/java/com/android/incallui/videotech/duo/
DDuoVideoTech.java109 public boolean isPaused() { in isPaused() method in DuoVideoTech

12