Searched refs:Params (Results 1 – 9 of 9) sorted by relevance
37 import android.text.PrecomputedText.Params;81 assertNotNull(new Params.Builder(PAINT).build()); in testParams_create()82 assertNotNull(new Params.Builder(PAINT) in testParams_create()84 assertNotNull(new Params.Builder(PAINT) in testParams_create()87 assertNotNull(new Params.Builder(PAINT) in testParams_create()95 assertEquals(Layout.BREAK_STRATEGY_SIMPLE, new Params.Builder(PAINT) in testParams_SetGet()97 assertEquals(Layout.HYPHENATION_FREQUENCY_NONE, new Params.Builder(PAINT) in testParams_SetGet()100 assertEquals(RTL, new Params.Builder(PAINT).setTextDirection(RTL).build() in testParams_SetGet()107 new Params.Builder(PAINT).build().getBreakStrategy()); in testParams_GetDefaultValues()109 new Params.Builder(PAINT).build().getHyphenationFrequency()); in testParams_GetDefaultValues()[all …]
420 PrecomputedText.Params param = new PrecomputedText.Params.Builder(mPaint) in getPrecomputedText()
1370 PrecomputedText.Params param = new PrecomputedText.Params.Builder(mPaint)
93 public static class Params { class in ListScenario117 public Params setNumItems(int numItems) { in setNumItems()125 public Params setItemsFocusable(boolean itemsFocusable) { in setItemsFocusable()137 public Params setStartingSelectionPosition(int startingSelectionPosition) { in setStartingSelectionPosition()146 public Params setItemScreenSizeFactor(double itemScreenSizeFactor) { in setItemScreenSizeFactor()157 public Params setPositionScreenSizeFactorOverride( in setPositionScreenSizeFactorOverride()168 public Params setPositionUnselectable(int position) { in setPositionUnselectable()176 public Params setPositionsUnselectable(int ...positions) { in setPositionsUnselectable()188 public Params includeHeaderAboveList(boolean includeHeader) { in includeHeaderAboveList()198 public Params setStackFromBottom(boolean stackFromBottom) { in setStackFromBottom()[all …]
51 protected Params createParams() { in createParams()68 protected void readAndValidateParams(Params params) { in readAndValidateParams()91 public static class ExpandableParams extends Params {123 public Params setNumItems(int numItems) { in setNumItems()381 protected final void init(Params params) { in init()
25 import android.text.PrecomputedText.Params;26 import android.text.PrecomputedText.Params.Builder;72 private Pair<Params, String[]> makeDifferentParams(Params params) { in makeDifferentParams()135 final Params outParams = new Builder(paint).setBreakStrategy(strategy) in makeDifferentParams()174 final Params tvParams = tv.getTextMetricsParams(); in setText()175 final Pair<Params, String[]> testConfig = makeDifferentParams(tvParams); in setText()176 final Params pctParams = testConfig.first; in setText()
8299 PrecomputedText.Params param = mTextView.getTextMetricsParams(); in testTextLayoutParam()
60 struct Params { struct75 public ::testing::WithParamInterface<Params> {}; argument883 ::testing::Values(Params{getProxyLocalService(), false /*shouldBeRemote*/,887 ::testing::Values(Params{892 ::testing::Values(Params{getNdkBinderTestJavaService("getLocalJavaService"),896 ::testing::Values(Params{901 ::testing::Values(Params{907 ::testing::Values(Params{
367 text, new PrecomputedText.Params.Builder(paint).build()); in makeBitmapFromPct()