Home
last modified time | relevance | path

Searched refs:textHeight (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/views/
DSnackbar.java105 int textHeight = res.getDimensionPixelSize(R.dimen.snackbar_content_height); in show() local
108 labelView.getLayoutParams().height = textHeight * 2; in show()
109 actionView.getLayoutParams().height = textHeight * 2; in show()
112 params.height += textHeight; in show()
/packages/apps/Camera2/src/com/android/camera/ui/
DCountDownView.java110 int textHeight = mRemainingSecondsView.getMeasuredHeight(); in startFadeOutAnimation() local
114 mRemainingSecondsView.setTranslationY(mPreviewArea.centerY() - textHeight / 2); in startFadeOutAnimation()
116 mRemainingSecondsView.setPivotY(textHeight / 2); in startFadeOutAnimation()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureFloatingTextDrawingPreview.java165 final int textHeight = mParams.mGesturePreviewTextHeight; in updatePreviewPosition() local
170 final float rectHeight = textHeight + vPad * 2.0f; in updatePreviewPosition()
180 mPreviewTextY = (int)(rectY + vPad) + textHeight; in updatePreviewPosition()
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
DDaveyView.java57 int textHeight = (int) Math.ceil(metric.descent - metric.ascent); in DaveyView() local
58 mTexty = textHeight - (int) metric.descent; in DaveyView()
/packages/apps/Calendar/src/com/android/calendar/
DDayOfMonthDrawable.java52 int textHeight = mTextBounds.bottom - mTextBounds.top; in draw() local
54 canvas.drawText(mDayOfMonth, bounds.right / 2, ((float) bounds.bottom + textHeight + 1) / 2, in draw()
/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java514 int textHeight = Utilities.calculateTextHeight(allAppsIconTextSizePx); in autoResizeAllAppsCells() local
515 int topBottomPadding = textHeight; in autoResizeAllAppsCells()
517 + textHeight + (topBottomPadding * 2); in autoResizeAllAppsCells()
679 int textHeight = Utilities.calculateTextHeight(folderChildTextSizePx); in updateFolderCellSize() local
683 int minHeight = folderChildIconSizePx + iconDrawablePaddingPx * 2 + textHeight; in updateFolderCellSize()
699 folderCellHeightPx = folderChildIconSizePx + 2 * cellPaddingY + textHeight; in updateFolderCellSize()
703 (folderCellHeightPx - folderChildIconSizePx - textHeight) / 3); in updateFolderCellSize()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingAppWidgetHostView.java273 int textHeight = mSetupTextLayout.getHeight(); in updateDrawableBounds() local
276 float minHeightWithText = textHeight + actualIconSize * settingIconScaleFactor in updateDrawableBounds()
281 iconTop = (getHeight() - textHeight - in updateDrawableBounds()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMainKeyboardView.java875 final float textHeight = -paint.ascent() + descent; in drawLanguageOnSpacebar() local
876 final float baseline = height / 2 + textHeight / 2; in drawLanguageOnSpacebar()