Home
last modified time | relevance | path

Searched defs:source (Results 1 – 25 of 85) sorted by relevance

1234

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DBitmapDrawableTest.java130 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testAccessGravity() local
147 Bitmap source = BitmapFactory.decodeResource(mContext.getResources(), R.raw.testimage); in testAccessMipMap() local
159 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testSetAntiAlias() local
173 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testSetFilterBitmap() local
187 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testIsFilterBitmap() local
204 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testSetDither() local
219 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testAccessTileMode() local
260 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testGetChangingConfigurations() local
274 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testSetAlpha() local
295 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testSetColorFilter() local
[all …]
/cts/libs/deviceutillegacy/src/com/android/compatibility/common/util/
DSynchronousPixelCopy.java41 public int request(Surface source, Bitmap dest) { in request()
48 public int request(Surface source, Rect srcRect, Bitmap dest) { in request()
55 public int request(SurfaceView source, Bitmap dest) { in request()
62 public int request(SurfaceView source, Rect srcRect, Bitmap dest) { in request()
69 public int request(Window source, Bitmap dest) { in request()
76 public int request(Window source, Rect srcRect, Bitmap dest) { in request()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DFileCopyHelper.java63 InputStream source = mContext.getResources().openRawResource(resId); in copy() local
71 InputStream source = mContext.getResources().openRawResource(resId); in copyToExternalStorage() local
76 private void copyFile(InputStream source, OutputStream target) throws IOException { in copyFile()
DIBinderParcelable.java25 public IBinderParcelable(IBinder source) { in IBinderParcelable()
49 private IBinderParcelable(Parcel source) { in IBinderParcelable()
DTextUtils.java29 public static String extractSection(String source, in extractSection()
/cts/tests/tests/text/src/android/text/cts/
DHtmlTest.java55 final String source = "<b>hello</b>"; in testSingleTagOnWhileString() local
78 final String source = "Hello <b>b<i>bi</b>i</i>"; in testBadHtml() local
97 final String source = "&copy; &gt; &lt"; in testSymbols() local
394 String source = String.format("Hello <%s>struck</%s> world", tag, tag); in testMarkupFromHtml() local
414 String source = String.format("<%s style=\"text-align:start\">TEXT</%s>" in testTextAlignCssFromHtml() local
457 String source = "<blockquote>BLOCKQUOTE</blockquote>" in testBlockLevelElementsFromHtml() local
480 String source = "CITRUS FRUITS:<ul><li>LEMON</li><li>LIME</li><li>ORANGE</li></ul>"; in testListFromHtml() local
503 String source = "<p>Line 1</p><p>Line 2</p>"; in testParagraphFromHtml() local
532 String source = "<h1>Heading 1</h1><h1>Heading 2</h1>"; in testHeadingFromHtml() local
DInputFilter_AllCapsTest.java44 CharSequence source = "Caps"; in testFilter() local
91 final String source = "i"; in testFilter_turkish() local
102 final String source = "Lj"; // U+01C8 LATIN CAPITAL LETTER L WITH SMALL LETTER J in testFilter_titlecase() local
116 final SpannableString source = new SpannableString(lowerString); in testFilter_greekWithSpans() local
DStaticLayoutLineBreakingTest.java77 private static StaticLayout getStaticLayout(CharSequence source, int width, in getStaticLayout()
87 private static int[] getBreaks(CharSequence source) { in getBreaks()
91 private static int[] getBreaks(CharSequence source, int width, int breakStrategy) { in getBreaks()
101 private static void debugLayout(CharSequence source, StaticLayout staticLayout) { in debugLayout()
115 private static void layout(CharSequence source, int[] breaks) { in layout()
119 private static void layout(CharSequence source, int[] breaks, int width) { in layout()
149 private static void layoutMaxLines(CharSequence source, int[] breaks, int maxLines) { in layoutMaxLines()
DAlteredCharSequenceTest.java100 CharSequence source = SOURCE_STR; in testLength() local
112 CharSequence source = SOURCE_STR; in testMake() local
130 CharSequence source = SOURCE_STR; in testSubSequence() local
145 CharSequence source = SOURCE_STR; in testToString() local
DEditable_FactoryTest.java38 CharSequence source = "abc"; in testNewEditable() local
DInputFilter_LengthFilterTest.java36 CharSequence source; in testFilter() local
/cts/tests/leanbackjank/src/android/leanbackjank/cts/
DCtsJankTestBase.java36 private void printIntValueWithKey(String source, Bundle metrics, String key, in printIntValueWithKey()
44 private void printDoubleValueWithKey(String source, Bundle metrics, String key, in printDoubleValueWithKey()
59 String source = String.format("%s#%s", getClass().getCanonicalName(), getName()); in afterTest() local
/cts/tests/tests/graphics/src/android/graphics/cts/
DColorSpaceTest.java409 float[] source = { 0.75f, 0.5f, 0.25f }; in testRGBtoXYZ() local
428 float[] source = { 0.3012f, 0.2679f, 0.0840f }; in testXYZtoRGB() local
474 float[] source = { 1.0f, 0.5f, 0.0f }; in testConnector() local
515 float[] source = new float[] { 1.0f, 0.0f, 0.0f }; in testAdaptedConnector() local
533 float[] source = { 0.9f, 0.9f, 0.9f }; in testAdaptedConnectorWithRenderIntent() local
563 float[] source = new float[] { 0.11112f, 0.22227f, 0.444448f }; in testIdentityConnector() local
577 float[] source = { 1.0f, 0.0f, 0.0f }; in testConnectorTransformIdentity() local
623 float[] source = { 0.6f, 0.9f, 0.7f }; in testImplicitSRGBConnector() local
634 float[] source = { 100.0f, 0.0f, 0.0f }; in testLab() local
674 float[] source = { 0.32f, 0.43f, 0.54f }; in testXYZ() local
[all …]
/cts/tests/tests/media/src/android/media/cts/
DMediaMuxerTest.java62 int source = R.raw.video_176x144_3gp_h263_300kbps_25fps_aac_stereo_128kbps_11025hz; in testVideoAudio() local
69 int source = R.raw.video_176x144_h264_408kbps_30fps_352x288_h264_122kbps_30fps; in testDualVideoTrack() local
76 int source = R.raw.audio_aac_mono_70kbs_44100hz_aac_mono_70kbs_44100hz; in testDualAudioTrack() local
83 int source = R.raw.video_h264_30fps_video_h264_30fps_aac_44100hz_aac_44100hz; in testDualVideoAndAudioTrack() local
93 int source = in testVideoAudioMedatadata() local
104 int source = R.raw.sinesweepm4a; in testAudioOnly() local
114 int source = R.raw.video_only_176x144_3gp_h263_25fps; in testVideoOnly() local
121 int source = R.raw.video_480x360_webm_vp9_333kbps_25fps_vorbis_stereo_128kbps_48000hz; in testWebmOutput() local
128 int source = R.raw.video_176x144_3gp_h263_300kbps_12fps_aac_stereo_128kbps_22050hz; in testThreegppOutput() local
DCodecUtils.java121 public native static void copyFlexYUVImage(CodecImage target, CodecImage source); in copyFlexYUVImage()
123 public static void copyFlexYUVImage(Image target, CodecImage source) { in copyFlexYUVImage()
124 copyFlexYUVImage(ImageWrapper.createFromImage(target), source); in copyFlexYUVImage() local
126 public static void copyFlexYUVImage(Image target, Image source) { in copyFlexYUVImage()
DAudioRecordingConfigurationTest.java263 MyAudioRecordingCallback(int session, int source) { in MyAudioRecordingCallback()
282 private static boolean verifyAudioConfig(int source, int session, AudioFormat format, in verifyAudioConfig()
/cts/tests/tests/view/src/android/view/cts/
DAbsSavedStateTest.java64 Parcel source = Parcel.obtain(); in testConstructor() local
133 AbsSavedStateImpl(Parcel source) { in AbsSavedStateImpl()
137 AbsSavedStateImpl(Parcel source, ClassLoader loader) { in AbsSavedStateImpl()
DView_BaseSavedStateTest.java63 Parcel source = Parcel.obtain(); in testConstructors() local
/cts/tests/jank/src/android/jank/cts/
DCtsJankTestBase.java36 String source = String.format("%s#%s", getClass().getCanonicalName(), getName()); in afterTest() local
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DExternalStorageTest.java107 final Uri source = Uri.parse("http://www.example.com"); in testDownloadManager() local
126 final Uri source = Uri.parse("http://www.example.com"); in testDownloadManagerPackage() local
/cts/tests/tests/text/src/android/text/method/cts/
DDigitsKeyListenerTest.java83 String source = "123456"; in testFilter1() local
141 String source = "-123456"; in testFilter2() local
240 String source = "123.456"; in testFilter3() local
320 String source = "-123.456"; in testFilter4() local
429 String source = "-\u06F1\u06F2\u06F3\u066B\u06F4\u06F5\u06F6"; in testFilter4_internationalized() local
/cts/hostsidetests/security/securityPatch/CVE-2017-13253/
Dpoc.cpp67 ICrypto::SourceBuffer source = { .mSharedMemory = sourceMemory, in main() local
/cts/tests/tests/os/src/android/os/cts/
DEnvironmentTest.java58 final String source = fields[0]; in testNoAtime() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DBoxInsetLayout.java417 public LayoutParams(ViewGroup.LayoutParams source) { in LayoutParams()
421 public LayoutParams(ViewGroup.MarginLayoutParams source) { in LayoutParams()
425 public LayoutParams(FrameLayout.LayoutParams source) { in LayoutParams()
429 public LayoutParams(LayoutParams source) { in LayoutParams() method in BoxInsetLayout.LayoutParams
/cts/tests/tests/text/src/android/text/style/cts/
DImageSpanTest.java102 String source = "cts test."; in testGetSource() local

1234