Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DPrecomputedTextTest.java44 import android.text.PrecomputedText.Params;
91 assertNotNull(new Params.Builder(PAINT).build()); in testParams_create()
92 assertNotNull(new Params.Builder(PAINT) in testParams_create()
94 assertNotNull(new Params.Builder(PAINT) in testParams_create()
97 assertNotNull(new Params.Builder(PAINT) in testParams_create()
105 assertNotNull(new Params.Builder(PAINT) in testParams_create()
114 assertNotNull(new Params.Builder(PAINT) in testParams_create()
123 assertEquals(Layout.BREAK_STRATEGY_SIMPLE, new Params.Builder(PAINT) in testParams_SetGet()
125 assertEquals(Layout.HYPHENATION_FREQUENCY_NONE, new Params.Builder(PAINT) in testParams_SetGet()
128 assertEquals(RTL, new Params.Builder(PAINT).setTextDirection(RTL).build() in testParams_SetGet()
[all …]
DBoringLayoutTest.java432 PrecomputedText.Params param = new PrecomputedText.Params.Builder(mPaint) in getPrecomputedText()
DStaticLayoutTest.java1409 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/packageinstaller/install/src/android/packageinstaller/install/cts/
DSessionParamsPermissionStateTest.kt76 Params( in <lambda>()
87 Params( in <lambda>()
98 Params( in <lambda>()
116 Params( in <lambda>()
129 Params( in <lambda>()
136 Params( in <lambda>()
149 Params( in <lambda>()
156 Params( in <lambda>()
164 Params( in <lambda>()
178 data class Params( in <lambda>() dataClass
[all …]
/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.java9078 PrecomputedText.Params param = mTextView.getTextMetricsParams(); in testTextLayoutParam()
9097 PrecomputedText.Params resultParams = mTextView.getTextMetricsParams(); in testTextLayoutParam()
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_native_aidl_client.cpp96 struct Params { struct
111 public ::testing::WithParamInterface<Params> {}; argument
1453 ::testing::Values(Params{getProxyLocalService(), false /*shouldBeRemote*/,
1457 ::testing::Values(Params{
1462 ::testing::Values(Params{getNdkBinderTestJavaService("getLocalJavaService"),
1466 ::testing::Values(Params{
1471 ::testing::Values(Params{
1477 ::testing::Values(Params{
/cts/tests/tests/graphics/src/android/graphics/text/cts/
DMeasuredTextTest.java399 text, new PrecomputedText.Params.Builder(paint).build()); in makeBitmapFromPct()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt32490 @Deprecated public abstract class AsyncTask<Params, Progress, Result> {
32493 method @Deprecated @WorkerThread protected abstract Result doInBackground(Params...);
32494 …Deprecated @MainThread public final android.os.AsyncTask<Params,Progress,Result> execute(Params...…
32496 …ad public final android.os.AsyncTask<Params,Progress,Result> executeOnExecutor(java.util.concurren…
47881 …d.text.PrecomputedText create(@NonNull CharSequence, @NonNull android.text.PrecomputedText.Params);
47887 method @NonNull public android.text.PrecomputedText.Params getParams();
47901 public static final class PrecomputedText.Params {
47909 public static class PrecomputedText.Params.Builder {
47910 ctor public PrecomputedText.Params.Builder(@NonNull android.text.TextPaint);
47911 ctor public PrecomputedText.Params.Builder(@NonNull android.text.PrecomputedText.Params);
[all …]