Home
last modified time | relevance | path

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

12

/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/
DImageResizer.java115 final BitmapFactory.Options options = new BitmapFactory.Options(); in decodeSampledBitmapFromResource() local
116 options.inJustDecodeBounds = true; in decodeSampledBitmapFromResource()
117 BitmapFactory.decodeResource(res, resId, options); in decodeSampledBitmapFromResource()
120 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); in decodeSampledBitmapFromResource()
123 options.inJustDecodeBounds = false; in decodeSampledBitmapFromResource()
124 return BitmapFactory.decodeResource(res, resId, options); in decodeSampledBitmapFromResource()
140 final BitmapFactory.Options options = new BitmapFactory.Options(); in decodeSampledBitmapFromFile() local
141 options.inJustDecodeBounds = true; in decodeSampledBitmapFromFile()
142 BitmapFactory.decodeFile(filename, options); in decodeSampledBitmapFromFile()
145 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); 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 …]
Dcpu-info.h44 unsigned long options; member
/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:
Dtest_suite.py52 def GetBuildDependencies(self, options): argument
99 def Run(self, options, adb): argument
Dgtest.py45 def Run(self, options, adb): argument
54 if not options.preview:
/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/
Ddivide_and_compress.py72 def VerifyArguments(options, parser): argument
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.filesize),
361 options.compress)
/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/RenderScript/HelloCompute/src/com/example/android/rs/hellocompute/
DHelloCompute.java70 final BitmapFactory.Options options = new BitmapFactory.Options(); in loadBitmap() local
71 options.inPreferredConfig = Bitmap.Config.ARGB_8888; in loadBitmap()
72 return BitmapFactory.decodeResource(getResources(), resource, options); in loadBitmap()
/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/testrunner/
Dcreate_test.py183 options, args = parser.parse_args(argv)
188 return (options, args)
220 options, args = _ParseArgs(argv)
/development/ndk/platforms/android-9/include/sys/
Dwait.h59 extern int waitid(idtype_t which, id_t id, siginfo_t *info, int options);
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DLatinKeyboard.java56 void setImeOptions(Resources res, int options) { in setImeOptions() argument
61 switch (options&(EditorInfo.IME_MASK_ACTION|EditorInfo.IME_FLAG_NO_ENTER_ACTION)) { in setImeOptions()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
DAuthenticator.java65 String authTokenType, String[] requiredFeatures, Bundle options) { in addAccount() argument
76 AccountAuthenticatorResponse response, Account account, Bundle options) { in confirmCredentials() argument
/development/samples/RenderScript/Levels/src/com/android/rs/levels/
DLevelsRSActivity.java186 final BitmapFactory.Options options = new BitmapFactory.Options(); in loadBitmap() local
187 options.inPreferredConfig = Bitmap.Config.ARGB_8888; in loadBitmap()
188 Bitmap b = BitmapFactory.decodeResource(getResources(), resource, options); in loadBitmap()
DLevelsDalvikActivity.java168 final BitmapFactory.Options options = new BitmapFactory.Options(); in loadBitmap() local
169 options.inPreferredConfig = Bitmap.Config.ARGB_8888; in loadBitmap()
170 Bitmap b = BitmapFactory.decodeResource(getResources(), resource, options); in loadBitmap()
/development/samples/training/NsdChat/
Dproguard.cfg13 # Add any project specific keep options here:
/development/testrunner/coverage/
Dcoverage.py326 options, args = parser.parse_args()
329 if options.combine_coverage:
331 if options.tidy:
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/ui/
DImageGridFragment.java172 ActivityOptions options = in onItemClick() local
174 getActivity().startActivity(i, options.toBundle()); in onItemClick()
/development/samples/AndroidBeamDemo/src/com/example/android/beam/
DBeam.java148 inflater.inflate(R.menu.options, menu); in onCreateOptionsMenu()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
DNetworkUtilities.java240 final BitmapFactory.Options options = new BitmapFactory.Options(); in downloadAvatar() local
242 null, options); in downloadAvatar()

12