/cts/tests/tests/text/src/android/text/cts/ |
LayoutTest.java | 258 CharSequence textLongest = "test getDesiredWidth"; 260 float widthShort = Layout.getDesiredWidth(textShort, 0, textShort.length(), paint); 261 float widthLonger = Layout.getDesiredWidth(textLonger, 0, textLonger.length(), paint); 262 float widthLongest = Layout.getDesiredWidth(textLongest, 0, textLongest.length(), paint); 263 float widthPartShort = Layout.getDesiredWidth(textShort, 2, textShort.length(), paint); 264 float widthZero = Layout.getDesiredWidth(textLonger, 5, textShort.length() - 3, paint); 274 CharSequence textLongest = "test getDesiredWidth"; 276 float widthShort = Layout.getDesiredWidth(textShort, paint); 277 float widthLonger = Layout.getDesiredWidth(textLonger, paint); 278 float widthLongest = Layout.getDesiredWidth(textLongest, paint) [all...] |
/external/chromium_org/ui/android/java/src/org/chromium/ui/autofill/ |
AutofillPopup.java | 145 mAnchorWidth = Math.max(getDesiredWidth(cleanedData), mAnchorWidth); 173 private float getDesiredWidth(ArrayList<AutofillSuggestion> data) {
|
/packages/apps/Settings/src/com/android/settings/widget/ |
ChartGridView.java | 149 (int) Math.ceil(Layout.getDesiredWidth(text, paint)),
|
ChartSweepView.java | 742 return Layout.getDesiredWidth(view.mLabelLayout.getText(), view.mLabelLayout.getPaint());
|
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
CustomViewAccessibilityActivity.java | 266 (int) Math.ceil(Layout.getDesiredWidth(text, mTextPaint)),
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
IconMenuItemView.java | 265 lp.desiredWidth = (int) Layout.getDesiredWidth(getText(), getPaint());
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
Folder.java | 879 int width = getPaddingLeft() + getPaddingRight() + mContent.getDesiredWidth(); [all...] |
CellLayout.java | [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
Folder.java | 794 int width = getPaddingLeft() + getPaddingRight() + mContent.getDesiredWidth(); 866 int width = getPaddingLeft() + getPaddingRight() + mContent.getDesiredWidth(); 870 int contentWidthSpec = MeasureSpec.makeMeasureSpec(mContent.getDesiredWidth(), [all...] |
CellLayout.java | [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
Switch.java | 200 int actual_width = (int) Math.ceil(Layout.getDesiredWidth(text, mTextPaint));
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
Switch.java | 191 int actual_width = (int) Math.ceil(Layout.getDesiredWidth(text, mTextPaint));
|
/frameworks/base/core/java/android/text/ |
Layout.java | 65 public static float getDesiredWidth(CharSequence source, 67 return getDesiredWidth(source, 0, source.length(), paint); 74 public static float getDesiredWidth(CharSequence source, [all...] |
/frameworks/base/core/java/android/widget/ |
Switch.java | 523 (int) Math.ceil(Layout.getDesiredWidth(transformed, mTextPaint)),
|
TextView.java | [all...] |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/17/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/4/ |
android.jar | |
/prebuilts/sdk/6/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |