Home
last modified time | relevance | path

Searched refs:halfHeight (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DAvatarGroupRequestDescriptor.java76 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()
DSimSelectorAvatarRequest.java72 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()
DAvatarRequest.java158 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/
DAvatarUtil.java282 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/
DSpringLoadedState.java73 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/
DSetupStartIndicatorView.java102 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/
DStopwatchLandscapeLayout.kt121 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/
DBitmapUtils.java47 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/
DImageUtils.java204 final int halfHeight = height / 2; in calculateInSampleSize() local
209 while ((!checkHeight || (halfHeight / inSampleSize) > reqHeight) in calculateInSampleSize()