Home
last modified time | relevance | path

Searched refs:targetSet (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DRecentsAnimationWrapper.java49 public SwipeAnimationTargetSet targetSet; field in RecentsAnimationWrapper
68 return targetSet != null && targetSet.hasTargets(); in hasTargets()
72 public synchronized void setController(SwipeAnimationTargetSet targetSet) { in setController() argument
74 this.targetSet = targetSet; in setController()
76 if (targetSet == null) { in setController()
79 targetSet.setWindowThresholdCrossed(mWindowThresholdCrossed); in setController()
90 if (targetSet == null) { in runOnInit()
130 SwipeAnimationTargetSet controller = targetSet; in finishAndClear()
131 targetSet = null; in finishAndClear()
139 if (targetSet != null) { in enableInputConsumer()
[all …]
DBaseSwipeUpHandler.java195 mRecentsAnimationWrapper.targetSet.addDependentTransactionApplier(applier)); in linkRecentsViewScroll()
241 public void onRecentsAnimationStart(SwipeAnimationTargetSet targetSet) { in onRecentsAnimationStart() argument
244 RemoteAnimationTargetCompat runningTaskTarget = targetSet.findTask(mRunningTaskId); in onRecentsAnimationStart()
246 if (targetSet.minimizedHomeBounds != null && runningTaskTarget != null) { in onRecentsAnimationStart()
248 .getOverviewWindowBounds(targetSet.minimizedHomeBounds, runningTaskTarget); in onRecentsAnimationStart()
256 dp.updateInsets(targetSet.homeContentInsets); in onRecentsAnimationStart()
265 mRecentsAnimationWrapper.setController(targetSet); in onRecentsAnimationStart()
352 mClipAnimationHelper.applyTransform(mRecentsAnimationWrapper.targetSet, in applyTransformUnchecked()
369 final RemoteAnimationTargetSet targetSet = mRecentsAnimationWrapper.targetSet; in createWindowAnimationToHome() local
370 final RectF startRect = new RectF(mClipAnimationHelper.applyTransform(targetSet, in createWindowAnimationToHome()
[all …]
DTaskViewUtils.java120 final RemoteAnimationTargetSet targetSet = in getRecentsWindowAnimator() local
122 targetSet.addDependentTransactionApplier(applier); in getRecentsWindowAnimator()
143 targetSet.apps.length == 0 ? null : targetSet.apps[0]); in getRecentsWindowAnimator()
154 RectF taskBounds = inOutHelper.applyTransform(targetSet, params); in getRecentsWindowAnimator()
171 targetSet.release(); in getRecentsWindowAnimator()
DSwipeSharedState.java55 public final void onRecentsAnimationStart(SwipeAnimationTargetSet targetSet) { in onRecentsAnimationStart() argument
56 mLastAnimationTarget = targetSet; in onRecentsAnimationStart()
95 private void onSwipeAnimationFinished(SwipeAnimationTargetSet targetSet) { in onSwipeAnimationFinished() argument
96 if (mLastAnimationTarget == targetSet) { in onSwipeAnimationFinished()
DAppToOverviewAnimationProvider.java117 RemoteAnimationTargetSet targetSet = in createWindowAnimation() local
121 RemoteAnimationTargetCompat runningTaskTarget = targetSet.findTask(mTargetTaskId); in createWindowAnimation()
151 clipHelper.applyTransform(targetSet, params); in createWindowAnimation()
154 if (targetSet.isAnimatingHome()) { in createWindowAnimation()
DWindowTransformSwipeHandler.java418 mAnimationFactory.onRemoteAnimationReceived(mRecentsAnimationWrapper.targetSet); in sendRemoteAnimationsToAnimationFactory()
461 RemoteAnimationTargetCompat runningTaskTarget = mRecentsAnimationWrapper.targetSet == null in maybeUpdateRecentsAttachedState()
463 : mRecentsAnimationWrapper.targetSet.findTask(mRunningTaskId); in maybeUpdateRecentsAttachedState()
602 public void onRecentsAnimationStart(SwipeAnimationTargetSet targetSet) { in onRecentsAnimationStart() argument
603 super.onRecentsAnimationStart(targetSet); in onRecentsAnimationStart()
604 TOUCH_INTERACTION_LOG.addLog("startRecentsAnimationCallback", targetSet.apps.length); in onRecentsAnimationStart()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumSetPage.java194 MediaSet targetSet = mAlbumSetDataAdapter.getMediaSet(slotIndex); in onSingleTapUp() local
195 if (targetSet == null) return; // Content is dirty, we shall reload soon in onSingleTapUp()
196 mSelectionManager.toggle(targetSet.getPath()); in onSingleTapUp()
240 MediaSet targetSet = mAlbumSetDataAdapter.getMediaSet(slotIndex); in pickAlbum()
241 if (targetSet == null) return; // Content is dirty, we shall reload soon in pickAlbum()
242 if (targetSet.getTotalMediaItemCount() == 0) { in pickAlbum()
248 String mediaPath = targetSet.getPath().toString(); in pickAlbum()
254 if (mGetAlbum && targetSet.isLeafAlbum()) { in pickAlbum()
257 .putExtra(AlbumPicker.KEY_ALBUM_PATH, targetSet.getPath().toString()); in pickAlbum()
260 } else if (targetSet.getSubMediaSetCount() > 0) { in pickAlbum()
[all …]
DManageCachePage.java158 MediaSet targetSet = mAlbumSetDataAdapter.getMediaSet(slotIndex); in onSingleTapUp() local
159 if (targetSet == null) return; // Content is dirty, we shall reload soon in onSingleTapUp()
163 if ((targetSet.getSupportedOperations() in onSingleTapUp()
169 Path path = targetSet.getPath(); in onSingleTapUp()
171 (targetSet.getCacheFlag() == MediaObject.CACHE_FLAG_FULL); in onSingleTapUp()
184 long sizeOfTarget = targetSet.getCacheSize(); in onSingleTapUp()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DClipAnimationHelper.java159 public RectF applyTransform(RemoteAnimationTargetSet targetSet, TransformParams params) { in applyTransform() argument
160 return applyTransform(targetSet, params, true /* launcherOnTop */); in applyTransform()
163 public RectF applyTransform(RemoteAnimationTargetSet targetSet, TransformParams params, in applyTransform() argument
186 SurfaceParams[] surfaceParams = new SurfaceParams[targetSet.unfilteredApps.length]; in applyTransform()
187 for (int i = 0; i < targetSet.unfilteredApps.length; i++) { in applyTransform()
188 RemoteAnimationTargetCompat app = targetSet.unfilteredApps[i]; in applyTransform()
197 if (app.mode == targetSet.targetMode) { in applyTransform()
220 } else if (targetSet.hasRecents) { in applyTransform()
DRecentsAnimationListenerSet.java78 SwipeAnimationTargetSet targetSet = new SwipeAnimationTargetSet(controller, targets, in onAnimationStart() local
83 targetSet.cancelAnimation(); in onAnimationStart()
87 listener.onRecentsAnimationStart(targetSet); in onAnimationStart()
DSwipeAnimationTargetSet.java115 void onRecentsAnimationStart(SwipeAnimationTargetSet targetSet); in onRecentsAnimationStart() argument
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DFallbackNoButtonInputConsumer.java160 if (mRecentsAnimationWrapper.targetSet != null && mEndTarget == null) { in onLauncherAlphaChanged()
236 if (mRecentsAnimationWrapper.targetSet != null) { in updateFinalShift()
337 … mRecentsAnimationWrapper.targetSet.controller.screenshotTask(mRunningTaskId); in finishAnimationTargetSetAnimationComplete()
351 mRecentsAnimationWrapper.targetSet.controller.cleanupScreenshot(); in finishAnimationTargetSetAnimationComplete()
417 public void onRecentsAnimationStart(SwipeAnimationTargetSet targetSet) { in onRecentsAnimationStart() argument
418 super.onRecentsAnimationStart(targetSet); in onRecentsAnimationStart()
DDeviceLockedInputConsumer.java219 public void onRecentsAnimationStart(SwipeAnimationTargetSet targetSet) { in onRecentsAnimationStart() argument
220 mTargetSet = targetSet; in onRecentsAnimationStart()
223 RemoteAnimationTargetCompat targetCompat = targetSet.findTask(mRunningTaskId); in onRecentsAnimationStart()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DLauncherRecentsView.java194 if (mRecentsAnimationWrapper.targetSet != null && tv.isRunningTask()) { in onTaskLaunchAnimationUpdate()
198 mClipAnimationHelper.applyTransform(mRecentsAnimationWrapper.targetSet, in onTaskLaunchAnimationUpdate()
257 if (mRecentsAnimationWrapper.targetSet != null) { in redrawLiveTile()
258 mClipAnimationHelper.applyTransform(mRecentsAnimationWrapper.targetSet, in redrawLiveTile()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DAppToOverviewAnimationProvider.java115 RemoteAnimationTargetSet targetSet = in createWindowAnimation() local
117 mRecentsView.setTransitionedFromApp(!targetSet.isAnimatingHome()); in createWindowAnimation()