/external/skia/gm/ |
bitmapcopy.cpp | 89 SkScalar textWidth = paint.measureText(name, strlen(name)); 90 if (textWidth > width) { 91 width = textWidth; 102 SkScalar textWidth = paint.measureText(name, strlen(name)); 103 SkScalar x = (width - textWidth) / SkScalar(2);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactListPinnedHeaderView.java | 48 int textWidth = getResources().getDimensionPixelSize( 50 int widthIncludingPadding = paddingStartOffset + textWidth;
|
ShortcutIntentBuilder.java | 401 final float textWidth = textPaint.measureText(overlay, 0, overlay.length()); 402 canvas.drawText(overlay, 0, overlay.length(), (mIconSize - textWidth) / 2, mIconSize
|
/cts/tests/tests/text/src/android/text/method/cts/ |
TouchTest.java | 115 int textWidth = Math.round(paint.measureText(text)); 116 while (textWidth < screenWidth) { 118 textWidth = Math.round(paint.measureText(text)); 122 int dragAmount = Math.min(screenWidth, textWidth - screenWidth);
|
/frameworks/base/core/java/com/android/internal/widget/ |
TextProgressBar.java | 160 int textWidth = mChronometer.getWidth(); 162 adjustLeft = -textWidth; 164 adjustLeft = -(textWidth / 2); 169 int rightLimit = contentWidth - params.rightMargin - textWidth;
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
CountDownView.java | 109 int textWidth = mRemainingSecondsView.getMeasuredWidth(); 113 mRemainingSecondsView.setTranslationX(mPreviewArea.centerX() - textWidth / 2); 115 mRemainingSecondsView.setPivotX(textWidth / 2);
|
/external/skia/bench/ |
PicturePlaybackBench.cpp | 82 const SkScalar textWidth = paint.measureText(text, len); 84 for (SkScalar x = 0; x < fPictureWidth; x += textWidth) { 107 const SkScalar textWidth = paint.measureText(text, len); 112 for (SkScalar x = 0; x < fPictureWidth; x += textWidth) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/ |
FramedTextButton.java | 127 float textWidth = gPaint.measureText(mText); 130 int x = (int) ((w - textWidth) / 2);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
GestureFloatingTextDrawingPreview.java | 166 final float textWidth = mParams.getTextPaint().measureText(text); 169 final float rectWidth = textWidth + hPad * 2.0f; 179 mPreviewTextX = (int)(rectX + hPad + textWidth / 2.0f);
|
/cts/tests/tests/text/src/android/text/cts/ |
StaticLayoutTest.java | 521 final float textWidth = mDefaultPaint.measureText(text); 522 final int halfWidth = (int)(textWidth / 2.0f); [all...] |
TextUtilsTest.java | 90 float textWidth = p.measureText("long, 3 plus"); 95 TextUtils.commaEllipsize(text, p, textWidth - 1.4f, "plus 1", "%d plus").toString()); 98 TextUtils.commaEllipsize(text, p, textWidth, "plus 1", "%d plus").toString()); 101 textWidth = p.measureText("long, string, 2 more"); 103 TextUtils.commaEllipsize(text, p, textWidth, "more 1", "%d more").toString()); 106 textWidth = p.measureText("long, string, to, truncate"); 108 TextUtils.commaEllipsize(text, p, textWidth, "more 1", "%d more").toString()); 112 text + "-extended", p, textWidth, "more 1", "%d more").toString()); 121 text + "-extended", p, textWidth, null, "%d more").toString()); 124 TextUtils.commaEllipsize(null, p, textWidth, "plus 1", "%d plus") [all...] |
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
CandidateView.java | 183 float textWidth = paint.measureText(suggestion); 184 final int wordWidth = (int) textWidth + X_GAP * 2;
|
/external/skia/experimental/PdfViewer/ |
SkPdfFont.h | 278 SkScalar textWidth = paint->measureText(utf8, len); 279 return SkScalarToDouble(textWidth);
|
/frameworks/base/libs/hwui/font/ |
Font.cpp | 325 float textWidth = SkScalarToFloat(paint->measureText(text, len)); 328 textWidth *= 0.5f; 331 penX += pathOffset - textWidth;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
IconView.java | 101 float textWidth = mPaint.measureText(text); 102 int x = (int) (canvas.getWidth() - textWidth - 2*mMargin); 104 x = (int) ((canvas.getWidth() - textWidth) / 2.0f);
|
/bootable/recovery/ |
screen_ui.cpp | 101 int textWidth = gr_get_width(text_surface); 110 int textX = (gr_fb_width() - textWidth) / 2;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
LabelMaker.java | 197 int textWidth = Math.min(mStrikeWidth,measuredTextWidth); 202 int width = Math.max(minWidth, textWidth + padWidth); 207 int centerOffsetWidth = (effectiveTextWidth - textWidth) / 2;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
MainKeyboardView.java | [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
Folder.java | 550 float textWidth = mFolderName.getPaint().measureText(mFolderName.getText().toString()); 551 float translation = (footerWidth - textWidth) / 2; [all...] |
/frameworks/base/core/java/android/widget/ |
NumberPicker.java | [all...] |
TextView.java | [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
RecipientEditTextView.java | 705 int textWidth = (int) paint.measureText(ellipsizedText, 0, ellipsizedText.length()); 711 int width = Math.max(iconWidth * 2, textWidth + startPadding + mChipTextEndPadding 734 width - backgroundPadding.right - mChipTextEndPadding - textWidth; [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.ui.forms_3.5.2.r36_v20100702.jar | |
org.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jar | |
org.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jar | |