/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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/ |
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/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/openfst/src/include/fst/ |
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);
|
shortest-path.h | 69 // state to each state in 'ifst'. 'opts' is used to specify options 81 ShortestPathOptions<Arc, Queue, ArcFilter> &opts) { 98 Queue *state_queue = opts.state_queue; 99 StateId source = opts.source == kNoStateId ? ifst.Start() : opts.source; 105 if (opts.nshortest != 1) { 111 if (opts.weight_threshold != Weight::Zero() || 112 opts.state_threshold != kNoStateId) { 152 if (opts.first_path) 392 // 'ifst'. 'opts' is used to specify options such as the number o [all...] |
shortest-distance.h | 80 const ShortestDistanceOptions<Arc, Queue, ArcFilter> &opts, 82 : fst_(fst), distance_(distance), state_queue_(opts.state_queue), 83 arc_filter_(opts.arc_filter), delta_(opts.delta), 84 first_path_(opts.first_path), retain_(retain), source_id_(0), 226 // This computes the shortest distance from the 'opts.source' state to 247 const ShortestDistanceOptions<Arc, Queue, ArcFilter> &opts) { 250 sd_state(fst, distance, opts, false); 251 sd_state.ShortestDistance(opts.source); 292 opts(&state_queue, arc_filter) [all...] |
determinize.h | 337 explicit DeterminizeFstOptions(const CacheOptions &opts, 341 : CacheOptions(opts), delta(del), subsequential_label(lab), 375 const DeterminizeFstOptions<A, D, F, T> &opts) 376 : CacheImpl<A>(opts), fst_(fst.Copy()) { 380 opts.subsequential_label != 0); 474 const DeterminizeFstOptions<A, D, F, T> &opts) 475 : DeterminizeFstImplBase<A>(fst, opts), 476 delta_(opts.delta), 479 filter_(opts.filter ? opts.filter : new F()) 812 DeterminizeFstOptions<A, D, F, T> opts; local [all...] |
const-fst.h | 90 static ConstFstImpl<A, U> *Read(istream &strm, const FstReadOptions &opts); 205 const FstReadOptions &opts) { 208 if (!impl->ReadHeader(strm, opts, kMinFileVersion, &hdr)) { 221 LOG(ERROR) << "ConstFst::Read: Alignment failed: " << opts.source; 227 impl->states_region_ = MappedFile::Map(&strm, opts, b); 229 LOG(ERROR) << "ConstFst::Read: Read failed: " << opts.source; 236 LOG(ERROR) << "ConstFst::Read: Alignment failed: " << opts.source; 242 impl->arcs_region_ = MappedFile::Map(&strm, opts, b); 244 LOG(ERROR) << "ConstFst::Read: Read failed: " << opts.source; 282 static ConstFst<A, U> *Read(istream &strm, const FstReadOptions &opts) { [all...] |
edit-fst.h | 95 const FstReadOptions &opts); 97 bool Write(ostream &strm, const FstWriteOptions &opts) const { 99 FstWriteOptions edits_opts(opts); 106 LOG(ERROR) << "EditFstData::Write: write failed: " << opts.source; 337 const FstReadOptions &opts) { 341 FstReadOptions edits_opts(opts); 362 LOG(ERROR) << "EditFst::Read: read failed: " << opts.source; 481 const FstReadOptions &opts); 483 bool Write(ostream &strm, const FstWriteOptions &opts) const { 487 FstWriteOptions header_opts(opts); [all...] |
/external/webkit/Tools/iExploder/iexploder-1.7.2/src/ |
browser_harness.rb | 353 optparse = OptionParser.new do |opts| 354 opts.banner = "Usage: browser_harness.rb [options] -- <browser path> <browser options>" 355 opts.on( '-t', '--test NUM', 'Test to start at' ) { |test_num| options[:test_num] = test_num.to_i } 356 opts.on( '-p', '--port NUM', 'Listen on TCP port NUM (random)' ) { |port| options[:port] = port.to_i } 357 opts.on( '-c', '--config PATH', 'Use PATH for configuration file' ) { |path| options[:config_path] = path } 358 opts.on( '-d', '--testdir PATH', 'Use PATH to save testcases (/tmp)' ) { |path| options[:test_dir] = path } 359 opts.on( '-l', '--logdir PATH', 'Use PATH to save logs (/tmp)' ) { |path| options[:log_dir] = path } 360 opts.on( '-w', '--watchdog NUM', 'How many seconds to wait for pages to load (45s)' ) { |sec| options[:watchdog_timer] = sec.to_i } 361 opts.on( '-r', '--random', 'Generate test numbers pseudo-randomly' ) { options[:random_mode] = true } 362 opts.on( '-s', '--scan NUM', 'How often to check for new log data (5s)' ) { |sec| options[:scan_timer] (…) [all...] |
/external/e2fsprogs/misc/ |
e2initrd_helper.c | 57 char *opts; member in struct:fs_info 235 char *dev, *device, *mntpnt, *type, *opts, *freq, *passno, *cp; local 244 opts = parse_word(&cp); 257 parse_escape(opts); 271 fs->opts = string_copy(opts ? opts : ""); 290 if (fs->opts) 291 fs->opts = 0;
|
fsck.h | 44 char *opts; member in struct:fs_info
|