Searched refs:textHeight (Results 1 – 8 of 8) sorted by relevance
105 int textHeight = res.getDimensionPixelSize(R.dimen.snackbar_content_height); in show() local108 labelView.getLayoutParams().height = textHeight * 2; in show()109 actionView.getLayoutParams().height = textHeight * 2; in show()112 params.height += textHeight; in show()
110 int textHeight = mRemainingSecondsView.getMeasuredHeight(); in startFadeOutAnimation() local114 mRemainingSecondsView.setTranslationY(mPreviewArea.centerY() - textHeight / 2); in startFadeOutAnimation()116 mRemainingSecondsView.setPivotY(textHeight / 2); in startFadeOutAnimation()
165 final int textHeight = mParams.mGesturePreviewTextHeight; in updatePreviewPosition() local170 final float rectHeight = textHeight + vPad * 2.0f; in updatePreviewPosition()180 mPreviewTextY = (int)(rectY + vPad) + textHeight; in updatePreviewPosition()
57 int textHeight = (int) Math.ceil(metric.descent - metric.ascent); in DaveyView() local58 mTexty = textHeight - (int) metric.descent; in DaveyView()
52 int textHeight = mTextBounds.bottom - mTextBounds.top; in draw() local54 canvas.drawText(mDayOfMonth, bounds.right / 2, ((float) bounds.bottom + textHeight + 1) / 2, in draw()
514 int textHeight = Utilities.calculateTextHeight(allAppsIconTextSizePx); in autoResizeAllAppsCells() local515 int topBottomPadding = textHeight; in autoResizeAllAppsCells()517 + textHeight + (topBottomPadding * 2); in autoResizeAllAppsCells()679 int textHeight = Utilities.calculateTextHeight(folderChildTextSizePx); in updateFolderCellSize() local683 int minHeight = folderChildIconSizePx + iconDrawablePaddingPx * 2 + textHeight; in updateFolderCellSize()699 folderCellHeightPx = folderChildIconSizePx + 2 * cellPaddingY + textHeight; in updateFolderCellSize()703 (folderCellHeightPx - folderChildIconSizePx - textHeight) / 3); in updateFolderCellSize()
273 int textHeight = mSetupTextLayout.getHeight(); in updateDrawableBounds() local276 float minHeightWithText = textHeight + actualIconSize * settingIconScaleFactor in updateDrawableBounds()281 iconTop = (getHeight() - textHeight - in updateDrawableBounds()
875 final float textHeight = -paint.ascent() + descent; in drawLanguageOnSpacebar() local876 final float baseline = height / 2 + textHeight / 2; in drawLanguageOnSpacebar()