/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 | 133 void drawShape(Canvas canvas, float offsetX, float offsetY, float radius, Paint paint); in drawShape() argument 135 void addToPath(Path path, float offsetX, float offsetY, float radius); in addToPath() argument 169 public final void drawShape(Canvas canvas, float offsetX, float offsetY, float radius, 172 addToPath(mTmpPath, offsetX, offsetY, radius); 248 public void addToPath(Path path, float offsetX, float offsetY, float radius) { 249 path.addCircle(radius + offsetX, radius + offsetY, radius, Path.Direction.CW); 274 public void drawShape(Canvas canvas, float offsetX, float offsetY, float radius, Paint p) { 275 float cx = radius + offsetX; 282 public void addToPath(Path path, float offsetX, float offsetY, float radius) { 283 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/apps/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewBackground.java | 279 int offsetX = getOffsetX(); in drawShadow() local 283 saveCount = canvas.saveLayer(offsetX - mStrokeWidth, offsetY, in drawShadow() 284 offsetX + radius + shadowRadius, offsetY + shadowRadius + shadowRadius, null); in drawShadow() 292 mShaderMatrix.postTranslate(radius + offsetX, shadowRadius + offsetY); in drawShadow() 301 getShape().drawShape(canvas, offsetX, offsetY, radius, mPaint); in drawShadow() 379 float offsetX = basePreviewOffsetX - radiusDifference; in getClipPath() local 381 getShape().addToPath(mPath, offsetX, offsetY, radius); in getClipPath()
|
D | FolderIcon.java | 569 float offsetX = mTmpParams.transX + (mTmpParams.scale * intrinsicIconSize) / 2; in getLocalCenterForIndex() local 572 center[0] = Math.round(offsetX); in getLocalCenterForIndex()
|
/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/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/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/modules/Permission/PermissionController/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/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/ |
D | BubbleView.java | 157 public void setOffsetX(float offsetX) { in setOffsetX() argument 158 mOffsetX = offsetX; in setOffsetX()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/ |
D | WidgetsFullSheet.java | 738 final float offsetX = mContent.getX(); in maybeHandleTouchEvent() local 740 ev.offsetLocation(-offsetX, -offsetY); in maybeHandleTouchEvent() 742 ev.offsetLocation(offsetX, offsetY); in maybeHandleTouchEvent() 754 final float offsetX = mContent.getX(); in isTouchOnScrollbar() local 758 ev.offsetLocation(-offsetX, -offsetY); in isTouchOnScrollbar() 760 ev.offsetLocation(offsetX, offsetY); in isTouchOnScrollbar()
|
/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/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarDragController.java | 368 int offsetX = (mDragIconSize - mDragObject.dragView.getDragRegionWidth()) / 2; in startSystemDrag() 370 int touchX = mRegistrationX + offsetX; in startSystemDrag() 377 + "offsetXY=(" + offsetX + ", " + offsetY + ")"); in startSystemDrag()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPersister.java | 322 int offsetX = Math.max(0, -(screenSize.x / 2 - scaledCenter.x)); in cropAndSetWallpaperBitmapInRotationStatic() local 326 wallpaperSize, defaultCropSurfaceSize, screenSize, offsetX, in cropAndSetWallpaperBitmapInRotationStatic()
|
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/view/ |
D | DockDragListener.kt | 149 val fromX: Float = dropContainerLocation.x + (dragEvent.x - dragEvent.offsetX) in <lambda>()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | GalleryPicker.java | 623 int heightPadding, int offsetX, int offsetY, in placeImage() argument 628 int xPos = (col * (imageWidth + widthPadding)) - offsetX; in placeImage()
|
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/ |
D | CameraController.java | 461 int offsetX = (width - scaledWidth) / 2; in setupBitmaps() local 463 int endX = offsetX + scaledWidth; in setupBitmaps() 467 new Rect(offsetX, offsetY, endX, endY), null); in setupBitmaps()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryChartView.java | 496 final float offsetX, in getAxisLabelDisplayAreas() argument 502 float middle = baselineX + index * offsetX; in getAxisLabelDisplayAreas()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Utilities.java | 306 public static void offsetPoints(float[] points, float offsetX, float offsetY) { in offsetPoints() argument 308 points[i] += offsetX; in offsetPoints()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | QuickstepTransitionManager.java | 811 float offsetX = (scaledCropWidth - iconWidth) / 2; in getOpeningWindowAnimators() 819 float windowTransX0 = tmpRectF.left - offsetX - crop.left * scale; in getOpeningWindowAnimators() 826 floatingIconBounds.left -= offsetX; in getOpeningWindowAnimators() 828 floatingIconBounds.right += offsetX; in getOpeningWindowAnimators()
|
/packages/modules/RemoteKeyProvisioning/app/tests/unit/ |
D | tink-android-1.5.0.jar | com/google/crypto/tink/subtle/prf/StreamingPrf.class
StreamingPrf.java
package ... |