Home
last modified time | relevance | path

Searched refs:halfWidth (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DAvatarGroupRequestDescriptor.java75 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()
DSimSelectorAvatarRequest.java71 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()
DAvatarRequest.java157 final float halfWidth = width / 2; in renderLetterTile() local
174 final float xOffset = halfWidth - textBound.centerX(); in renderLetterTile()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DBitmapUtils.java54 int halfWidth = srcWidth / 2; in calculateInSampleSize() local
58 while (((halfHeight >> shift) >= targetHeight) && ((halfWidth >> shift) >= targetWidth)) { in calculateInSampleSize()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DArrowTipView.java349 float halfWidth = getWidth() / 2f; in showAtLocation() local
351 if (arrowXCoord - halfWidth < minViewMargin) { in showAtLocation()
355 } else if (arrowXCoord + halfWidth > parentViewWidth - minViewMargin) { in showAtLocation()
361 xCoord = arrowXCoord - halfWidth; in showAtLocation()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchLandscapeLayout.kt84 val halfWidth = width / 2 in onMeasure() constant
97 lapsListWidth = max(lapsListView.getMeasuredWidth(), halfWidth) in onMeasure()
/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java205 final int halfWidth = width / 2; in calculateInSampleSize() local
210 && (!checkWidth || (halfWidth / inSampleSize) > reqWidth)) { in calculateInSampleSize()