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/Launcher3/src/com/android/launcher3/states/ |
D | SpringLoadedState.java | 68 float halfHeight = ws.getHeight() / 2; in getWorkspaceScaleAndTranslation() local 69 float myCenter = ws.getTop() + halfHeight; in getWorkspaceScaleAndTranslation() 70 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.java | 125 final int halfHeight = height / 2; in onLayout() local 133 final int lapsListTop = top + halfHeight - (lapsListHeight / 2); in onLayout() 153 final int stopwatchTop = top + halfHeight - (stopwatchHeight / 2); in onLayout()
|
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()
|