Searched refs:halfHeight (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | AvatarGroupRequestDescriptor.java | 76 final float halfHeight = height / 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 | 72 final float halfHeight = height / 2; in renderSimAvatarInternal() local 90 halfHeight - sRegularSimIcon.getHeight() / 2, paint); in renderSimAvatarInternal() 106 final float yOffset = halfHeight - textBound.centerY(); in renderSimAvatarInternal()
|
D | AvatarRequest.java | 158 final float halfHeight = height / 2; in renderLetterTile() local 175 final float yOffset = halfHeight - textBound.centerY(); in renderLetterTile()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/util/ |
D | AvatarUtil.java | 282 float halfHeight = desiredHeight / 2F; in generateDestRectArray() local 287 cropToCircle ? (float) ((Math.hypot(halfWidth, halfHeight) - halfWidth) / 2f) : 0F; in generateDestRectArray() 358 float radius = cropToCircle ? (halfHeight - inset) / 2 : (float) desiredHeight / 4F; in generateDestRectArray() 371 /* top= */ halfHeight - inset, in generateDestRectArray() 377 /* top= */ halfHeight - inset, in generateDestRectArray() 389 destArray[0] = new RectF(inset, inset, halfWidth, halfHeight); in generateDestRectArray() 395 halfHeight); in generateDestRectArray() 399 halfHeight, in generateDestRectArray() 405 halfHeight, in generateDestRectArray()
|
/packages/apps/Launcher3/src/com/android/launcher3/states/ |
D | SpringLoadedState.java | 73 float halfHeight = ws.getHeight() / 2; in getWorkspaceScaleAndTranslation() local 74 float myCenter = ws.getTop() + halfHeight; in getWorkspaceScaleAndTranslation() 75 float cellTopFromCenter = halfHeight - ws.getChildAt(0).getTop(); in getWorkspaceScaleAndTranslation()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/ |
D | SetupStartIndicatorView.java | 102 final float halfHeight = height / 2.0f; in onDraw() local 108 path.lineTo(0.0f, halfHeight); in onDraw() 113 path.lineTo(width, halfHeight); in onDraw()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchLandscapeLayout.kt | 121 val halfHeight = height / 2 in onLayout() constant 130 val lapsListTop = top + halfHeight - lapsListHeight / 2 in onLayout() 149 val stopwatchTop = top + halfHeight - stopwatchHeight / 2 in onLayout()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | BitmapUtils.java | 47 int halfHeight = srcHeight / 2; in calculateInSampleSize() local 52 while (((halfHeight >> shift) >= targetHeight) && ((halfWidth >> shift) >= targetWidth)) { in calculateInSampleSize()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ImageUtils.java | 204 final int halfHeight = height / 2; in calculateInSampleSize() local 209 while ((!checkHeight || (halfHeight / inSampleSize) > reqHeight) in calculateInSampleSize()
|