/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewItemDrawingParams.java | 24 float transX; field in PreviewItemDrawingParams 32 PreviewItemDrawingParams(float transX, float transY, float scale, float overlayAlpha) { in PreviewItemDrawingParams() argument 33 this.transX = transX; in PreviewItemDrawingParams() 39 public void update(float transX, float transY, float scale) { in update() argument 43 if (anim.finalState[1] == transX || anim.finalState[2] == transY in update() 50 this.transX = transX; in update()
|
D | FolderPreviewItemAnim.java | 36 sTempParamsArray[1] = anim.mParams.transX; 72 finalState = new float[] {sTmpParams.scale, sTmpParams.transX, sTmpParams.transY}; in FolderPreviewItemAnim() 75 float[] startState = new float[] {sTmpParams.scale, sTmpParams.transX, sTmpParams.transY}; in FolderPreviewItemAnim() 93 mParams.transX = values[1]; in setParams()
|
D | ClippedFolderIconLayoutRule.java | 35 float transX; in computePreviewItemDrawingParams() local 54 transX = mTmpPoint[0]; in computePreviewItemDrawingParams() 58 params = new PreviewItemDrawingParams(transX, transY, totalScale, overlayAlpha); in computePreviewItemDrawingParams() 60 params.update(transX, transY, totalScale); in computePreviewItemDrawingParams()
|
D | PreviewItemManager.java | 140 float transX) { in drawParams() argument 141 canvas.translate(transX, 0); in drawParams() 149 canvas.translate(-transX, 0); in drawParams() 174 canvas.translate(params.transX, params.transY); in drawPreviewItem()
|
D | FolderIcon.java | 454 mTmpParams.transX += mBackground.basePreviewOffsetX; 458 float offsetX = mTmpParams.transX + (mTmpParams.scale * intrinsicIconSize) / 2;
|
D | FolderAnimationManager.java | 271 (int) ((mTmpParams.transX - iconOffsetX + previewItemOffsetX) / folderScale); in addPreviewItemAnimators()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ModeSelectorItem.java | 199 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/ |
D | FilmstripView.java | 284 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/views/ |
D | FloatingIconView.java | 121 public void setValue(FloatingIconView view, float transX) { 122 view.mFgTransX = transX;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Workspace.java | 1085 float transX = mLauncher.getDragLayer().getMeasuredWidth() * scroll; in onOverlayScrollChanged() local 1088 transX = -transX; in onOverlayScrollChanged() 1090 mOverlayTranslation = transX; in onOverlayScrollChanged() 1095 mLauncher.getDragLayer().setTranslationX(transX); in onOverlayScrollChanged()
|