Home
last modified time | relevance | path

Searched refs:Params (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DPrecomputedTextTest.java37 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 …]
DBoringLayoutTest.java420 PrecomputedText.Params param = new PrecomputedText.Params.Builder(mPaint) in getPrecomputedText()
DStaticLayoutTest.java1370 PrecomputedText.Params param = new PrecomputedText.Params.Builder(mPaint)
/cts/tests/tests/widget/src/android/widget/cts/util/
DListScenario.java93 public static class Params { class in ListScenario
117 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 …]
DExpandableListScenario.java51 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()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewPrecomputedTextTest.java25 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()
DTextViewTest.java8299 PrecomputedText.Params param = mTextView.getTextMetricsParams(); in testTextLayoutParam()
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_native_aidl_client.cpp60 struct Params { struct
75 public ::testing::WithParamInterface<Params> {}; argument
883 ::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{
/cts/tests/tests/graphics/src/android/graphics/text/cts/
DMeasuredTextTest.java367 text, new PrecomputedText.Params.Builder(paint).build()); in makeBitmapFromPct()