/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapRegionDecoderTest.java | 210 Options opts = new BitmapFactory.Options(); in testDecodeRegionInputStream() local 214 opts.inSampleSize = SAMPLESIZES[j]; in testDecodeRegionInputStream() 215 opts.inPreferredConfig = COLOR_CONFIGS[k]; in testDecodeRegionInputStream() 220 Bitmap wholeImage = BitmapFactory.decodeStream(is2, null, opts); in testDecodeRegionInputStream() 223 compareRegionByRegion(decoder, opts, MSE_MARGIN_WEB_P_CONFIG_RGB_565, in testDecodeRegionInputStream() 226 compareRegionByRegion(decoder, opts, MSE_MARGIN, wholeImage); in testDecodeRegionInputStream() 237 Options opts = new BitmapFactory.Options(); in testDecodeRegionInputStreamInBitmap() local 241 opts.inSampleSize = SAMPLESIZES[j]; in testDecodeRegionInputStreamInBitmap() 242 opts.inPreferredConfig = COLOR_CONFIGS[k]; in testDecodeRegionInputStreamInBitmap() 243 opts.inBitmap = null; in testDecodeRegionInputStreamInBitmap() [all …]
|
D | BitmapColorSpaceTest.java | 327 BitmapFactory.Options opts = new BitmapFactory.Options(); in reconfigure() local 328 opts.inMutable = true; in reconfigure() 329 opts.inPreferredConfig = config; in reconfigure() 331 Bitmap b = BitmapFactory.decodeStream(in, null, opts); in reconfigure() 354 BitmapFactory.Options opts = new BitmapFactory.Options(); in reuse() local 355 opts.inMutable = true; in reuse() 359 bitmap1 = BitmapFactory.decodeStream(in, null, opts); in reuse() 368 opts.inBitmap = bitmap1; in reuse() 370 Bitmap bitmap2 = BitmapFactory.decodeStream(in, null, opts); in reuse() 477 BitmapFactory.Options opts = new BitmapFactory.Options(); in verifySetPixel() local [all …]
|
D | BitmapFactoryTest.java | 369 BitmapFactory.Options opts = new BitmapFactory.Options(); in testDecodeFileDescriptor3() local 370 opts.inPurgeable = purgeable; in testDecodeFileDescriptor3() 371 opts.inInputShareable = purgeable; in testDecodeFileDescriptor3() 385 Bitmap b = BitmapFactory.decodeFileDescriptor(fd, null, opts); in testDecodeFileDescriptor3() 396 b = BitmapFactory.decodeFileDescriptor(fd, null, opts); in testDecodeFileDescriptor3() 709 BitmapFactory.Options opts = new BitmapFactory.Options(); in testParcel() local 710 opts.inScaled = false; in testParcel() 711 Bitmap b = BitmapFactory.decodeResource(mRes, R.drawable.gif_test, opts); in testParcel() 943 Options opts = new BitmapFactory.Options(); in decodeConfigs() local 944 opts.inScaled = false; in decodeConfigs() [all …]
|
D | BitmapTest.java | 2277 BitmapFactory.Options opts = new BitmapFactory.Options(); in testHardwareBitmapNotLeaking() local 2278 opts.inPreferredConfig = Config.HARDWARE; in testHardwareBitmapNotLeaking() 2279 opts.inScaled = false; in testHardwareBitmapNotLeaking() 2282 Bitmap bitmap = BitmapFactory.decodeResource(mRes, R.drawable.robot, opts); in testHardwareBitmapNotLeaking() 2312 BitmapFactory.Options opts = new BitmapFactory.Options(); in testDrawingHardwareBitmapNotLeaking() local 2313 opts.inPreferredConfig = Config.HARDWARE; in testDrawingHardwareBitmapNotLeaking() 2314 opts.inScaled = false; in testDrawingHardwareBitmapNotLeaking() 2320 Bitmap bitmap = BitmapFactory.decodeResource(mRes, R.drawable.robot, opts); in testDrawingHardwareBitmapNotLeaking()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | single_source_script.rscript | 44 rs_script_call_t opts = {}; 45 opts.xStart = 0; 46 opts.xEnd = dimX; 47 opts.yStart = 0; 48 opts.yEnd = dimY / 2; 49 rsForEachWithOptions(foo, &opts, in, out); 54 rs_script_call_t opts = {}; 55 opts.xStart = 0; 56 opts.xEnd = dimX; 57 opts.yStart = 0; [all …]
|
/cts/apps/CameraITS/tests/scene3/ |
D | test_flip_mirror.py | 96 opts = [] 111 opts.append(opt_val) 114 if opts[0] != max(opts): # 'nominal' is not best orientation 119 if opts[3] != max(opts): # allow 'rotated' < ANDROID15
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | LaunchIntoPipHostActivity.java | 75 final ActivityOptions opts = ActivityOptions.makeLaunchIntoPip(params); in startLaunchIntoPipContainerActivity() local 76 startActivity(intent, opts.toBundle()); in startLaunchIntoPipContainerActivity()
|
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ |
D | BaseShortcutManagerHostTest.java | 130 final DeviceTestRunOptions opts = new DeviceTestRunOptions(pkgName); in runDeviceTestsAsUser() local 135 opts.setTestClassName(testClassName); in runDeviceTestsAsUser() 138 opts.setTestMethodName(testMethodName); in runDeviceTestsAsUser() 140 opts.setUserId(userId); in runDeviceTestsAsUser() 142 runDeviceTests(opts); in runDeviceTestsAsUser()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | InputConnectionSplitter.java | 230 public boolean commitContent(InputContentInfo inputContentInfo, int flags, Bundle opts) { in commitContent() argument 231 mForNotify.commitContent(inputContentInfo, flags, opts); in commitContent() 232 return super.commitContent(inputContentInfo, flags, opts); in commitContent()
|
D | NoOpInputConnection.java | 166 public boolean commitContent(InputContentInfo inputContentInfo, int flags, Bundle opts) { in commitContent() argument
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ActivityManagerTest.java | 236 ActivityOptions opts = ActivityOptions.makeRemoteTransition(someRemote); 244 final Bundle optionsBundle = opts.toBundle(); 280 ActivityOptions opts = ActivityOptions.makeRemoteTransition(someRemote); in testActivityManager_rejectRemoteTransition() local 286 getInstrumentation().startActivitySync(baseIntent, opts.toBundle()); in testActivityManager_rejectRemoteTransition()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | DocumentsContractTest.java | 406 final Bundle opts = new Bundle(); in testOpenDocumentThumbnail() local 407 opts.putParcelable(ContentResolver.EXTRA_SIZE, size); in testOpenDocumentThumbnail() 410 assertEquals(res, mResolver.openTypedAssetFile(URI_RED, MIME_TYPE, opts, null)); in testOpenDocumentThumbnail() 485 final Bundle opts = new Bundle(); in testGetDocumentThumbnail() local 486 opts.putParcelable(ContentResolver.EXTRA_SIZE, size); in testGetDocumentThumbnail()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | NoOpInputConnection.java | 166 int flags, @Nullable Bundle opts) { in commitContent() argument
|
D | HandlerInputConnection.java | 187 public boolean commitContent(InputContentInfo inputContentInfo, int flags, Bundle opts) { in commitContent() argument
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | MockContentProvider.java | 81 public void writeDataToPipe(ParcelFileDescriptor output, Uri uri, String mimeType, Bundle opts, in writeDataToPipe() argument
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ColorSpaceTests.java | 343 BitmapFactory.Options opts = new BitmapFactory.Options(); in loadAsset() local 344 opts.inPreferredConfig = config; in loadAsset() 346 bitmap = BitmapFactory.decodeStream(in, null, opts); in loadAsset()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | MockContentProvider.java | 406 public AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts) in openTypedAssetFile() argument 417 return super.openTypedAssetFile(uri, mimeTypeFilter, opts); in openTypedAssetFile() 422 public void writeDataToPipe(ParcelFileDescriptor output, Uri uri, String mimeType, Bundle opts, in writeDataToPipe() argument
|
D | ContentProviderTest.java | 548 @NonNull String mimeType, @Nullable Bundle opts, @Nullable String args) { in writeDataToPipe() argument
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputConnectionDefaultMethodTest.java | 335 public boolean commitContent(InputContentInfo inputContentInfo, int flags, Bundle opts) { in commitContent() argument 336 return mDelegate.commitContent(inputContentInfo, flags, opts); in commitContent()
|
D | InputConnectionEndToEndTest.java | 2544 Bundle opts) { 2548 args.putBundle("opts", opts); 2560 final Bundle opts = args.getBundle("opts"); 2565 assertNotNull(opts); 2566 assertEquals(expectedOpt.getInt(expectedOptKey), opts.getInt(expectedOptKey)); 2598 Bundle opts) { 2602 args.putBundle("opts", opts); 2618 final Bundle opts = args.getBundle("opts"); 2623 assertNotNull(opts); 2624 assertEquals(expectedOpt.getInt(expectedOptKey), opts.getInt(expectedOptKey)); [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewReceiveContentTest.java | 845 final Bundle opts; in triggerImeCommitContent() local 847 opts = null; in triggerImeCommitContent() 849 opts = new Bundle(); in triggerImeCommitContent() 850 opts.putString(ContentInfoArgumentMatcher.EXTRA_KEY, extra); in triggerImeCommitContent() 854 return ic.commitContent(contentInfo, 0, opts); in triggerImeCommitContent()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | NinePatchDrawableTest.java | 671 BitmapFactory.Options opts = new BitmapFactory.Options(); in getBitmapUnscaled() local 672 opts.inDensity = opts.inTargetDensity = mResources.getDisplayMetrics().densityDpi; in getBitmapUnscaled() 673 Bitmap bitmap = BitmapFactory.decodeResource(mResources, resId, opts); in getBitmapUnscaled()
|
/cts/tests/mediaprovider/src/android/provider/cts/media/ |
D | MediaStore_Images_ThumbnailsTest.java | 189 BitmapFactory.Options opts = new BitmapFactory.Options(); in testQueryExternalMiniThumbnails() local 190 opts.inTargetDensity = DisplayMetrics.DENSITY_XHIGH; in testQueryExternalMiniThumbnails() 191 Bitmap src = BitmapFactory.decodeResource(mContext.getResources(), R.raw.scenery, opts); in testQueryExternalMiniThumbnails()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockImeSession.java | 1512 @Nullable Bundle opts) { in callCommitContent() argument 1516 params.putBundle("opts", opts); in callCommitContent()
|
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/ |
D | MyDocumentsProvider.java | 456 String documentId, String mimeTypeFilter, Bundle opts, CancellationSignal signal) in openTypedDocument() argument
|