/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
BitmapPool.java | 109 * Creates a new BitmapFactory.Options. 111 public static BitmapFactory.Options getBitmapOptionsForPool(final boolean scaled, 113 final BitmapFactory.Options options = new BitmapFactory.Options(); local 114 options.inScaled = scaled; 115 options.inDensity = inputDensity; 116 options.inTargetDensity = targetDensity; 117 options.inSampleSize = 1; 118 options.inJustDecodeBounds = false [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
ImageRequest.java | 152 final BitmapFactory.Options options = PoolableImageCache.getBitmapOptionsForPool( local 159 options.inJustDecodeBounds = true; 160 BitmapFactory.decodeStream(inputStream, null, options); 163 mDescriptor.updateSourceDimensions(options.outHeight, options.outWidth); 165 mDescriptor.updateSourceDimensions(options.outWidth, options.outHeight); 174 options.outWidth = mDescriptor.sourceWidth; 175 options.outHeight = mDescriptor.sourceHeight [all...] |
/packages/apps/Messaging/src/com/android/messaging/widget/ |
WidgetConversationListService.java | 136 final Bundle options = mAppWidgetManager.getAppWidgetOptions(mAppWidgetId); local 139 options.getInt(BugleWidgetProvider.WIDGET_SIZE_KEY)); 142 includeAvatar = options.getInt(BugleWidgetProvider.WIDGET_SIZE_KEY) ==
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
BitmapWorkerOptions.java | 28 * Options for loading bitmap resources from different sources and for scaling to an appropriate 40 /** TODO support disk cache options */ 55 * Builds options for a bitmap worker task. 78 BitmapWorkerOptions options = new BitmapWorkerOptions(); local 81 options.mIconResource = new ShortcutIconResource(); 82 options.mIconResource.packageName = mPackageName; 83 options.mIconResource.resourceName = mResourceName; 93 options.mResourceUri = mResourceUri; 94 options.mWidth = mWidth; 95 options.mHeight = mHeight [all...] |
/prebuilts/python/darwin-x86/2.7.5/bin/ |
smtpd.py | 4 Usage: %(program)s [options] [localhost:localport [remotehost:remoteport]] 6 Options: 463 class Options: 477 options = Options() 485 options.setuid = 0 487 options.classname = arg 508 options.localhost = localspec[:i] 510 options.localport = int(localspec[i+1:]) 516 options.remotehost = remotespec[:i 525 options = parseargs() variable [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
ConfigParser.py | 42 options(section) 43 return list of configuration options for the named section 62 getint(section, options) 65 getfloat(section, options) 68 getboolean(section, options) 78 remove the given file section and all its options 274 def options(self, section): member in class:RawConfigParser 439 # Regular expressions for parsing section headers and options. 469 options lines, indicated by `name: value' format lines. 551 for options in all_sections [all...] |
smtpd.py | 4 Usage: %(program)s [options] [localhost:localport [remotehost:remoteport]] 6 Options: 463 class Options: 477 options = Options() 485 options.setuid = 0 487 options.classname = arg 508 options.localhost = localspec[:i] 510 options.localport = int(localspec[i+1:]) 516 options.remotehost = remotespec[:i 525 options = parseargs() variable [all...] |
/prebuilts/python/linux-x86/2.7.5/bin/ |
smtpd.py | 4 Usage: %(program)s [options] [localhost:localport [remotehost:remoteport]] 6 Options: 463 class Options: 477 options = Options() 485 options.setuid = 0 487 options.classname = arg 508 options.localhost = localspec[:i] 510 options.localport = int(localspec[i+1:]) 516 options.remotehost = remotespec[:i 525 options = parseargs() variable [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
ConfigParser.py | 42 options(section) 43 return list of configuration options for the named section 62 getint(section, options) 65 getfloat(section, options) 68 getboolean(section, options) 78 remove the given file section and all its options 274 def options(self, section): member in class:RawConfigParser 439 # Regular expressions for parsing section headers and options. 469 options lines, indicated by `name: value' format lines. 551 for options in all_sections [all...] |
smtpd.py | 4 Usage: %(program)s [options] [localhost:localport [remotehost:remoteport]] 6 Options: 463 class Options: 477 options = Options() 485 options.setuid = 0 487 options.classname = arg 508 options.localhost = localspec[:i] 510 options.localport = int(localspec[i+1:]) 516 options.remotehost = remotespec[:i 525 options = parseargs() variable [all...] |
/system/core/libnetutils/ |
dhcpmsg.h | 57 uint8_t options[1024]; /* optional parameters */ member in struct:dhcp_msg 62 /* first four bytes of options are a cookie to indicate that 63 ** the payload are DHCP options as opposed to some other BOOTP 71 /* BOOTP/DHCP options - see RFC 2132 */
|
/system/core/libziparchive/ |
zip_archive_test.cc | 536 static struct option options[] = { local 543 const int c = getopt_long_only(argc, argv, "", options, &option_index);
|
/system/core/toolbox/ |
mount.c | 36 * These options define the function of "mount(2)". 41 static const struct mount_opts options[] = { variable in typeref:struct:mount_opts 120 for (i = 0, res = 1; i < ARRAY_SIZE(options); i++) { 121 res = strcmp(s, options[i].str); 124 rwflag &= ~options[i].rwmask; 126 rwflag |= options[i].rwnoset; 128 rwflag |= options[i].rwset; 353 fprintf(stderr, "Usage: %s [-r] [-w] [-o options] [-t type] "
|
/system/extras/tests/binder/benchmarks/ |
binderAddInts.cpp | 27 * This benchmark supports the following command-line options: 61 struct options { struct 66 } options = { // Set defaults variable in typeref:struct:options 136 *((opt == 'c') ? &options.clientCPU : &options.serverCPU) = cpu; 141 options.iterations = strtoul(optarg, &chptr, 10); 146 if (options.iterations < 1) { 154 options.iterDelay = strtod(optarg, &chptr); 155 if ((*chptr != '\0') || (options.iterDelay < 0.0)) { 163 cerr << basename(argv[0]) << " [options]" << endl [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
Rule.java | 46 /** This rule's options */ 47 protected Map options; field in class:Rule 534 if ( options==null ) { 535 options = new HashMap(); 546 options.put(key, value); 550 public void setOptions(Map options, Token optionsStartToken) { 551 if ( options==null ) { 552 this.options = null; 555 Set keys = options.keySet(); 558 Object optionValue = options.get(optionName) [all...] |
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
BaseTest.java | 153 final List options = new ArrayList(); local 155 options.add("-debug"); 157 options.add("-o"); 158 options.add(tmpdir); 159 options.add("-lib"); 160 options.add(tmpdir); 161 options.add(new File(tmpdir,grammarFileName).toString()); 162 final String[] optionsA = new String[options.size()]; 163 options.toArray(optionsA); 175 System.err.println("antlr reports errors from "+options); [all...] |
/art/runtime/ |
debugger.h | 63 options(invoke_options), reply(JDWP::expandBufAlloc()) { 79 const uint32_t options; member in struct:art::DebugInvokeReq 250 // Configures JDWP with parsed command-line options. 631 // and resume it (and possibly other threads depending on the invoke options). 641 uint32_t options) [all...] |
/build/tools/zipalign/ |
ZipFile.cpp | 890 ZopfliOptions options; local 893 ZopfliInitOptions(&options); 899 ZopfliDeflate(&options, 2, true, (const unsigned char*)data, size, &bp, 929 ZopfliDeflate(&options, 2, atEof, inBuf, getSize, &bp, &outBuf, &outSize); [all...] |
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/ |
ImageGridFragment.java | 185 ActivityOptions options = local 187 getActivity().startActivity(i, options.toBundle());
|
/developers/build/prebuilts/gradle/RenderScriptIntrinsic/Application/src/main/java/com/example/android/renderscriptintrinsic/ |
MainActivity.java | 333 final BitmapFactory.Options options = new BitmapFactory.Options(); local 334 options.inPreferredConfig = Bitmap.Config.ARGB_8888; 335 return BitmapFactory.decodeResource(getResources(), resource, options);
|
/developers/samples/android/renderScript/RenderScriptIntrinsic/Application/src/main/java/com/example/android/renderscriptintrinsic/ |
MainActivity.java | 333 final BitmapFactory.Options options = new BitmapFactory.Options(); local 334 options.inPreferredConfig = Bitmap.Config.ARGB_8888; 335 return BitmapFactory.decodeResource(getResources(), resource, options);
|
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/ |
ImageGridFragment.java | 185 ActivityOptions options = local 187 getActivity().startActivity(i, options.toBundle());
|
/development/samples/RenderScript/Levels/src/com/android/rs/levels/ |
LevelsDalvikActivity.java | 168 final BitmapFactory.Options options = new BitmapFactory.Options(); local 169 options.inPreferredConfig = Bitmap.Config.ARGB_8888; 170 Bitmap b = BitmapFactory.decodeResource(getResources(), resource, options);
|
LevelsRSActivity.java | 187 final BitmapFactory.Options options = new BitmapFactory.Options(); local 188 options.inPreferredConfig = Bitmap.Config.ARGB_8888; 189 Bitmap b = BitmapFactory.decodeResource(getResources(), resource, options);
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/ |
NetworkUtilities.java | 240 final BitmapFactory.Options options = new BitmapFactory.Options(); local 242 null, options);
|