/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
D | ImageResizer.java | 120 final BitmapFactory.Options options = new BitmapFactory.Options(); in decodeSampledBitmapFromResource() local 121 options.inJustDecodeBounds = true; in decodeSampledBitmapFromResource() 122 BitmapFactory.decodeResource(res, resId, options); in decodeSampledBitmapFromResource() 125 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); in decodeSampledBitmapFromResource() 130 addInBitmapOptions(options, cache); in decodeSampledBitmapFromResource() 134 options.inJustDecodeBounds = false; in decodeSampledBitmapFromResource() 135 return BitmapFactory.decodeResource(res, resId, options); in decodeSampledBitmapFromResource() 152 final BitmapFactory.Options options = new BitmapFactory.Options(); in decodeSampledBitmapFromFile() local 153 options.inJustDecodeBounds = true; in decodeSampledBitmapFromFile() 154 BitmapFactory.decodeFile(filename, options); in decodeSampledBitmapFromFile() [all …]
|
/development/tools/bugreport/src/com/android/bugreport/ |
D | Main.java | 49 final Options options = Options.parseArgs(args); in run() local 50 if (options.errorIndex >= 0) { in run() 55 return run(options); in run() 72 public static int run(Options options) { in run() argument 78 bugreport = parser.parse(Lines.readLines(options.bugreport)); in run() 80 System.err.println("Error reading monkey file: " + options.bugreport); in run() 87 if (options.monkey != null) { in run() 90 parser.parse(bugreport, Lines.readLines(options.monkey)); in run() 92 System.err.println("Error reading bugreport file: " + options.bugreport); in run() 100 if (options.logcat != null) { in run() [all …]
|
/development/testrunner/test_defs/ |
D | instrumentation_test.py | 86 def GetBuildDependencies(self, options): argument 87 if options.coverage_target_path: 88 return [options.coverage_target_path] 91 def Run(self, options, adb): argument 105 if options.test_class is not None: 106 test_class = options.test_class.lstrip() 109 if options.test_method is not None: 110 test_class = "%s#%s" % (test_class, options.test_method) 113 if options.test_package: 114 test_package = options.test_package [all …]
|
D | host_test.py | 52 def GetBuildDependencies(self, options): argument 71 def Run(self, options, adb_interface): argument 94 path = os.path.join(options.host_lib_path, lib) 105 options.test_data_path) 107 if not options.preview:
|
D | gtest.py | 45 def Run(self, options, adb): argument 55 if options.test_class is not None: 56 test_class = options.test_class.lstrip() 57 if options.test_method is not None: 58 test_method = options.test_method.lstrip() 66 if not options.preview:
|
D | native_test.py | 34 def Run(self, options, adb): argument 90 int(options.timeout)) 94 if not success or options.verbose:
|
/development/tools/ |
D | monkey | 206 options = parser.parse_args() 208 if not options.dir: 209 options.dir = "monkeys-%s" % CurrentTimestamp() 211 if not options.packages: 212 options.packages = [ 234 return options 245 options = ParseOptions() 259 pattern = "%%0%dd" % len(str(options.runs-1)) 262 if os.path.exists(options.dir) and not os.path.isdir(options.dir): 264 % options.dir) [all …]
|
/development/gsi/gsi_util/gsi_util/utils/ |
D | sepolicy_utils.py | 20 def secilc(options, files): argument 64 for option in options: 71 if options[option] is not None: 72 cmd.append(options[option])
|
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
D | NotificationPresets.java | 72 NotificationPreset.BuildOptions options) { in applyBasicOptions() argument 73 builder.setContentTitle(options.titlePreset) in applyBasicOptions() 74 .setContentText(options.textPreset) in applyBasicOptions() 78 options.actionsPreset.apply(context, builder, wearableOptions); in applyBasicOptions() 79 options.priorityPreset.apply(builder, wearableOptions); in applyBasicOptions() 80 if (options.includeLargeIcon) { in applyBasicOptions() 84 if (options.isLocalOnly) { in applyBasicOptions() 87 if (options.hasContentIntent) { in applyBasicOptions() 91 if (options.vibrate) { in applyBasicOptions() 104 public Notification[] buildNotifications(Context context, BuildOptions options) { in buildNotifications() argument [all …]
|
/development/scripts/ |
D | architecture.py | 34 self.options = OPTIONS.get(name, {}) 38 return [symbol.ToolPath(ASSEMBLE)] + self.options.get(ASSEMBLE, []) + args 42 return [symbol.ToolPath(LINK)] + self.options.get(LINK, []) + args 46 return ([symbol.ToolPath(DISASSEMBLE)] + self.options.get(DISASSEMBLE, []) + 58 return self.options.get(UNPACK, UnpackLittleEndian)(word)
|
/development/apps/PushApiAuthenticator/src/com/example/android/pushapiauthenticator/ |
D | MyAccountAuthenticator.java | 38 String authTokenType, String[] requiredFeatures, Bundle options) { in addAccount() argument 43 String authTokenType, Bundle options) { in getAuthToken() argument 48 Bundle options) { in confirmCredentials() argument 66 String authTokenType, Bundle options) { in updateCredentials() argument
|
/development/tools/winscope/ |
D | webpack.config.common.js | 93 {loader: 'css-loader', options: {sourceMap: isDev}}, property 101 options: { property 111 options: { property 119 options: { property
|
D | webpack.spec.config.js | 59 options: { property 69 options: { property
|
/development/vndk/tools/header-checker/src/dumper/ |
D | frontend_action_factory.cpp | 29 HeaderCheckerOptions &options) in HeaderCheckerFrontendActionFactory() argument 30 : options_(options) {} in HeaderCheckerFrontendActionFactory()
|
D | frontend_action.cpp | 35 HeaderCheckerOptions &options) in HeaderCheckerFrontendAction() argument 36 : options_(options) {} in HeaderCheckerFrontendAction()
|
D | fixed_argv.h | 57 const char *GetLastArg(T&& ...options) const { in GetLastArg() argument 58 std::array<const char *, sizeof...(options)> opts{ in GetLastArg() 59 std::forward<T&&>(options)...}; in GetLastArg()
|
D | ast_processing.h | 38 HeaderASTVisitor(const HeaderCheckerOptions &options, 78 HeaderCheckerOptions &options);
|
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/ |
D | ImageLoader.java | 362 final BitmapFactory.Options options = new BitmapFactory.Options(); in decodeSampledBitmapFromDescriptor() local 363 options.inJustDecodeBounds = true; in decodeSampledBitmapFromDescriptor() 364 BitmapFactory.decodeFileDescriptor(fileDescriptor, null, options); in decodeSampledBitmapFromDescriptor() 367 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); in decodeSampledBitmapFromDescriptor() 370 options.inJustDecodeBounds = false; in decodeSampledBitmapFromDescriptor() 371 return BitmapFactory.decodeFileDescriptor(fileDescriptor, null, options); in decodeSampledBitmapFromDescriptor() 388 public static int calculateInSampleSize(BitmapFactory.Options options, in calculateInSampleSize() argument 391 final int height = options.outHeight; in calculateInSampleSize() 392 final int width = options.outWidth; in calculateInSampleSize()
|
/development/samples/DeviceAdminWhitelistedAccount/src/com/example/android/app/admin/whitelistedaccount/ |
D | MyAuthenticator.java | 73 String authTokenType, String[] requiredFeatures, Bundle options) in addAccount() argument 85 String authTokenType, Bundle options) throws NetworkErrorException { in updateCredentials() argument 91 Bundle options) throws NetworkErrorException { in confirmCredentials() argument 97 String authTokenType, Bundle options) throws NetworkErrorException { in getAuthToken() argument
|
/development/samples/RenderScript/HelloCompute/src/com/example/android/rs/hellocompute/ |
D | HelloCompute.java | 72 final BitmapFactory.Options options = new BitmapFactory.Options(); in loadBitmap() local 73 options.inPreferredConfig = Bitmap.Config.ARGB_8888; in loadBitmap() 74 return BitmapFactory.decodeResource(getResources(), resource, options); in loadBitmap()
|
/development/samples/browseable/MultiWindowPlayground/src/com/android.multiwindowplayground/ |
D | MainActivity.java | 92 ActivityOptions options = ActivityOptions.makeBasic(); in onStartLaunchBoundsActivity() local 93 options.setLaunchBounds(bounds); in onStartLaunchBoundsActivity() 97 startActivity(intent, options.toBundle()); in onStartLaunchBoundsActivity()
|
/development/tools/winscope/src/flickerlib/ |
D | ObjectFormatter.ts | 189 const options = fields[propertyName]?.options constant 190 if (!options) { 194 return options["(.android.typedef)"]
|
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
D | NonsenseGenerator.java | 155 private String pickOneOf(String ... options) { in pickOneOf() argument 156 return options[mRandom.nextInt(options.length)]; in pickOneOf()
|
/development/samples/browseable/BasicRenderScript/src/com.example.android.basicrenderscript/ |
D | MainActivity.java | 185 final BitmapFactory.Options options = new BitmapFactory.Options(); in loadBitmap() local 186 options.inPreferredConfig = Bitmap.Config.ARGB_8888; in loadBitmap() 187 return BitmapFactory.decodeResource(getResources(), resource, options); in loadBitmap()
|
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/ |
D | DetailActivity.java | 44 ActivityOptionsCompat options = ActivityOptionsCompat.makeSceneTransitionAnimation( in launch() local 46 ActivityCompat.startActivity(activity, intent, options.toBundle()); in launch()
|