Searched refs:textWidth (Results 1 – 9 of 9) sorted by relevance
109 int textWidth = mRemainingSecondsView.getMeasuredWidth(); in startFadeOutAnimation() local113 mRemainingSecondsView.setTranslationX(mPreviewArea.centerX() - textWidth / 2); in startFadeOutAnimation()115 mRemainingSecondsView.setPivotX(textWidth / 2); in startFadeOutAnimation()
166 final float textWidth = mParams.getTextPaint().measureText(text); in updatePreviewPosition() local169 final float rectWidth = textWidth + hPad * 2.0f; in updatePreviewPosition()179 mPreviewTextX = (int)(rectX + hPad + textWidth / 2.0f); in updatePreviewPosition()
101 float textWidth = mPaint.measureText(text); in drawText() local102 int x = (int) (canvas.getWidth() - textWidth - 2*mMargin); in drawText()104 x = (int) ((canvas.getWidth() - textWidth) / 2.0f); in drawText()
51 int textWidth = getResources().getDimensionPixelSize( in ContactListPinnedHeaderView() local53 int widthIncludingPadding = paddingStartOffset + textWidth; in ContactListPinnedHeaderView()
411 final float textWidth = textPaint.measureText(overlay, 0, overlay.length()); in generatePhoneNumberIcon() local412 canvas.drawText(overlay, 0, overlay.length(), (mIconSize - textWidth) / 2, mIconSize in generatePhoneNumberIcon()
127 float textWidth = gPaint.measureText(mText); in onDraw() local130 int x = (int) ((w - textWidth) / 2); in onDraw()
829 final float textWidth = TypefaceUtils.getStringWidth(text, paint); in fitsTextIntoWidth() local830 if (textWidth < width) { in fitsTextIntoWidth()834 final float scaleX = maxTextWidth / textWidth; in fitsTextIntoWidth()
564 float textWidth = mFolderName.getPaint().measureText(mFolderName.getText().toString()); in animateOpen() local565 float translation = (footerWidth - textWidth) / 2; in animateOpen()
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...