/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/ |
H A D | ImageResizer.java | 115 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 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 [all...] |
H A D | cpu-info.h | 44 unsigned long options; member in struct:cpuinfo_mips
|
/development/testrunner/test_defs/ |
H A D | host_test.py | 52 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 D | instrumentation_test.py | 86 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 D | native_test.py | 34 def Run(self, options, adb): 49 options: command line options 90 int(options.timeout)) 94 if not success or options.verbose:
|
H A D | gtest.py | 45 def Run(self, options, adb): 49 options: command line options 54 if not options.preview:
|
H A D | test_suite.py | 52 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 D | bbm.h | 18 int options; member in struct:nand_bbt_descr 64 int options; member in struct:bbm_info
|
H A 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 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 D | android-compile.el | 148 (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 D | HelloCompute.java | 70 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 D | divide_and_compress.py | 72 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 D | stack | 23 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 D | NonsenseGenerator.java | 155 private String pickOneOf(String ... options) { argument 156 return options[mRandom.nextInt(options.length)];
|
/development/ndk/platforms/android-9/include/sys/ |
H A D | wait.h | 59 extern int waitid(idtype_t which, id_t id, siginfo_t *info, int options);
|
/development/testrunner/ |
H A D | create_test.py | 180 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 D | LatinKeyboard.java | 53 * 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 D | Authenticator.java | 65 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 D | LevelsRSActivity.java | 186 final BitmapFactory.Options options = new BitmapFactory.Options(); 187 options.inPreferredConfig = Bitmap.Config.ARGB_8888; 188 Bitmap b = BitmapFactory.decodeResource(getResources(), resource, options);
|
H A D | LevelsDalvikActivity.java | 168 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 D | coverage.py | 326 options, args = parser.parse_args() 329 if options.combine_coverage: 331 if options.tidy:
|
/development/samples/AndroidBeamDemo/src/com/example/android/beam/ |
H A D | Beam.java | 148 inflater.inflate(R.menu.options, menu);
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/ |
H A D | NetworkUtilities.java | 240 final BitmapFactory.Options options = new BitmapFactory.Options(); 242 null, options);
|
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/ui/ |
H A D | ImageGridFragment.java | 172 ActivityOptions options = 174 getActivity().startActivity(i, options.toBundle());
|