/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/ndk/platforms/android-9/arch-mips/include/asm/ |
D | cpu-features.h | 30 #define cpu_has_tlb (cpu_data[0].options & MIPS_CPU_TLB) 34 #define cpu_has_4kex (cpu_data[0].options & MIPS_CPU_4KEX) 37 #define cpu_has_3k_cache (cpu_data[0].options & MIPS_CPU_3K_CACHE) 44 #define cpu_has_4k_cache (cpu_data[0].options & MIPS_CPU_4K_CACHE) 47 #define cpu_has_tx39_cache (cpu_data[0].options & MIPS_CPU_TX39_CACHE) 51 #define cpu_has_fpu (current_cpu_data.options & MIPS_CPU_FPU) 52 #define raw_cpu_has_fpu (raw_current_cpu_data.options & MIPS_CPU_FPU) 59 #define cpu_has_32fpr (cpu_data[0].options & MIPS_CPU_32FPR) 62 #define cpu_has_counter (cpu_data[0].options & MIPS_CPU_COUNTER) 66 #define cpu_has_watch (cpu_data[0].options & MIPS_CPU_WATCH) [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 | native_test.py | 34 def Run(self, options, adb): argument 90 int(options.timeout)) 94 if not success or options.verbose:
|
D | gtest.py | 45 def Run(self, options, adb): argument 54 if not options.preview:
|
D | test_suite.py | 53 def GetBuildDependencies(self, options): argument 108 def Run(self, options, adb): argument
|
/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/ndk/platforms/android-9/include/sys/ |
D | wait.h | 54 static __inline__ pid_t wait4(pid_t pid, int *status, int options, struct rusage *rusage) in wait4() argument 56 return (pid_t)syscall(__NR_wait4, pid, status, options, rusage); in wait4() 65 extern int waitid(idtype_t which, id_t id, siginfo_t *info, int 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/ndk/platforms/android-3/include/linux/mtd/ |
D | nand.h | 109 #define NAND_CANAUTOINCR(chip) (!(chip->options & NAND_NO_AUTOINCR)) 110 #define NAND_MUST_PAD(chip) (!(chip->options & NAND_NO_PADDING)) 111 #define NAND_HAS_CACHEPROG(chip) ((chip->options & NAND_CACHEPRG)) 112 #define NAND_HAS_COPYBACK(chip) ((chip->options & NAND_COPYBACK)) 201 unsigned int options; member 248 unsigned long options; member 257 int options; member 308 unsigned int options; member
|
D | bbm.h | 18 int options; member 64 int options; member
|
/development/scripts/ |
D | stack | 47 options, arguments = getopt.getopt(sys.argv[1:], "", 53 for option, value in options:
|
/development/ndk/platforms/android-3/include/sys/ |
D | wait.h | 53 static __inline__ pid_t wait4(pid_t pid, int *status, int options, struct rusage *rusage) in wait4() argument 55 return (pid_t)syscall(__NR_wait4, pid, status, options, rusage); in wait4()
|
/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/ide/emacs/ |
D | android-compile.el | 148 (options 158 (concat "make -C " topdir options) ; Build the whole image. 160 " make -C " topdir options " files ")))
|
/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/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/ndk/platforms/android-21/include/linux/netfilter/ |
D | xt_connlabel.h | 29 __u16 options; member
|
D | xt_SYNPROXY.h | 29 __u8 options; member
|
/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()
|
/development/testrunner/ |
D | create_test.py | 183 options, args = parser.parse_args(argv) 188 return (options, args) 220 options, args = _ParseArgs(argv)
|
/development/samples/browseable/DirectShare/ |
D | _index.jd | 8 This sample demonstrates how to provide the Direct Share feature. The app shows some options
|
/development/ndk/platforms/android-21/include/sys/ |
D | wait.h | 58 extern int waitid(idtype_t which, id_t id, siginfo_t *info, int options);
|