Home
last modified time | relevance | path

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

123456789

/cts/libs/deviceutillegacy/src/com/android/compatibility/common/util/
DSynchronousPixelCopy.java46 public int request(Surface source, Bitmap dest) { in request()
54 public int request(Surface source, Rect srcRect, Bitmap dest) { in request()
62 public int request(SurfaceView source, Bitmap dest) { in request()
70 public int request(SurfaceView source, Rect srcRect, Bitmap dest) { in request()
78 public int request(Window source, Bitmap dest) { in request()
86 public int request(Window source, Rect srcRect, Bitmap dest) { in request()
154 public static PixelCopy.Result copySurface(Surface source, in copySurface()
164 public static PixelCopy.Result copySurface(Surface source) { in copySurface()
169 public static PixelCopy.Result copySurface(SurfaceView source, in copySurface()
179 public static PixelCopy.Result copySurface(SurfaceView source) { in copySurface()
[all …]
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DBitmapDrawableTest.java125 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testAccessGravity() local
142 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testBitmapDrawableOpticalInset() local
159 Bitmap source = BitmapFactory.decodeResource(mContext.getResources(), R.raw.testimage); in testAccessMipMap() local
171 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testSetAntiAlias() local
185 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testSetFilterBitmap() local
199 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testIsFilterBitmap() local
216 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testSetDither() local
231 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testAccessTileMode() local
272 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testGetChangingConfigurations() local
286 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testSetAlpha() local
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DFileCopyHelper.java64 InputStream source = mContext.getResources().openRawResource(resId); in copy() local
72 InputStream source = new FileInputStream(res); in copyToExternalStorage() local
78 InputStream source = mContext.getResources().openRawResource(resId); in copyToExternalStorage() local
83 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()
/cts/tests/tests/text/src/android/text/cts/
DInputFilter_AllCapsTest.java45 CharSequence source = "Caps"; in testFilter() local
92 final String source = "i"; in testFilter_turkish() local
103 final String source = "Lj"; // U+01C8 LATIN CAPITAL LETTER L WITH SMALL LETTER J in testFilter_titlecase() local
117 final SpannableString source = new SpannableString(lowerString); in testFilter_greekWithSpans() local
DHtmlTest.java60 final String source = "<b>hello</b>"; in testSingleTagOnWhileString() local
83 final String source = "Hello <b>b<i>bi</b>i</i>"; in testBadHtml() local
102 final String source = "&copy; &gt; &lt"; in testSymbols() local
453 String source = String.format("Hello <%s>struck</%s> world", tag, tag); in testMarkupFromHtml() local
473 String source = String.format("<%s style=\"text-align:start\">TEXT</%s>" in testTextAlignCssFromHtml() local
516 String source = "<blockquote>BLOCKQUOTE</blockquote>" in testBlockLevelElementsFromHtml() local
539 String source = "CITRUS FRUITS:<ul><li>LEMON</li><li>LIME</li><li>ORANGE</li></ul>"; in testListFromHtml() local
562 String source = "<p>Line 1</p><p>Line 2</p>"; in testParagraphFromHtml() local
591 String source = "<h1>Heading 1</h1><h1>Heading 2</h1>"; in testHeadingFromHtml() local
DStaticLayoutLineBreakingTest.java79 private static StaticLayout getStaticLayout(CharSequence source, int width, in getStaticLayout()
89 private static int[] getBreaks(CharSequence source) { in getBreaks()
93 private static int[] getBreaks(CharSequence source, int width, int breakStrategy) { in getBreaks()
103 private static void debugLayout(CharSequence source, StaticLayout staticLayout) { in debugLayout()
117 private static void layout(CharSequence source, int[] breaks) { in layout()
121 private static void layout(CharSequence source, int[] breaks, int width) { in layout()
151 private static void layoutMaxLines(CharSequence source, int[] breaks, int maxLines) { in layoutMaxLines()
DAlteredCharSequenceTest.java101 CharSequence source = SOURCE_STR; in testLength() local
113 CharSequence source = SOURCE_STR; in testMake() local
131 CharSequence source = SOURCE_STR; in testSubSequence() local
146 CharSequence source = SOURCE_STR; in testToString() local
DEditable_FactoryTest.java39 CharSequence source = "abc"; in testNewEditable() local
/cts/tests/leanbackjank/src/android/leanbackjank/cts/
DCtsJankTestBase.java37 private void printIntValueWithKey(String source, Bundle metrics, String key, in printIntValueWithKey()
45 private void printDoubleValueWithKey(String source, Bundle metrics, String key, in printDoubleValueWithKey()
60 String source = String.format("%s#%s", getClass().getCanonicalName(), getName()); in afterTest() local
/cts/tests/tests/view/src/android/view/cts/
DAbsSavedStateTest.java65 Parcel source = Parcel.obtain(); in testConstructor() local
134 AbsSavedStateImpl(Parcel source) { in AbsSavedStateImpl()
138 AbsSavedStateImpl(Parcel source, ClassLoader loader) { in AbsSavedStateImpl()
DViewReceiveContentTest.java227 private static ContentInfo sampleUriPayload(int source, String ... mimeTypes) { in sampleUriPayload()
234 private static ContentInfo contentEq(ClipData clip, int source, int flags) { in contentEq()
243 private ContentInfoArgumentMatcher(ClipData clip, int source, int flags) { in ContentInfoArgumentMatcher()
/cts/tests/tests/graphics/src/android/graphics/cts/
DColorSpaceTest.java415 float[] source = { 0.75f, 0.5f, 0.25f }; in testRGBtoXYZ() local
434 float[] source = { 0.3012f, 0.2679f, 0.0840f }; in testXYZtoRGB() local
480 float[] source = { 1.0f, 0.5f, 0.0f }; in testConnector() local
521 float[] source = new float[] { 1.0f, 0.0f, 0.0f }; in testAdaptedConnector() local
539 float[] source = { 0.9f, 0.9f, 0.9f }; in testAdaptedConnectorWithRenderIntent() local
569 float[] source = new float[] { 0.11112f, 0.22227f, 0.444448f }; in testIdentityConnector() local
583 float[] source = { 1.0f, 0.0f, 0.0f }; in testConnectorTransformIdentity() local
629 float[] source = { 0.6f, 0.9f, 0.7f }; in testImplicitSRGBConnector() local
640 float[] source = { 100.0f, 0.0f, 0.0f }; in testLab() local
680 float[] source = { 0.32f, 0.43f, 0.54f }; in testXYZ() local
[all …]
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DBaseInputConnectionTest.java213 final CharSequence source = clearSelection ? initialState in verifyDeleteSurroundingTextMain() local
290 final CharSequence source = InputConnectionTestUtils.formatString(initialState); in verifyDeleteSurroundingTextInCodePointsMain() local
400 final CharSequence source = "0123456789"; in testCloseConnection() local
449 final CharSequence source = InputConnectionTestUtils.formatString("123456789[]"); in testGetSurroundingText_hasTextBeforeSelection() local
479 final CharSequence source = InputConnectionTestUtils.formatString("[]123456789"); in testGetSurroundingText_hasTextAfterSelection() local
509 final CharSequence source = InputConnectionTestUtils.formatString("123[45]6789"); in testGetSurroundingText_hasSelection() local
554 final CharSequence source = InputConnectionTestUtils.formatString("hello[]"); in testInvalidGetTextBeforeOrAfterCursorRequest() local
664 final CharSequence source = InputConnectionTestUtils.formatString(initialState); in verifyReplaceText() local
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DHdmiCecClientWrapper.java223 public void sendCecMessage(LogicalAddress source, CecOperand message) in sendCecMessage()
232 public void sendCecMessage(LogicalAddress source, CecOperand message, String params) in sendCecMessage()
242 LogicalAddress source, LogicalAddress destination, CecOperand message) in sendCecMessage()
251 public void broadcastActiveSource(LogicalAddress source) throws CecClientWrapperException { in broadcastActiveSource()
264 public void broadcastActiveSource(LogicalAddress source, int physicalAddressOfActiveDevice) in broadcastActiveSource()
278 public void broadcastReportPhysicalAddress(LogicalAddress source) in broadcastReportPhysicalAddress()
295 public void broadcastReportPhysicalAddress(LogicalAddress source, int physicalAddressToReport) in broadcastReportPhysicalAddress()
313 LogicalAddress source, LogicalAddress destination, CecOperand message, String params) in sendCecMessage()
328 LogicalAddress source, List<Integer> keycodes) throws CecClientWrapperException { in sendMultipleUserControlPressAndRelease()
356 public void sendUserControlPressAndRelease(LogicalAddress source, int keycode, boolean holdKey) in sendUserControlPressAndRelease()
[all …]
/cts/tests/tests/hardware/res/raw/
Dgoogle_pixelusbcearbuds_keyeventtests.json8 "source": "KEYBOARD", string
19 "source": "KEYBOARD", string
32 "source": "KEYBOARD", string
45 "source": "KEYBOARD", string
Dgoogle_atvreferenceremote_keyeventtests.json8 "source": "KEYBOARD | DPAD", string
20 "source": "KEYBOARD | DPAD", string
32 "source": "KEYBOARD | DPAD", string
44 "source": "KEYBOARD | DPAD", string
56 "source": "KEYBOARD | DPAD", string
68 "source": "KEYBOARD | DPAD", string
80 "source": "KEYBOARD | DPAD", string
92 "source": "KEYBOARD | DPAD", string
104 "source": "KEYBOARD | DPAD", string
116 "source": "KEYBOARD | DPAD", string
[all …]
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2044/
Dpoc.cpp40 sp<APacketSource> source = new APacketSource(desc, 1); in main() local
/cts/tests/tests/media/muxer/src/android/media/muxer/cts/
DMediaMuxerTest.java97 final String source = in testWebmOutput() local
112 final String source = "sample_heif.heic"; in testHEICOutputInHEIF() local
126 final String source = "sample_avif.avif"; in testAVIFOutputInHEIF() local
140 final String source = in testAV1OutputInMP4() local
154 final String source = "video_1280x720_mp4_av1_2000kbps_30fps.mp4"; in testAV1VideoOnlyOutputInMP4() local
171 final String source = "video_dovi_1920x1080_60fps_dvhe_08_04.mp4"; in testDolbyVisionVideoOnlyP8() local
193 final String source = "video_dovi_1920x1080_60fps_dvav_09_02.mp4"; in testDolbyVisionVideoOnlyP9() local
221 final String source = "video_h264_main_b_frames.mp4"; in testSimulateAudioBVideoFramesDropIssues() local
242 final String source = "video_480x360_mp4_h264_bframes_495kbps_30fps_editlist.mp4"; in testTimestampsBVideoOnlyFramesDropOnce() local
265 final String source = "video_480x360_mp4_h264_bframes_495kbps_30fps_editlist.mp4"; in testTimestampsBVideoOnlyFramesDropTwice() local
[all …]
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/common/
DHdmiCecPowerStatusTest.java303 LogicalAddress source = hasDeviceType(HdmiCecConstants.CEC_DEVICE_TYPE_TV) in cect_hf4_6_8_userControlPressed_powerOn() local
332 LogicalAddress source = hasDeviceType(HdmiCecConstants.CEC_DEVICE_TYPE_TV) in cect_hf4_6_10_userControlPressed_powerOff() local
417 LogicalAddress source = hdmiCecClient.getSelfDevice(); in cect_hf_4_6_28_testPowerUcpHandling() local
/cts/apps/CtsVerifier/jni/megaaudio/player/
DPlayer.h26 Player(AudioSource* source, int32_t subtype) : OboeStream(subtype), mAudioSource(source) {} in Player()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DAnimatedImageDrawableTest.kt53 val source = ImageDecoder.createSource(getAssets(), in <lambda>() constant
56 decoder, info, source -> in <lambda>() method
84 val source = ImageDecoder.createSource(getAssets(), TEST_FILE) in <lambda>() constant
168 decoder, info, source -> in <lambda>() method
178 decoder, info, source -> in <lambda>() method
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/view/
DSurfaceControlHelperTest.java37 SurfaceControl source = new SurfaceControl.Builder().setBufferSize(width, hegiht) in testMirrorSurface() local
/cts/tests/tests/content/src/android/content/pm/cts/
DProviderInfoListTest.java48 final ProviderInfoList source = ProviderInfoList.fromList(providers); in testApplicationInfoSquashed() local
/cts/tests/tests/os/src/android/os/cts/
DEnvironmentTest.java77 final String source = fields[0]; in testNoAtime() local
97 final String source = fields[0]; in testHidePid2() local

123456789