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/Launcher3/src/com/android/launcher3/states/
DSpringLoadedState.java68 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/
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.java125 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()
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()