Home
last modified time | relevance | path

Searched refs:taskWidth (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DLayoutUtils.java59 float taskWidth, taskHeight, paddingHorz; in calculateTaskSize() local
68 taskWidth = fullDp.availableWidthPx; in calculateTaskSize()
74 taskWidth = taskWidth / 2 - halfDividerSize; in calculateTaskSize()
80 taskWidth = dp.widthPx; in calculateTaskSize()
85 taskWidth = dp.availableWidthPx; in calculateTaskSize()
104 float scale = Math.min(availableWidth / taskWidth, availableHeight / taskHeight); in calculateTaskSize()
105 float outWidth = scale * taskWidth; in calculateTaskSize()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DClipAnimationHelper.java332 int taskWidth = fullDp.availableWidthPx; in updateStackBoundsToMultiWindowTaskSize() local
340 taskWidth = taskWidth / 2 - halfDividerSize; in updateStackBoundsToMultiWindowTaskSize()
347 : (insets.left + fullDp.availableWidthPx - taskWidth); in updateStackBoundsToMultiWindowTaskSize()
348 mSourceStackBounds.set(0, 0, taskWidth, taskHeight); in updateStackBoundsToMultiWindowTaskSize()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DWindowTransformSwipeHandler.java573 private float getTaskCurveScaleForOffsetX(float offsetX, float taskWidth) { in getTaskCurveScaleForOffsetX() argument
574 float distanceToReachEdge = mDp.widthPx / 2 + taskWidth / 2 + in getTaskCurveScaleForOffsetX()