/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) { 222 float cy = radius + offsetY; [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | TiledTexture.java | 114 public int offsetY; field in TiledTexture.Tile 139 int y = BORDER_SIZE - offsetY; in onGetBitmap() 211 tile.offsetY = y; 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/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | TaskConvertImageToRGBPreview.java | 294 int offsetY = calculateMemoryOffsetFromPixelOffsets(inscribedXMin, j, subsample, in colorInscribedDataCircleFromYuvImage() local 319 for (int i = inscribedXMin; i < inscribedXMax; i += 2, offsetY += 2 * yPixelStride, in colorInscribedDataCircleFromYuvImage() 349 int y00 = (int) (buf0.get(offsetY) & 255); in colorInscribedDataCircleFromYuvImage() 385 int y01 = (int) (buf0.get(offsetY + yPixelStride) & 255); in colorInscribedDataCircleFromYuvImage() 418 int y10 = (int) (buf0.get(offsetY + yByteStride) & 255); in colorInscribedDataCircleFromYuvImage() 452 int y11 = (int) (buf0.get(offsetY + yByteStride + yPixelStride) & 255); in colorInscribedDataCircleFromYuvImage() 617 int offsetY = calculateMemoryOffsetFromPixelOffsets(inscribedXMin, j, subsample, in colorSubSampleFromYuvImage() local 630 for (int i = inscribedXMin; i < inscribedXMax; i += 2, offsetY += 2 * yPixelStride, in colorSubSampleFromYuvImage() 649 int y00 = (int) (bufY.get(offsetY) & 255); in colorSubSampleFromYuvImage() 680 int y01 = (int) (bufY.get(offsetY + yPixelStride) & 255); in colorSubSampleFromYuvImage() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewBackground.java | 231 int offsetY = getOffsetY(); 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 | 459 float offsetY = mTmpParams.transY + (mTmpParams.scale * intrinsicIconSize) / 2; 462 center[1] = Math.round(offsetY);
|
/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 139 .translationY(offsetY) in align() 145 fab.setTranslationY(offsetY); 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 138 .translationY(offsetY) in align() 144 mFloatingActionButtonContainer.setTranslationY(offsetY); in align()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | LauncherRecentsView.java | 197 int offsetY = (int) (mTaskHeight * taskView.getScaleY() * getScaleY() in redrawLiveTile() local 206 if (mightNeedToRefill && offsetY > 0) { in redrawLiveTile() 207 mTempRect.top -= offsetY; in redrawLiveTile()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | BitmapTileProvider.java | 88 int offsetY = -y; in getTile() local 89 canvas.drawBitmap(mipmap, offsetX, offsetY, null); in getTile()
|
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/ |
D | DotRenderer.java | 116 float offsetY = Math.max(0, canvasBounds.top - (dotCenterY + mBitmapOffset)); in draw() local 119 canvas.translate(dotCenterX + offsetX, dotCenterY + offsetY); in draw()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DragHoverListener.java | 180 final float offsetY = isScrollView ? 0 : v.getY(); in transformToScrollViewCoordinate() local 181 return new Point(Math.round(offsetX + x), Math.round(offsetY + y)); in transformToScrollViewCoordinate()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | GalleryPicker.java | 622 int heightPadding, int offsetX, int offsetY, in placeImage() argument 628 int yPos = (row * (imageHeight + heightPadding)) - offsetY; in placeImage()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationContainer.java | 995 final int offsetY = mOffsetY; in removeViewAtAdapterIndex() local 1017 mOffsetY = offsetY; in removeViewAtAdapterIndex()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | QuickstepAppTransitionManagerImpl.java | 542 float offsetY = (scaledWindowHeight - iconHeight) / 2; in getOpeningWindowAnimators() 550 float transY0 = temp.top - offsetY; in getOpeningWindowAnimators()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Utilities.java | 283 public static void offsetPoints(float[] points, float offsetX, float offsetY) { in offsetPoints() argument 286 points[i + 1] += offsetY; in offsetPoints()
|