/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
ImageUtils.java | 110 final BitmapFactory.Options opts = new BitmapFactory.Options(); local 111 opts.inSampleSize = Math.max(bounds.x / maxSize, bounds.y / maxSize); 112 result.bitmap = decodeStream(factory, null, opts); 139 * @param opts null-ok; Options that control downsampling and whether the 142 * decoded, or, if opts is non-null, if opts requested only the 143 * size be returned (in opts.outWidth and opts.outHeight) 146 final BitmapFactory.Options opts) throws FileNotFoundException { 156 final Bitmap originalBitmap = BitmapFactory.decodeStream(is, outPadding, opts); 199 final BitmapFactory.Options opts = new BitmapFactory.Options(); local [all...] |
/external/clang/tools/clang-format/ |
git-clang-format | 114 opts = p.parse_args(argv) 116 opts.verbose -= opts.quiet 117 del opts.quiet 119 commit, files = interpret_args(opts.args, dash_dash, opts.commit) 121 if opts.verbose >= 1: 123 filter_by_extension(changed_lines, opts.extensions.lower().split(',')) 124 if opts.verbose >= 1: 142 binary=opts.binary [all...] |
/external/chromium_org/tools/ |
bisect-perf-regression.py | 412 def __init__(self, opts): 416 opts: Options parsed from command line. 419 if not opts.build_preference: 420 opts.build_preference = 'msvs' 422 if opts.build_preference == 'msvs': 427 SetBuildSystemDefault(opts.build_preference) 429 if not opts.build_preference: 431 opts.build_preference = 'ninja' 433 opts.build_preference = 'make' 435 SetBuildSystemDefault(opts.build_preference [all...] |
run-bisect-perf-regression.py | 170 opts = _CreateBisectOptionsFromConfig(config) 171 b = bisect.BisectPerformanceMetrics(None, opts) 183 opts.command, opts.metric, reset_on_first_run=True, results_label='Patch') 207 opts.command, opts.metric, upload_on_last_run=True, results_label='ToT') 381 (opts, args) = parser.parse_args() 393 if not opts.working_directory: 399 return _RunBisectionScript(config, opts.working_directory, 400 path_to_current_directory, opts.path_to_goma, opts.extra_src [all...] |
/external/openfst/src/include/fst/ |
fst.h | 206 static Fst<A> *Read(istream &strm, const FstReadOptions &opts) { 207 FstReadOptions ropts(opts); 210 hdr = *opts.header; 212 if (!hdr.Read(strm, opts.source)) 244 virtual bool Write(ostream &strm, const FstWriteOptions &opts) const { 677 // return the header. If opts.header is non-null, skip read-in and 678 // use the option value. If opts.[io]symbols is non-null, read-in 680 bool ReadHeader(istream &strm, const FstReadOptions& opts, 684 // If a opts.header is false, skip writing header. 685 // If opts.[io]symbols is false, skip writing those symbols [all...] |
compact-fst.h | 48 CompactFstOptions(const CacheOptions &opts) : CacheOptions(opts) {} 168 const FstReadOptions &opts, 172 bool Write(ostream &strm, const FstWriteOptions &opts) const; 363 const FstReadOptions &opts, 373 LOG(ERROR) << "CompactFst::Read: Alignment failed: " << opts.source; 378 data->states_region_ = MappedFile::Map(&strm, opts, b); 380 LOG(ERROR) << "CompactFst::Read: Read failed: " << opts.source; 393 LOG(ERROR) << "CompactFst::Read: Alignment failed: " << opts.source; 398 data->compacts_region_ = MappedFile::Map(&strm, opts, b) [all...] |
compose.h | 58 explicit ComposeFstOptions(const CacheOptions &opts, 61 : CacheOptions(opts), matcher1(mat1), matcher2(mat2), 89 explicit ComposeFstImplOptions(const CacheOptions &opts, 92 : CacheOptions(opts), matcher1(mat1), matcher2(mat2), 124 const CacheOptions &opts) 125 : CacheImpl<A>(opts) { 223 const ComposeFstImplOptions<M1, M2, F, T> &opts); 389 const ComposeFstImplOptions<M1, M2, F, T> &opts) 390 : ComposeFstImplBase<Arc>(fst1, fst2, opts), 391 filter_(opts.filter ? opts.filter [all...] |
symbol-table.h | 101 const SymbolTableTextOptions &opts = SymbolTableTextOptions()); 104 const SymbolTableReadOptions& opts); 251 const SymbolTableTextOptions &opts = SymbolTableTextOptions()) { 252 SymbolTableImpl* impl = SymbolTableImpl::ReadText(strm, name, opts); 261 const SymbolTableTextOptions &opts = SymbolTableTextOptions()) { 267 return ReadText(strm, filename, opts); 274 const SymbolTableReadOptions& opts) { 275 SymbolTableImpl* impl = SymbolTableImpl::Read(strm, opts); 284 SymbolTableReadOptions opts; local 285 opts.source = source [all...] |
mapped-file.h | 58 // The file name must also be provided in the FstReadOptions as opts.source 61 static MappedFile* Map(istream* s, const FstReadOptions& opts, size_t size);
|
randequivalent.h | 36 // paths (as specified by the RandGenOptions 'opts') in these FSTs. 46 const RandGenOptions<ArcSelector> &opts, 74 RandGen(fst, &path, opts); 128 opts(uniform_selector, path_length); 129 return RandEquivalent(fst1, fst2, num_paths, delta, opts, error);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/test/test_ttk/ |
test_functions.py | 65 opts = {u'???': True, u'á': False} 66 orig_opts = opts.copy() 68 check_against(ttk._format_optdict(opts), {u'-???': True, u'-á': False}) 69 # opts should remain unchanged 70 self.assertEqual(opts, orig_opts) 105 amount_opts = len(ttk._format_optdict(opts, ignore=(u'á'))) // 2 106 self.assertEqual(amount_opts, len(opts) - 1) 109 amount_opts = len(ttk._format_optdict(opts, ignore=(u'á', 'b'))) // 2 110 self.assertEqual(amount_opts, len(opts) - 1) 113 self.assertFalse(ttk._format_optdict(opts, ignore=opts.keys()) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/test/test_ttk/ |
test_functions.py | 65 opts = {u'???': True, u'á': False} 66 orig_opts = opts.copy() 68 check_against(ttk._format_optdict(opts), {u'-???': True, u'-á': False}) 69 # opts should remain unchanged 70 self.assertEqual(opts, orig_opts) 105 amount_opts = len(ttk._format_optdict(opts, ignore=(u'á'))) // 2 106 self.assertEqual(amount_opts, len(opts) - 1) 109 amount_opts = len(ttk._format_optdict(opts, ignore=(u'á', 'b'))) // 2 110 self.assertEqual(amount_opts, len(opts) - 1) 113 self.assertFalse(ttk._format_optdict(opts, ignore=opts.keys()) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/ |
antenv.cmd | 26 opts = '' 35 when abbrev('-opts', param, 4) then mode = 'o' 42 when mode = 'o' then opts = space(opts param, 1) 68 if opts\='' then interpret 'call "' || envset || '"' '"-D ANT_OPTS"' '"' || opts || '"'
|
ant.cmd | 57 opts = value('ANT_OPTS',,env) 68 cmd = java opts lcp '-jar' ANT_HOME ||'\lib\ant-launcher.jar' settings args antarg 72 java opts lcp entry settings args antarg
|
/external/qemu/ |
qemu-config.c | 509 QemuOpts *opts; local 523 opts = qemu_opts_find(list, id); 524 if (!opts) { 530 if (qemu_opt_set(opts, arg, str+offset+1) == -1) { 539 QemuOpts *opts; local 548 opts = qemu_opts_create(&qemu_global_opts, NULL, 0); 549 qemu_opt_set(opts, "driver", driver); 550 qemu_opt_set(opts, "property", property); 551 qemu_opt_set(opts, "value", str+offset+1); 568 static int config_write_opts(QemuOpts *opts, void *opaque 601 QemuOpts *opts = NULL; local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
BitmapDecode.java | 71 BitmapFactory.Options opts = new BitmapFactory.Options(); local 74 opts.inJustDecodeBounds = true; 75 bm = BitmapFactory.decodeStream(is, null, opts); 77 // now opts.outWidth and opts.outHeight are the dimension of the 80 opts.inJustDecodeBounds = false; // this will request the bm 81 opts.inSampleSize = 4; // scaled down by 4 82 bm = BitmapFactory.decodeStream(is, null, opts);
|
/external/chromium_org/android_webview/buildbot/ |
deps_whitelist.py | 183 opts = parser.parse_args() 185 logging.getLogger().setLevel(logging.DEBUG if opts.verbose else logging.WARN) 188 blacklist = deps_whitelist.execute_method(opts.method, opts.path_to_deps) 190 if (opts.output_json): 194 with open(opts.output_json, 'w') as output_json_file:
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowBitmapFactory.java | 61 public static Bitmap decodeStream(InputStream is, Rect outPadding, BitmapFactory.Options opts) { 62 return create(is.toString().replaceFirst("stream for ", ""), opts); 105 List<String> opts = new ArrayList<String>(); local 107 if (options.inJustDecodeBounds) opts.add("inJustDecodeBounds"); 108 if (options.inSampleSize > 1) opts.add("inSampleSize=" + options.inSampleSize); 110 return Join.join(", ", opts);
|
/external/chromium_org/tools/usb_ids/ |
usb_ids.py | 87 (opts, args) = parser.parse_args() 88 table = ParseTable(opts.input) 98 """ % (opts.input) 108 output_file = open(opts.output, "w+")
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
CheckerRegistration.cpp | 103 CheckerManager *ento::createCheckerManager(AnalyzerOptions &opts, 108 &opts)); 111 for (unsigned i = 0, e = opts.CheckersControlList.size(); i != e; ++i) { 112 const std::pair<std::string, bool> &opt = opts.CheckersControlList[i];
|
/external/e2fsprogs/misc/ |
fsck.h | 44 char *opts; member in struct:fs_info
|
/external/emma/core/java12/com/vladium/emma/report/ |
reportCommand.java | 66 final IOptsParser.IOpt [] opts = parsedopts.getOpts (); local 68 if (opts == null) // this means there were args parsing errors 79 for (int o = 0; o < opts.length; ++ o) 81 final IOptsParser.IOpt opt = opts [o]; 105 // process prefixed opts:
|
/external/llvm/utils/ |
findmisopt | 67 opts="$outdir/${name}.opt.s" 77 # optimizations that opt -std-compile-opts and gccld run, in the same order. 78 opt_switches=`llvm-as < /dev/null -o - | opt -std-compile-opts -disable-output -debug-pass=Arguments 2>&1 | sed 's/Pass Arguments: //'` 106 llc "$optbc" -o "$opts" -f || exit 107 gcc "$opts" -o "$optprog" $ldflags || exit
|
/external/openfst/src/bin/ |
fstsymbols.cc | 81 fst::SymbolTableTextOptions opts; local 82 opts.allow_negative = FLAGS_allow_negative_labels; 87 fst->SetInputSymbols(SymbolTable::ReadText(FLAGS_isymbols, opts)); 92 fst->SetOutputSymbols(SymbolTable::ReadText(FLAGS_osymbols, opts));
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
difference.h | 67 const DifferenceFstOptions<T> &opts) 70 ComposeFstOptions<T | COMPOSE_FST2_RHO>(opts)) { 130 const DifferenceOptions &opts = DifferenceOptions()) { 134 if (opts.connect)
|