Searched refs:options (Results 1 - 25 of 28) sorted by relevance

12

/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/
H A DImageResizer.java115 final BitmapFactory.Options options = new BitmapFactory.Options();
116 options.inJustDecodeBounds = true;
117 BitmapFactory.decodeResource(res, resId, options);
120 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
123 options.inJustDecodeBounds = false;
124 return BitmapFactory.decodeResource(res, resId, options);
140 final BitmapFactory.Options options = new BitmapFactory.Options();
141 options.inJustDecodeBounds = true;
142 BitmapFactory.decodeFile(filename, options);
191 calculateInSampleSize(BitmapFactory.Options options, int reqWidth, int reqHeight) argument
[all...]
/development/ndk/platforms/android-9/arch-mips/include/asm/
H A 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
[all...]
H A Dcpu-info.h44 unsigned long options; member in struct:cpuinfo_mips
/development/testrunner/test_defs/
H A Dhost_test.py52 def GetBuildDependencies(self, options):
71 def Run(self, options, adb_interface):
77 options: command line options for running host tests. Expected member
94 path = os.path.join(options.host_lib_path, lib)
105 options.test_data_path)
107 if not options.preview:
H A Dinstrumentation_test.py86 def GetBuildDependencies(self, options):
87 if options.coverage_target_path:
88 return [options.coverage_target_path]
91 def Run(self, options, adb):
97 options: command line options to provide to test run
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
[all...]
H A Dnative_test.py34 def Run(self, options, adb):
49 options: command line options
90 int(options.timeout))
94 if not success or options.verbose:
H A Dgtest.py45 def Run(self, options, adb):
49 options: command line options
54 if not options.preview:
H A Dtest_suite.py52 def GetBuildDependencies(self, options):
99 def Run(self, options, adb):
104 options: global command line options
/development/ndk/platforms/android-3/include/linux/mtd/
H A Dbbm.h18 int options; member in struct:nand_bbt_descr
64 int options; member in struct:bbm_info
H A 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 in struct:nand_chip
248 unsigned long options; member in struct:nand_flash_dev
257 int options; member in struct:nand_bbt_descr
308 unsigned int options; member in struct:platform_nand_chip
/development/ide/emacs/
H A Dandroid-compile.el148 (options
158 (concat "make -C " topdir options) ; Build the whole image.
160 " make -C " topdir options " files ")))
/development/samples/RenderScript/HelloCompute/src/com/example/android/rs/hellocompute/
H A DHelloCompute.java70 final BitmapFactory.Options options = new BitmapFactory.Options();
71 options.inPreferredConfig = Bitmap.Config.ARGB_8888;
72 return BitmapFactory.decodeResource(getResources(), resource, options);
/development/scripts/
H A Ddivide_and_compress.py72 def VerifyArguments(options, parser):
76 options: The command line options passed.
80 if options.sourcefiles is None or options.destination is None:
356 (options, unused_args) = parser.parse_args(args=argv[1:])
357 VerifyArguments(options, parser)
358 zipper = DirectoryZipper(options.destination,
359 options.sourcefiles,
360 ParseSize(options
[all...]
H A Dstack23 print " usage: " + sys.argv[0] + " [options] [FILE]"
361 options, arguments = getopt.getopt(sys.argv[1:], "",
372 for option, value in options:
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
H A DNonsenseGenerator.java155 private String pickOneOf(String ... options) { argument
156 return options[mRandom.nextInt(options.length)];
/development/ndk/platforms/android-9/include/sys/
H A Dwait.h59 extern int waitid(idtype_t which, id_t id, siginfo_t *info, int options);
/development/testrunner/
H A Dcreate_test.py180 a tuple of options and individual command line arguments.
183 options, args = parser.parse_args(argv)
188 return (options, args)
220 options, args = _ParseArgs(argv)
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
H A DLatinKeyboard.java53 * This looks at the ime options given by the current editor, to set the
56 void setImeOptions(Resources res, int options) { argument
61 switch (options&(EditorInfo.IME_MASK_ACTION|EditorInfo.IME_FLAG_NO_ENTER_ACTION)) {
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
H A DAuthenticator.java65 String authTokenType, String[] requiredFeatures, Bundle options) {
76 AccountAuthenticatorResponse response, Account account, Bundle options) {
64 addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument
75 confirmCredentials( AccountAuthenticatorResponse response, Account account, Bundle options) argument
/development/samples/RenderScript/Levels/src/com/android/rs/levels/
H A DLevelsRSActivity.java186 final BitmapFactory.Options options = new BitmapFactory.Options();
187 options.inPreferredConfig = Bitmap.Config.ARGB_8888;
188 Bitmap b = BitmapFactory.decodeResource(getResources(), resource, options);
H A DLevelsDalvikActivity.java168 final BitmapFactory.Options options = new BitmapFactory.Options();
169 options.inPreferredConfig = Bitmap.Config.ARGB_8888;
170 Bitmap b = BitmapFactory.decodeResource(getResources(), resource, options);
/development/testrunner/coverage/
H A Dcoverage.py326 options, args = parser.parse_args()
329 if options.combine_coverage:
331 if options.tidy:
/development/samples/AndroidBeamDemo/src/com/example/android/beam/
H A DBeam.java148 inflater.inflate(R.menu.options, menu);
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
H A DNetworkUtilities.java240 final BitmapFactory.Options options = new BitmapFactory.Options();
242 null, options);
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/ui/
H A DImageGridFragment.java172 ActivityOptions options =
174 getActivity().startActivity(i, options.toBundle());

Completed in 756 milliseconds

12