Home
last modified time | relevance | path

Searched refs:textWidth (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/ui/
DCountDownView.java109 int textWidth = mRemainingSecondsView.getMeasuredWidth(); in startFadeOutAnimation() local
113 mRemainingSecondsView.setTranslationX(mPreviewArea.centerX() - textWidth / 2); in startFadeOutAnimation()
115 mRemainingSecondsView.setPivotX(textWidth / 2); in startFadeOutAnimation()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureFloatingTextDrawingPreview.java166 final float textWidth = mParams.getTextPaint().measureText(text); in updatePreviewPosition() local
169 final float rectWidth = textWidth + hPad * 2.0f; in updatePreviewPosition()
179 mPreviewTextX = (int)(rectX + hPad + textWidth / 2.0f); in updatePreviewPosition()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DIconView.java101 float textWidth = mPaint.measureText(text); in drawText() local
102 int x = (int) (canvas.getWidth() - textWidth - 2*mMargin); in drawText()
104 x = (int) ((canvas.getWidth() - textWidth) / 2.0f); in drawText()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactListPinnedHeaderView.java51 int textWidth = getResources().getDimensionPixelSize( in ContactListPinnedHeaderView() local
53 int widthIncludingPadding = paddingStartOffset + textWidth; in ContactListPinnedHeaderView()
DShortcutIntentBuilder.java411 final float textWidth = textPaint.measureText(overlay, 0, overlay.length()); in generatePhoneNumberIcon() local
412 canvas.drawText(overlay, 0, overlay.length(), (mIconSize - textWidth) / 2, mIconSize in generatePhoneNumberIcon()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
DFramedTextButton.java127 float textWidth = gPaint.measureText(mText); in onDraw() local
130 int x = (int) ((w - textWidth) / 2); in onDraw()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMainKeyboardView.java829 final float textWidth = TypefaceUtils.getStringWidth(text, paint); in fitsTextIntoWidth() local
830 if (textWidth < width) { in fitsTextIntoWidth()
834 final float scaleX = maxTextWidth / textWidth; in fitsTextIntoWidth()
/packages/apps/Launcher3/src/com/android/launcher3/
DFolder.java564 float textWidth = mFolderName.getPaint().measureText(mFolderName.getText().toString()); in animateOpen() local
565 float translation = (footerWidth - textWidth) / 2; in animateOpen()
/packages/apps/TV/usbtuner/libs/
Dexoplayer_1.5.6.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...