/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 | 325 BitmapFactory.Options opts = new BitmapFactory.Options(); in reconfigure() local 326 opts.inMutable = true; in reconfigure() 327 opts.inPreferredConfig = config; in reconfigure() 329 Bitmap b = BitmapFactory.decodeStream(in, null, opts); in reconfigure() 352 BitmapFactory.Options opts = new BitmapFactory.Options(); in reuse() local 353 opts.inMutable = true; in reuse() 357 bitmap1 = BitmapFactory.decodeStream(in, null, opts); in reuse() 366 opts.inBitmap = bitmap1; in reuse() 368 Bitmap bitmap2 = BitmapFactory.decodeStream(in, null, opts); in reuse() 475 BitmapFactory.Options opts = new BitmapFactory.Options(); in verifySetPixel() local [all …]
|
D | BitmapFactoryTest.java | 352 BitmapFactory.Options opts = new BitmapFactory.Options(); in testDecodeFileDescriptor3() local 353 opts.inPurgeable = purgeable; in testDecodeFileDescriptor3() 354 opts.inInputShareable = purgeable; in testDecodeFileDescriptor3() 368 Bitmap b = BitmapFactory.decodeFileDescriptor(fd, null, opts); in testDecodeFileDescriptor3() 379 b = BitmapFactory.decodeFileDescriptor(fd, null, opts); in testDecodeFileDescriptor3() 692 BitmapFactory.Options opts = new BitmapFactory.Options(); in testParcel() local 693 opts.inScaled = false; in testParcel() 694 Bitmap b = BitmapFactory.decodeResource(mRes, R.drawable.gif_test, opts); in testParcel() 926 Options opts = new BitmapFactory.Options(); in decodeConfigs() local 927 opts.inScaled = false; in decodeConfigs() [all …]
|
D | BitmapTest.java | 2291 BitmapFactory.Options opts = new BitmapFactory.Options(); in testHardwareBitmapNotLeaking() local 2292 opts.inPreferredConfig = Config.HARDWARE; in testHardwareBitmapNotLeaking() 2293 opts.inScaled = false; in testHardwareBitmapNotLeaking() 2296 Bitmap bitmap = BitmapFactory.decodeResource(mRes, R.drawable.robot, opts); in testHardwareBitmapNotLeaking() 2326 BitmapFactory.Options opts = new BitmapFactory.Options(); in testDrawingHardwareBitmapNotLeaking() local 2327 opts.inPreferredConfig = Config.HARDWARE; in testDrawingHardwareBitmapNotLeaking() 2328 opts.inScaled = false; in testDrawingHardwareBitmapNotLeaking() 2334 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 | 100 opts = [] 114 opts.append(opt_val) 117 if not (opts[0] == max(opts) or opts[3] == max(opts)): 121 if opts[3] == max(opts):
|
/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/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ColorSpaceTests.java | 174 BitmapFactory.Options opts = new BitmapFactory.Options(); in loadAsset() local 175 opts.inPreferredConfig = config; in loadAsset() 177 bitmap = BitmapFactory.decodeStream(in, null, opts); in loadAsset()
|
/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/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/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
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewReceiveContentTest.java | 836 final Bundle opts; in triggerImeCommitContent() local 838 opts = null; in triggerImeCommitContent() 840 opts = new Bundle(); in triggerImeCommitContent() 841 opts.putString(ContentInfoArgumentMatcher.EXTRA_KEY, extra); in triggerImeCommitContent() 845 return ic.commitContent(contentInfo, 0, opts); in triggerImeCommitContent()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputConnectionBlockingMethodTest.java | 865 Bundle opts) { in testCommitContent() argument 869 assertEquals(expectedOpt.getInt(expectedOptKey), opts.getInt(expectedOptKey)); in testCommitContent() 897 Bundle opts) { in testCommitContentFailWithTimeout() argument 931 Bundle opts) { in testCommitContentFailFastAfterUnbindInput() argument
|
/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/tests/provider/src/android/provider/cts/media/ |
D | MediaStore_Images_ThumbnailsTest.java | 194 BitmapFactory.Options opts = new BitmapFactory.Options(); in testQueryExternalMiniThumbnails() local 195 opts.inTargetDensity = DisplayMetrics.DENSITY_XHIGH; in testQueryExternalMiniThumbnails() 196 Bitmap src = BitmapFactory.decodeResource(mContext.getResources(), R.raw.scenery,opts); in testQueryExternalMiniThumbnails()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockImeSession.java | 1018 @Nullable Bundle opts) { in callCommitContent() argument 1022 params.putBundle("opts", opts); in callCommitContent()
|
D | MockIme.java | 319 final Bundle opts = command.getExtras().getBundle("opts"); in onHandleCommand() 321 inputContentInfo, flags, opts); in onHandleCommand()
|
/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
|