Home
last modified time | relevance | path

Searched defs:r (Results 1 – 25 of 249) 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.java72 final LineBreaker.Result r = computeLineBreaks(text); in testAfrikaansPattern() local
96 final LineBreaker.Result r = computeLineBreaks(text); in testAlbanianPattern() local
121 final LineBreaker.Result r = computeLineBreaks(text); in testAmharicPattern() local
146 final LineBreaker.Result r = computeLineBreaks(text); in testCzechPattern() local
173 final LineBreaker.Result r = computeLineBreaks(text); in testDutchPattern() local
196 final LineBreaker.Result r = computeLineBreaks(text); in testEnglishPattern() local
218 final LineBreaker.Result r = computeLineBreaks(text); in testGalicianPattern() local
240 final LineBreaker.Result r = computeLineBreaks(text); in testGeorgianPattern() local
263 final LineBreaker.Result r = computeLineBreaks(text); in testGreekPattern() local
286 final LineBreaker.Result r = computeLineBreaks(text); in testItalianPattern() local
[all …]
DLineBreakerTest.java242 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple() local
265 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple2() local
297 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple3() local
342 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple_NotRectangle() local
375 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple_Hyphenation() local
422 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple_Styled() local
463 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple_Styled2() local
497 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple_indents() local
530 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple_indents2() local
570 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple_tabStop() local
[all …]
/cts/hostsidetests/resources/test-apps/CtsOverlayResApp/src/android/resources/overlayresapp/
DOverlayResTest.java78 Resources r = mActivity.getApplicationContext().getResources(); in overlayRes_onConfigurationChanged() local
93 Resources r = mActivity.getApplicationContext().getResources(); in overlayRes_onConfigurationChanged() local
111 Resources r = mActivity.getApplicationContext().getResources(); in overlayFrameworkRes_onConfigurationChanged() local
126 Resources r = mActivity.getApplicationContext().getResources(); in overlayFrameworkRes_onConfigurationChanged() local
144 Resources r = mActivity.getApplicationContext().getResources(); in overlayFullLayout_onConfigurationChanged() local
185 Resources r = mActivity.getApplicationContext().getResources(); in overlayFullLayout_onConfigurationChanged() local
227 Resources r = mActivity.getApplicationContext().getResources(); in overlayLayoutRes_onConfigurationChanged() local
266 Resources r = mActivity.getApplicationContext().getResources(); in overlayLayoutRes_onConfigurationChanged() local
309 Resources r = mActivity.getApplicationContext().getResources(); in overlayLayoutFrameworkRes_onConfigurationChanged() local
350 Resources r = mActivity.getApplicationContext().getResources(); in overlayLayoutFrameworkRes_onConfigurationChanged() local
/cts/tests/tests/opengl/src/android/opengl/cts/
DNativeColorBufferTest.java44 float r = 1.0f; in test_RGBA_1001() local
62 float r = 1.0f; in test_RGBA_1101() local
80 float r = 1.0f; in test_RGBA_1111() local
99 float r = 0.0f; in test_RGBA_0101() local
118 float r = 0.0f; in test_RGBA_0011() local
137 float r = 0.0f; in test_RGBA_0000() local
156 float r = 0.6f; in test_RGBA_rand_val_one() local
174 private float[] getVertexColors(float r, float g, float b, float a) { in getVertexColors()
186 float r = expectedColor[0]; in compare() local
DColorBufferTest.java49 float r = 1.0f; in test_RGBA_1001() local
67 float r = 1.0f; in test_RGBA_1101() local
85 float r = 1.0f; in test_RGBA_1111() local
104 float r = 0.0f; in test_RGBA_0101() local
123 float r = 0.0f; in test_RGBA_0011() local
142 float r = 0.0f; in test_RGBA_0000() local
161 float r = 0.6f; in test_RGBA_rand_val_one() local
179 private float[] getVertexColors(float r, float g, float b, float a) { in getVertexColors()
192 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/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityNodeInfo_RangeInfoTest.java51 RangeInfo r; in testObtain() local
84 RangeInfo r = RangeInfo.INDETERMINATE; in testIndeterminateRangeInfo() local
/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()
/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/hostsidetests/resources/test-apps/CtsOverlayResApp2/src/android/resources/overlayresapp2/
DOverlayResTest.java63 Resources r = mActivity.getApplicationContext().getResources(); in overlayRes_onConfigurationChanged() local
78 Resources r = mActivity.getApplicationContext().getResources(); in overlayRes_onConfigurationChanged() local
/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/mediaprovider/src/android/provider/cts/media/
DMediaStoreTest.java190 .openFileDescriptor(uri, "r", cg)) { in testMediaStoreOpenFile()
192 .openFileDescriptor(mContext.getContentResolver(), uri, "r", cg)) { in testMediaStoreOpenFile()
207 .openAssetFileDescriptor(uri, "r", cg)) { in testMediaStoreOpenAssetFile()
209 .openAssetFileDescriptor(mContext.getContentResolver(), uri, "r", cg)) { in testMediaStoreOpenAssetFile()
240 .openFileDescriptor(mContext.getContentResolver(), uri, "r", null)) { in testMediaStoreOpenFile_wrongAuthority()
253 .openAssetFileDescriptor(mContext.getContentResolver(), uri, "r", null)) { in testMediaStoreOpenAssetFile_wrongAuthority()
279 .openFileDescriptor(mContext.getContentResolver(), uri, "r", null)) { in testMediaStoreOpenFile_wrongScheme()
292 .openAssetFileDescriptor(mContext.getContentResolver(), uri, "r", null)) { in testMediaStoreOpenAssetFile_wrongScheme()
/cts/tests/tests/os/src/android/os/cts/
DStrictModeTestBase.java69 static void assertViolation(String expected, StrictModeBalTest.ThrowingRunnable r) in assertViolation()
77 static void assertNoViolation(StrictModeBalTest.ThrowingRunnable r) throws Exception { in assertNoViolation()
/cts/tests/tests/secure_element/src/android/secure_element/cts/
DSeFrameworkInitializerTest.java33 private static void assertThrows(Class<? extends Exception> exceptionClass, Runnable r) { in assertThrows()

12345678910