Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/contacts/common/list/
DContactListPinnedHeaderView.java46 int textWidth = getResources().getDimensionPixelSize(R.dimen.contact_list_section_header_width); in ContactListPinnedHeaderView() local
47 int widthIncludingPadding = paddingStartOffset + textWidth; in ContactListPinnedHeaderView()
52 setLayoutParams(new LayoutParams(textWidth, LayoutParams.WRAP_CONTENT)); in ContactListPinnedHeaderView()
/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/Contacts/src/com/android/contacts/list/
DContactListPinnedHeaderView.java48 int textWidth = getResources().getDimensionPixelSize( in ContactListPinnedHeaderView() local
50 int widthIncludingPadding = paddingStartOffset + textWidth; in ContactListPinnedHeaderView()
/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/Contacts/src/com/android/contacts/
DShortcutIntentBuilder.java417 final float textWidth = textPaint.measureText(overlay, 0, overlay.length()); in generatePhoneNumberIcon() local
418 canvas.drawText(overlay, 0, overlay.length(), (mIconSize - textWidth) / 2, mIconSize in generatePhoneNumberIcon()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java623 float textWidth = mFolderName.getPaint().measureText(mFolderName.getText().toString()); in animateOpen() local
624 float translation = (footerWidth - textWidth) / 2; in animateOpen()
/packages/apps/TV/libs/
Dexoplayer.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...