Home
last modified time | relevance | path

Searched refs:transX (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/folder/
DPreviewItemDrawingParams.java27 float transX; field in PreviewItemDrawingParams
35 PreviewItemDrawingParams(float transX, float transY, float scale) { in PreviewItemDrawingParams() argument
36 this.transX = transX; in PreviewItemDrawingParams()
41 public void update(float transX, float transY, float scale) { in update() argument
45 if (anim.finalState[1] == transX || anim.finalState[2] == transY in update()
52 this.transX = transX; in update()
DFolderPreviewItemAnim.java36 sTempParamsArray[1] = anim.mParams.transX;
74 finalState = new float[] {sTmpParams.scale, sTmpParams.transX, sTmpParams.transY}; in FolderPreviewItemAnim()
77 float[] startState = new float[] {sTmpParams.scale, sTmpParams.transX, sTmpParams.transY}; in FolderPreviewItemAnim()
95 mParams.transX = values[1]; in setParams()
DClippedFolderIconLayoutRule.java37 float transX; in computePreviewItemDrawingParams() local
55 transX = mTmpPoint[0]; in computePreviewItemDrawingParams()
59 params = new PreviewItemDrawingParams(transX, transY, totalScale); in computePreviewItemDrawingParams()
61 params.update(transX, transY, totalScale); in computePreviewItemDrawingParams()
DFolderIcon.java559 mTmpParams.transX += mBackground.basePreviewOffsetX; in getLocalCenterForIndex()
563 float offsetX = mTmpParams.transX + (mTmpParams.scale * intrinsicIconSize) / 2; in getLocalCenterForIndex()
DPreviewItemManager.java229 canvas.translate(offset.x + params.transX, offset.y + params.transY);
DFolderAnimationManager.java389 (int) ((mTmpParams.transX - iconOffsetX + previewItemOffsetX) / folderScale); in addPreviewItemAnimators()
/packages/apps/Camera2/src/com/android/camera/ui/
DModeSelectorItem.java199 float transX = 0f; in draw() local
202 transX = mMinVisibleWidth + mIcon.getLeft() - mVisibleWidth; in draw()
205 canvas.translate(-transX, 0); in draw()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java284 public void setTranslationX(float transX) { in setTranslationX() argument
285 mView.setTranslationX(transX * mFilmstrip.mScale); in setTranslationX()
391 public void translateXScaledBy(float transX) { in translateXScaledBy() argument
392 setTranslationX(getTranslationX() + transX * mFilmstrip.mScale); in translateXScaledBy()
545 float transX = mView.getTranslationX(); in postScale() local
549 transX -= (focusX - getX()) * (postScale - 1f); in postScale()
553 updateTransform(transX, transY, scaleX, scaleY, viewportWidth, in postScale()
557 void updateTransform(float transX, float transY, float scaleX, float scaleY, in updateTransform() argument
559 float left = transX + mView.getLeft(); in updateTransform()
567 transX = r.left - mView.getLeft(); in updateTransform()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationMainView.java230 public void setContentTranslationX(float transX) { in setContentTranslationX() argument
231 mHeader.setTranslationX(transX); in setContentTranslationX()
232 mMainView.setTranslationX(transX); in setContentTranslationX()
DNotificationContainer.java54 public void setValue(NotificationContainer view, float transX) {
55 view.setDragTranslationX(transX);
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java479 float transX = getMeasuredWidth() * progress; in onOverlayScrollChanged() local
482 transX = -transX; in onOverlayScrollChanged()
484 setTranslationX(transX); in onOverlayScrollChanged()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/
DBubbleBarBackground.kt121 val transX = arrowPositionX - pointerSize / 2f in draw() constant
122 canvas.translate(transX, -pointerSize) in draw()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarViewController.java399 float[] transX = isStashed in addRevealAnimToIsStashed() local
410 MULTI_PROPERTY_VALUE, transX) in addRevealAnimToIsStashed()
417 reveal.play(ObjectAnimator.ofFloat(child, VIEW_TRANSLATE_X, transX) in addRevealAnimToIsStashed()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java614 int transX = i * mCellWidth + (i * mBorderSpace.x) + getPaddingLeft() in visualizeGrid() local
619 mVisualizeGridRect.offsetTo(transX, transY); in visualizeGrid()
643 int transX = x * mCellWidth + (x * mBorderSpace.x) in visualizeGrid() local
648 mVisualizeGridRect.offsetTo(transX, transY); in visualizeGrid()