Searched refs:textHeight (Results 1 – 7 of 7) 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()
52 int textHeight = mTextBounds.bottom - mTextBounds.top; in draw() local54 canvas.drawText(mDayOfMonth, bounds.right / 2, ((float) bounds.bottom + textHeight + 1) / 2, in draw()
245 int textHeight = mSetupTextLayout.getHeight(); in updateDrawableBounds() local248 float minHeightWithText = textHeight + actualIconSize * settingIconScaleFactor in updateDrawableBounds()253 iconTop = (getHeight() - textHeight - in updateDrawableBounds()
427 int textHeight = Utilities.calculateTextHeight(folderChildTextSizePx); in updateFolderCellSize() local432 folderCellHeightPx = folderChildIconSizePx + 2 * cellPaddingY + textHeight; in updateFolderCellSize()434 (folderCellHeightPx - folderChildIconSizePx - textHeight) / 3); in updateFolderCellSize()
875 final float textHeight = -paint.ascent() + descent; in drawLanguageOnSpacebar() local876 final float baseline = height / 2 + textHeight / 2; in drawLanguageOnSpacebar()