Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 56) sorted by relevance

123

/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageResizer.java120 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/
Dcpu-features.h30 #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/
Dinstrumentation_test.py86 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 …]
Dhost_test.py52 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:
Dnative_test.py34 def Run(self, options, adb): argument
90 int(options.timeout))
94 if not success or options.verbose:
Dgtest.py45 def Run(self, options, adb): argument
54 if not options.preview:
Dtest_suite.py53 def GetBuildDependencies(self, options): argument
108 def Run(self, options, adb): argument
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/
DNotificationPresets.java72 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/
Dwait.h54 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/
DImageLoader.java362 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/
Dnand.h109 #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
Dbbm.h18 int options; member
64 int options; member
/development/scripts/
Dstack47 options, arguments = getopt.getopt(sys.argv[1:], "",
53 for option, value in options:
/development/ndk/platforms/android-3/include/sys/
Dwait.h53 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/
DHelloCompute.java72 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/
Dandroid-compile.el148 (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/
DMainActivity.java92 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/
DNonsenseGenerator.java155 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/
Dxt_connlabel.h29 __u16 options; member
Dxt_SYNPROXY.h29 __u8 options; member
/development/samples/browseable/BasicRenderScript/src/com.example.android.basicrenderscript/
DMainActivity.java185 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/
DDetailActivity.java44 ActivityOptionsCompat options = ActivityOptionsCompat.makeSceneTransitionAnimation( in launch() local
46 ActivityCompat.startActivity(activity, intent, options.toBundle()); in launch()
/development/testrunner/
Dcreate_test.py183 options, args = parser.parse_args(argv)
188 return (options, args)
220 options, args = _ParseArgs(argv)
/development/samples/browseable/DirectShare/
D_index.jd8 This sample demonstrates how to provide the Direct Share feature. The app shows some options
/development/ndk/platforms/android-21/include/sys/
Dwait.h58 extern int waitid(idtype_t which, id_t id, siginfo_t *info, int options);

123