/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | SecondLevelIndicatorControlBar.java | 182 int offsetX = padding; in onLayout() local 185 getChildAt(i).layout(offsetX, 0, offsetX + iconWidth, height); in onLayout() 186 offsetX += increment; in onLayout() 190 offsetX = width - iconWidth - 2 * padding; in onLayout() 191 mDivider.layout(offsetX, padding, (offsetX + mDivider.getMeasuredWidth()), in onLayout() 194 offsetX = width - iconWidth - padding; in onLayout() 196 mCloseIcon.layout(offsetX, 0, (offsetX + iconWidth), height); in onLayout()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | IconShape.java | 98 public abstract void drawShape(Canvas canvas, float offsetX, float offsetY, float radius, in drawShape() argument 101 public abstract void addToPath(Path path, float offsetX, float offsetY, float radius); in addToPath() argument 139 public final void drawShape(Canvas canvas, float offsetX, float offsetY, float radius, 142 addToPath(mTmpPath, offsetX, offsetY, radius); 188 public void drawShape(Canvas canvas, float offsetX, float offsetY, float radius, Paint p) { 189 canvas.drawCircle(radius + offsetX, radius + offsetY, radius, p); 193 public void addToPath(Path path, float offsetX, float offsetY, float radius) { 194 path.addCircle(radius + offsetX, radius + offsetY, radius, Path.Direction.CW); 220 public void drawShape(Canvas canvas, float offsetX, float offsetY, float radius, Paint p) { 221 float cx = radius + offsetX; [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | TiledTexture.java | 113 public int offsetX; field in TiledTexture.Tile 138 int x = BORDER_SIZE - offsetX; in onGetBitmap() 210 tile.offsetX = x; in TiledTexture() 286 src.offset(t.offsetX, t.offsetY); in drawMixed() 288 src.offset(BORDER_SIZE - t.offsetX, BORDER_SIZE - t.offsetY); in drawMixed() 305 src.offset(t.offsetX, t.offsetY); in draw() 307 src.offset(BORDER_SIZE - t.offsetX, BORDER_SIZE - t.offsetY); in draw() 328 src.offset(t.offsetX, t.offsetY); in draw() 331 src.offset(BORDER_SIZE - t.offsetX, BORDER_SIZE - t.offsetY); in draw()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | ImageToPdfTask.java | 125 float offsetX = (extent.width() - mBitmap.getWidth() * scale) / 2; in drawDirect() local 133 matrix.postTranslate(offsetX, offsetY); in drawDirect() 144 float offsetX = ((targetWidth / scale) - mBitmap.getWidth()) / 2; in drawOptimized() local 156 bitmapCanvas.drawBitmap(mBitmap, offsetX, offsetY, new Paint(Paint.FILTER_BITMAP_FLAG)); in drawOptimized()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | LauncherRecentsView.java | 239 int offsetX = (int) (mTaskWidth * taskView.getScaleX() * getScaleX() in redrawLiveTile() local 243 if (((mCurrentPage != 0) || mightNeedToRefill) && offsetX > 0) { in redrawLiveTile() 244 if (mTempRect.left - offsetX < 0) { in redrawLiveTile() 245 mTempRect.left -= offsetX; in redrawLiveTile() 247 mTempRect.right += offsetX; in redrawLiveTile()
|
D | RecentsView.java | 1769 int offsetX = startScroll - getScrollX(); in getScrollOffset() local 1770 offsetX *= getScaleX(); in getScrollOffset() 1771 return offsetX; in getScrollOffset()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/ |
D | ClipAnimationHelper.java | 171 currentRect.offset(params.offsetX, 0); in applyTransform() 380 public float offsetX; field in ClipAnimationHelper.TransformParams 391 offsetX = 0; in TransformParams() 420 public TransformParams setOffsetX(float offsetX) { in setOffsetX() argument 421 this.offsetX = offsetX; in setOffsetX()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewBackground.java | 230 int offsetX = getOffsetX(); in drawShadow() local 234 saveCount = canvas.saveLayer(offsetX - mStrokeWidth, offsetY, in drawShadow() 235 offsetX + radius + shadowRadius, offsetY + shadowRadius + shadowRadius, null); in drawShadow() 243 mShaderMatrix.postTranslate(radius + offsetX, shadowRadius + offsetY); in drawShadow() 252 getShape().drawShape(canvas, offsetX, offsetY, radius, mPaint); in drawShadow()
|
D | FolderIcon.java | 476 float offsetX = mTmpParams.transX + (mTmpParams.scale * intrinsicIconSize) / 2; in getLocalCenterForIndex() local 479 center[0] = Math.round(offsetX); in getLocalCenterForIndex()
|
/packages/apps/Dialer/java/com/android/dialer/widget/ |
D | FloatingActionButtonController.java | 128 private void align(int align, int offsetX, int offsetY, boolean animate) { in align() argument 138 .translationX(translationX + offsetX) in align() 144 fab.setTranslationX(translationX + offsetX); in align()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | FloatingActionButtonController.java | 127 public void align(int align, int offsetX, int offsetY, boolean animate) { in align() argument 137 .translationX(translationX + offsetX) in align() 143 mFloatingActionButtonContainer.setTranslationX(translationX + offsetX); in align()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | BaseSwipeUpHandler.java | 348 float offsetX = mRecentsView == null ? 0 : mRecentsView.getScrollOffset(); in applyTransformUnchecked() local 349 float offsetScale = getTaskCurveScaleForOffsetX(offsetX, in applyTransformUnchecked() 351 mTransformParams.setProgress(shift).setOffsetX(offsetX).setOffsetScale(offsetScale); in applyTransformUnchecked() 356 private float getTaskCurveScaleForOffsetX(float offsetX, float taskWidth) { in getTaskCurveScaleForOffsetX() argument 358 float interpolation = Math.min(1, offsetX / distanceToReachEdge); in getTaskCurveScaleForOffsetX()
|
D | WindowTransformSwipeHandler.java | 434 private float getTaskCurveScaleForOffsetX(float offsetX, float taskWidth) { in getTaskCurveScaleForOffsetX() argument 437 float interpolation = Math.min(1, offsetX / distanceToReachEdge); in getTaskCurveScaleForOffsetX()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | BitmapTileProvider.java | 87 int offsetX = -x; in getTile() local 89 canvas.drawBitmap(mipmap, offsetX, offsetY, null); in getTile()
|
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/ |
D | DotRenderer.java | 113 float offsetX = params.leftAlign in draw() local 119 canvas.translate(dotCenterX + offsetX, dotCenterY + offsetY); in draw()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DragHoverListener.java | 179 final float offsetX = isScrollView ? 0 : v.getX(); in transformToScrollViewCoordinate() local 181 return new Point(Math.round(offsetX + x), Math.round(offsetY + y)); in transformToScrollViewCoordinate()
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | FilmstripView.java | 1353 final int offsetX = removedItem.getMeasuredWidth() + mViewGapInPixel; in animateItemRemoval() local 1357 mViewItems[i].setLeftPosition(mViewItems[i].getLeftPosition() - offsetX); in animateItemRemoval() 1389 mViewItems[i].setTranslationX(offsetX); in animateItemRemoval() 1413 mCenterX -= offsetX; in animateItemRemoval() 1430 mViewItems[i].setTranslationX(-offsetX); in animateItemRemoval() 1509 final int offsetX = dim.x + mViewGapInPixel; in updateInsertion() local 1525 mViewItems[i].setTranslationX(-offsetX); in updateInsertion() 1539 mViewItems[i].setTranslationX(offsetX); in updateInsertion()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Utilities.java | 246 public static void offsetPoints(float[] points, float offsetX, float offsetY) { in offsetPoints() argument 248 points[i] += offsetX; in offsetPoints()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | GalleryPicker.java | 622 int heightPadding, int offsetX, int offsetY, in placeImage() argument 627 int xPos = (col * (imageWidth + widthPadding)) - offsetX; in placeImage()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | QuickstepAppTransitionManagerImpl.java | 550 float offsetX = (scaledWindowWidth - iconWidth) / 2; in getOpeningWindowAnimators() 558 float transX0 = temp.left - offsetX; in getOpeningWindowAnimators()
|