Home
last modified time | relevance | path

Searched defs:r (Results 1 – 25 of 236) sorted by relevance

12345678910

/cts/tests/tests/graphics/src/android/graphics/cts/
DPaint_TextBoundsTest.java74 Rect r = new Rect(); in testSingleChar_1em() local
85 Rect r = new Rect(); in testSingleChar_2em() local
96 Rect r = new Rect(); in testSingleChar_2em_with_lsb() local
107 Rect r = new Rect(); in testSingleChar_1em_with_y1em_origin() local
118 Rect r = new Rect(); in testMultiChar_1em_1em() local
129 Rect r = new Rect(); in testMultiChar_1em_2em() local
140 Rect r = new Rect(); in testMultiChar_3em_2em_with_lsb() local
151 Rect r = new Rect(); in testMultiChar_1em_with_y1em() local
162 Rect r = new Rect(); in testMultiChar_1em_5times() local
167 p.getTextBounds(b.toString(), 0, b.length(), r); in testMultiChar_1em_5times() local
/cts/tests/tests/graphics/src/android/graphics/text/cts/
DHyphenationTest.java70 final LineBreaker.Result r = computeLineBreaks(text); in testAfrikaansPattern() local
94 final LineBreaker.Result r = computeLineBreaks(text); in testAlbanianPattern() local
119 final LineBreaker.Result r = computeLineBreaks(text); in testAmharicPattern() local
144 final LineBreaker.Result r = computeLineBreaks(text); in testCzechPattern() local
171 final LineBreaker.Result r = computeLineBreaks(text); in testDutchPattern() local
194 final LineBreaker.Result r = computeLineBreaks(text); in testEnglishPattern() local
216 final LineBreaker.Result r = computeLineBreaks(text); in testGalicianPattern() local
238 final LineBreaker.Result r = computeLineBreaks(text); in testGeorgianPattern() local
261 final LineBreaker.Result r = computeLineBreaks(text); in testGreekPattern() local
284 final LineBreaker.Result r = computeLineBreaks(text); in testItalianPattern() local
[all …]
DLineBreakerTest.java147 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple() local
170 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple2() local
202 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple3() local
247 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple_NotRectangle() local
280 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple_Hyphenation() local
327 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple_Styled() local
368 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple_Styled2() local
402 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple_indents() local
435 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple_indents2() local
475 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple_tabStop() local
[all …]
/cts/tests/tests/opengl/src/android/opengl/cts/
DNativeColorBufferTest.java40 float r = 1.0f; in test_RGBA_1001() local
58 float r = 1.0f; in test_RGBA_1101() local
76 float r = 1.0f; in test_RGBA_1111() local
95 float r = 0.0f; in test_RGBA_0101() local
114 float r = 0.0f; in test_RGBA_0011() local
133 float r = 0.0f; in test_RGBA_0000() local
152 float r = 0.6f; in test_RGBA_rand_val_one() local
170 private float[] getVertexColors(float r, float g, float b, float a) { in getVertexColors()
182 float r = expectedColor[0]; in compare() local
DColorBufferTest.java45 float r = 1.0f; in test_RGBA_1001() local
63 float r = 1.0f; in test_RGBA_1101() local
81 float r = 1.0f; in test_RGBA_1111() local
100 float r = 0.0f; in test_RGBA_0101() local
119 float r = 0.0f; in test_RGBA_0011() local
138 float r = 0.0f; in test_RGBA_0000() local
157 float r = 0.6f; in test_RGBA_rand_val_one() local
175 private float[] getVertexColors(float r, float g, float b, float a) { in getVertexColors()
188 float r = expectedColor[0]; in compare() local
/cts/tests/tests/ndef/src/android/ndef/cts/
DNdefTest.java41 NdefRecord r; in testConstructor() local
391 NdefRecord r; in testCreateApplicationRecord() local
437 NdefRecord r = NdefRecord.createTextRecord("en", s); in testCreateTextRecord() local
455 NdefRecord r; in testToByteArray() local
504 NdefRecord r; in testGetByteArrayLength() local
/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSUtils.java30 Random r = new Random(seed); in genRandom() local
38 Random r = new Random(seed); in genRandom() local
50 Random r = new Random(seed); in genRandom() local
58 Random r = new Random(seed); in genRandom() local
71 Random r = new Random(seed); in genRandom() local
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DUtils.java55 public static void assertException(@NonNull Invokable r, in assertException()
80 public static void runOnMainThread(@NonNull final Invokable r) throws Throwable { in runOnMainThread()
111 public static void eventually(@NonNull Invokable r, long timeout) throws Throwable { in eventually()
140 public static void eventually(@NonNull Invokable r) throws Throwable { in eventually()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DFlake.java33 public static void repeat(Runnable r, int times) { in repeat()
42 public static void repeat(Runnable r) { in repeat()
DAssert.java31 public static <E extends Throwable> E assertThrows(Class<E> e, Runnable r) { in assertThrows()
/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsActivityTest.java62 RemoteViews r = RemoteViews.CREATOR.createFromParcel(p); in testGood() local
88 RemoteViews r = RemoteViews.CREATOR.createFromParcel(p); in testDerivedClass() local
117 RemoteViews r = RemoteViews.CREATOR.createFromParcel(p); in testWebView() local
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/new_array/
DTest_new_array.java34 int[] r = t.run(10); in testN1() local
65 Object[] r = t.run(10); in testN3() local
80 int[] r = t.run(0); in testB1() local
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DSplitAppTest.java136 final Resources r = getContext().getResources(); in testSingleBase() local
200 final Resources r = getContext().getResources(); in testDensitySingle() local
213 final Resources r = getContext().getResources(); in testDensityAll() local
235 final Resources r = getContext().getResources(); in testDensityBest1() local
244 final Resources r = getContext().getResources(); in testDensityBest2() local
253 final Resources r = getContext().getResources(); in testApi() local
270 final Resources r = getContext().getResources(); in testLocale() local
343 final Resources r = getContext().getResources(); in testFeatureWarmBase() local
459 final BroadcastReceiver r = new BroadcastReceiver() { in testBaseInstalled() local
486 final BroadcastReceiver r = new BroadcastReceiver() { in testFeatureInstalled() local
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DTestTaskQueue.java62 public synchronized void addTask(Runnable r) { in addTask()
73 public synchronized void addTask(final Runnable r, long delay) { in addTask()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DDspBufferMath.java54 static public <T extends DspBufferBase> int add(T r, T a, T b) { in add()
126 static public <T extends DspBufferBase> int mult(T r, T a, T b) { in mult()
209 static public <T extends DspBufferBase> int mult(T r, T a, double v) { in mult()
255 static public <T extends DspBufferBase> int set(T r, T a) { in set()
303 static public <T extends DspBufferBase> int set(T r, double ...values) { in set()
335 static public <T extends DspBufferDouble> int crossCorrelation(T r, T a, T b) { in crossCorrelation()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DAtomicTest.java273 Random r = new Random(78); in testAnd() local
306 Random r = new Random(78); in testUAnd() local
339 Random r = new Random(78); in testOr() local
372 Random r = new Random(78); in testUOr() local
DAllocationByteBufferTest.java49 Random r = new Random(RAND_SEED); in testByteBufferHelper() local
73 Random r = new Random(RAND_SEED); in testByteBufferHelper1D() local
79 Random r = new Random(RAND_SEED); in testByteBufferHelper2D() local
86 Random r = new Random(RAND_SEED); in test1DWrite() local
105 Random r = new Random(RAND_SEED); in test2DWrite() local
DRSUtils.java72 Random r = new Random(seed); in genRandomDoubles() local
123 Random r = new Random(seed); in genRandomFloats() local
218 Random r = new Random(seed); in genRandomFloat16s() local
256 Random r = new Random(seed); in genRandomInts() local
272 Random r = new Random(seed); in genRandomLongs() local
/cts/tests/tests/permission/permissionTestUtilLib/src/android/permission/cts/
DTestUtils.java55 public static void ensure(@NonNull ThrowingRunnable r, long timeout) throws Throwable { in ensure()
71 public static <T> T ensure(@NonNull ThrowingCallable<T> r, long timeout) throws Throwable { in ensure()
95 public static void eventually(@NonNull ThrowingRunnable r, long timeout) throws Throwable { in eventually()
111 public static <T> T eventually(@NonNull ThrowingCallable<T> r, long timeout) throws Throwable { in eventually()
/cts/tests/tests/systemui/src/android/systemui/cts/
DColorUtils.java25 int r = (argb >> 16) & 0xFF; in brightness() local
35 int r = (argb >> 16) & 0xFF; in hue() local
/cts/tests/app/src/android/app/cts/
DInstrumentationHelperService.java47 final ResultReceiver r = intent.getParcelableExtra(Intent.EXTRA_RESULT_RECEIVER, in onStartCommand() local
70 final ResultReceiver r = new ResultReceiver(null) { in startInstrumentation() local
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DInsetDrawableTest.java86 Resources r = mContext.getResources(); in testInflate() local
152 Rect r = new Rect(); in testGetPadding_dimension() local
186 Rect r = new Rect(); in testGetPadding_fraction() local
293 Rect r = new Rect(); in testOnBoundsChange_dimension() local
314 Rect r = new Rect(0, 0, size, size); in testOnBoundsChange_fraction() local
335 Rect r = new Rect(0, 0, insetDrawable.getIntrinsicWidth(), in testIsBoundsAndIntrinsicSizeInverse() local
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DKeepScreenOnTests.java97 try (BlockingBroadcastReceiver r = BlockingBroadcastReceiver.create(mContext, in testKeepScreenOn_activityNotForeground_screenTurnsOff()
133 try (BlockingBroadcastReceiver r = BlockingBroadcastReceiver.create(mContext, in testKeepScreenOn_activityOnVirtualDisplayNotForeground_screenTurnsOff()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainInteractionSession.java261 AsyncTaskArg setRequest(CommandRequest r) {commandReq = r; return this;} in setRequest()
262 AsyncTaskArg setRequest(ConfirmationRequest r) {confReq = r; return this;} in setRequest()
263 AsyncTaskArg setRequest(CompleteVoiceRequest r) {compReq = r; return this;} in setRequest()
264 AsyncTaskArg setRequest(AbortVoiceRequest r) {abortReq = r; return this;} in setRequest()
265 AsyncTaskArg setRequest(PickOptionRequest r) {pickReq = r; return this;} in setRequest()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityNodeInfo_RangeInfoTest.java50 RangeInfo r; in testObtain() local

12345678910