HomeSort by relevance Sort by last modified time
    Searched defs:BoringLayout (Results 1 - 13 of 13) sorted by null

  /cts/tests/tests/text/src/android/text/cts/
BoringLayoutTest.java 24 import android.text.BoringLayout;
44 private static final BoringLayout.Metrics DEFAULT_METRICS = createMetrics(
52 private BoringLayout mBoringLayout;
61 new BoringLayout(DEFAULT_CHAR_SEQUENCE,
70 new BoringLayout(DEFAULT_CHAR_SEQUENCE,
86 BoringLayout boringLayout = makeBoringLayout(SPACING_MULT_NO_SCALE, SPACING_ADD_NO_SCALE);
88 assertEquals(metricsBottomToTop, boringLayout.getHeight());
89 assertEquals(boringLayout.getHeight() + METRICS_TOP, boringLayout.getLineDescent(0))
    [all...]
  /frameworks/base/core/java/android/text/
BoringLayout.java 26 * A BoringLayout is a very simple Layout implementation for text that
38 public class BoringLayout extends Layout implements TextUtils.EllipsizeCallback {
39 public static BoringLayout make(CharSequence source,
43 BoringLayout.Metrics metrics, boolean includepad) {
44 return new BoringLayout(source, paint, outerwidth, align,
49 public static BoringLayout make(CharSequence source,
53 BoringLayout.Metrics metrics, boolean includepad,
55 return new BoringLayout(source, paint, outerwidth, align,
61 * Returns a BoringLayout for the specified text, potentially reusing
65 public BoringLayout replaceOrMake(CharSequence source, TextPaint paint
    [all...]
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/8/
android.jar 
  /prebuilts/sdk/9/
android.jar 

Completed in 111 milliseconds