Searched refs:halfWidth (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | NinePatchDrawHelper.java | 77 int halfWidth = width / 2; in draw3Patch() local 80 drawRegion(bitmap, canvas, 0, halfWidth, left, left + halfWidth); in draw3Patch() 83 drawRegion(bitmap, canvas, halfWidth, width, right - halfWidth, right); in draw3Patch() 87 drawRegion(bitmap, canvas, halfWidth - halfExt, halfWidth + halfExt, in draw3Patch() 88 left + halfWidth, right - halfWidth); in draw3Patch()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | AvatarGroupRequestDescriptor.java | 75 final float halfWidth = width / 2F; in generateDestRectArray() local 140 destArray[1] = new RectF(0, halfHeight, halfWidth, height); in generateDestRectArray() 141 destArray[2] = new RectF(halfWidth, halfHeight, width, height); in generateDestRectArray() 151 destArray[0] = new RectF(0, 0, halfWidth, halfHeight); in generateDestRectArray() 152 destArray[1] = new RectF(halfWidth, 0, width, halfHeight); in generateDestRectArray() 153 destArray[2] = new RectF(0, halfHeight, halfWidth, height); in generateDestRectArray() 154 destArray[3] = new RectF(halfWidth, halfHeight, width, height); in generateDestRectArray()
|
D | SimSelectorAvatarRequest.java | 71 final float halfWidth = width / 2; in renderSimAvatarInternal() local 89 canvas.drawBitmap(sRegularSimIcon, halfWidth - sRegularSimIcon.getWidth() / 2, in renderSimAvatarInternal() 105 final float xOffset = halfWidth - textBound.centerX(); in renderSimAvatarInternal()
|
D | AvatarRequest.java | 157 final float halfWidth = width / 2; in renderLetterTile() local 174 final float xOffset = halfWidth - textBound.centerX(); in renderLetterTile()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DropTargetBar.java | 185 int halfWidth; in onLayout() local 188 halfWidth = button.getMeasuredWidth() / 2; in onLayout() 189 button.layout(start - halfWidth, 0, in onLayout() 190 start + halfWidth, button.getMeasuredHeight()); in onLayout()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | BitmapUtils.java | 48 int halfWidth = srcWidth / 2; in calculateInSampleSize() local 52 while (((halfHeight >> shift) >= targetHeight) && ((halfWidth >> shift) >= targetWidth)) { in calculateInSampleSize()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchLandscapeLayout.java | 88 final int halfWidth = width / 2; in onMeasure() local 100 lapsListWidth = Math.max(mLapsListView.getMeasuredWidth(), halfWidth); in onMeasure()
|
D | StopwatchLandscapeLayout.kt | 84 val halfWidth = width / 2 in onMeasure() constant 97 lapsListWidth = max(lapsListView.getMeasuredWidth(), halfWidth) in onMeasure()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ImageUtils.java | 205 final int halfWidth = width / 2; in calculateInSampleSize() local 210 && (!checkWidth || (halfWidth / inSampleSize) > reqWidth)) { in calculateInSampleSize()
|