Home
last modified time | relevance | path

Searched defs:source (Results 1 – 25 of 220) 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.java67 Parcel source = Parcel.obtain(); in testConstructor() local
136 AbsSavedStateImpl(Parcel source) { in AbsSavedStateImpl()
140 AbsSavedStateImpl(Parcel source, ClassLoader loader) { in AbsSavedStateImpl()
DViewReceiveContentTest.java238 private static ContentInfo sampleUriPayload(int source, String ... mimeTypes) { in sampleUriPayload()
245 private static ContentInfo contentEq(ClipData clip, int source, int flags) { in contentEq()
254 private ContentInfoArgumentMatcher(ClipData clip, int source, int flags) { in ContentInfoArgumentMatcher()
/cts/tests/tests/graphics/src/android/graphics/cts/
DColorSpaceTest.java467 float[] source = { 0.75f, 0.5f, 0.25f }; in testRGBtoXYZ() local
486 float[] source = { 0.3012f, 0.2679f, 0.0840f }; in testXYZtoRGB() local
532 float[] source = { 1.0f, 0.5f, 0.0f }; in testConnector() local
573 float[] source = new float[] { 1.0f, 0.0f, 0.0f }; in testAdaptedConnector() local
591 float[] source = { 0.9f, 0.9f, 0.9f }; in testAdaptedConnectorWithRenderIntent() local
621 float[] source = new float[] { 0.11112f, 0.22227f, 0.444448f }; in testIdentityConnector() local
635 float[] source = { 1.0f, 0.0f, 0.0f }; in testConnectorTransformIdentity() local
681 float[] source = { 0.6f, 0.9f, 0.7f }; in testImplicitSRGBConnector() local
692 float[] source = { 100.0f, 0.0f, 0.0f }; in testLab() local
734 float[] source = { 100.0f, 0.0f, 0.0f }; in testOkLab() local
[all …]
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DBaseInputConnectionTest.java215 final CharSequence source = clearSelection ? initialState in verifyDeleteSurroundingTextMain() local
292 final CharSequence source = InputConnectionTestUtils.formatString(initialState); in verifyDeleteSurroundingTextInCodePointsMain() local
402 final CharSequence source = "0123456789"; in testCloseConnection() local
451 final CharSequence source = InputConnectionTestUtils.formatString("123456789[]"); in testGetSurroundingText_hasTextBeforeSelection() local
481 final CharSequence source = InputConnectionTestUtils.formatString("[]123456789"); in testGetSurroundingText_hasTextAfterSelection() local
511 final CharSequence source = InputConnectionTestUtils.formatString("123[45]6789"); in testGetSurroundingText_hasSelection() local
556 final CharSequence source = InputConnectionTestUtils.formatString("hello[]"); in testInvalidGetTextBeforeOrAfterCursorRequest() local
666 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
Dgravis_gamepadprousb_keyeventtests.json8 "source": "KEYBOARD | GAMEPAD", string
20 "source": "KEYBOARD | GAMEPAD", string
32 "source": "KEYBOARD | GAMEPAD", string
44 "source": "KEYBOARD | GAMEPAD", string
56 "source": "KEYBOARD | GAMEPAD", string
68 "source": "KEYBOARD | GAMEPAD", string
80 "source": "KEYBOARD | GAMEPAD", string
92 "source": "KEYBOARD | GAMEPAD", string
104 "source": "KEYBOARD | GAMEPAD", string
116 "source": "KEYBOARD | GAMEPAD", string
Dgravis_gamepadprousb_motioneventtests.json7 "source": "JOYSTICK", string
17 "source": "JOYSTICK", string
29 "source": "JOYSTICK", string
41 "source": "JOYSTICK", string
53 "source": "JOYSTICK", 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.java98 final String source = in testWebmOutput() local
113 final String source = "sample_heif.heic"; in testHEICOutputInHEIF() local
127 final String source = "sample_avif.avif"; in testAVIFOutputInHEIF() local
141 final String source = in testAV1OutputInMP4() local
155 final String source = "video_1280x720_mp4_av1_2000kbps_30fps.mp4"; in testAV1VideoOnlyOutputInMP4() local
172 final String source = "video_dovi_1920x1080_60fps_dvhe_08_04.mp4"; in testDolbyVisionVideoOnlyP8() local
194 final String source = "video_dovi_1920x1080_60fps_dvav_09_02.mp4"; in testDolbyVisionVideoOnlyP9() local
222 final String source = "video_h264_main_b_frames.mp4"; in testSimulateAudioBVideoFramesDropIssues() local
243 final String source = "video_480x360_mp4_h264_bframes_495kbps_30fps_editlist.mp4"; in testTimestampsBVideoOnlyFramesDropOnce() local
266 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.java305 LogicalAddress source = hasDeviceType(HdmiCecConstants.CEC_DEVICE_TYPE_TV) in cect_hf4_6_8_userControlPressed_powerOn() local
334 LogicalAddress source = hasDeviceType(HdmiCecConstants.CEC_DEVICE_TYPE_TV) in cect_hf4_6_10_userControlPressed_powerOff() local
420 LogicalAddress source = hdmiCecClient.getSelfDevice(); in cect_hf_4_6_28_testPowerUcpHandling() local
/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/apps/CtsVerifier/jni/megaaudio/player/
DPlayer.h26 Player(AudioSource* source, int32_t subtype) : OboeStream(subtype), mAudioSource(source) {} in Player()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DStubMotionInterceptingAccessibilityService.java110 public void injectAndAwaitMotionEvent(UiAutomation uiAutomation, int source, long timeoutMs) { in injectAndAwaitMotionEvent()
136 private MotionEvent createMotionEvent(int source) { in createMotionEvent()

123456789