/frameworks/base/location/lib/java/com/android/location/provider/ |
GmsFusedBatchOptions.java | 25 private FusedBatchOptions mOptions = new FusedBatchOptions(); 31 mOptions.setMaxPowerAllocationInMW(value); 35 return mOptions.getMaxPowerAllocationInMW(); 39 mOptions.setPeriodInNS(value); 43 return mOptions.getPeriodInNS(); 47 mOptions.setSmallestDisplacementMeters(value); 51 return mOptions.getSmallestDisplacementMeters(); 55 mOptions.setSourceToUse(source); 59 mOptions.resetSourceToUse(source); 63 return mOptions.isSourceToUseSet(source) [all...] |
/packages/apps/Gallery2/src/com/android/photos/drawables/ |
AutoThumbnailDrawable.java | 49 private BitmapFactory.Options mOptions = new BitmapFactory.Options(); 64 mOptions.inTempStorage = sTempStorage; 236 mOptions.inJustDecodeBounds = true; 237 BitmapFactory.decodeByteArray(preferred, 0, preferred.length, mOptions); 238 mOptions.inJustDecodeBounds = false; 249 mOptions.outWidth, mOptions.outHeight); 258 mOptions.inSampleSize = preferredSampleSize; 259 mOptions.inBitmap = sBitmapPool.get( 260 mOptions.outWidth / preferredSampleSize [all...] |
/packages/apps/Gallery2/src/com/android/photos/ |
BitmapRegionTileSource.java | 64 private BitmapFactory.Options mOptions; 77 mOptions = new BitmapFactory.Options(); 78 mOptions.inPreferredConfig = Bitmap.Config.ARGB_8888; 79 mOptions.inPreferQualityOverSpeed = true; 80 mOptions.inTempStorage = new byte[16 * 1024]; 138 mOptions.inSampleSize = (1 << level); 139 mOptions.inBitmap = bitmap; 142 bitmap = mDecoder.decodeRegion(mWantRegion, mOptions); 144 if (mOptions.inBitmap != bitmap && mOptions.inBitmap != null) [all...] |
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/ |
arguments_and_options.h | 31 ArgumentsAndOptions() : mIsValid(false), mOptions(), mArguments() {} 35 : mIsValid(true), mOptions(std::move(options)), mArguments(std::move(arguments)) {} 42 return mOptions.find(optionName) != mOptions.end(); 46 const auto &it = mOptions.find(optionName); 47 ASSERT(it != mOptions.end()); 72 const std::unordered_map<std::string, std::string> mOptions;
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
NativeSuggestOptions.java | 28 private final int[] mOptions; 31 mOptions = new int[OPTIONS_SIZE]; 53 return mOptions; 57 mOptions[key] = value ? 1 : 0; 61 mOptions[key] = value;
|
/frameworks/base/tools/aapt2/link/ |
ManifestFixer.cpp | 90 if (mOptions.renameManifestPackage) { 91 if (!util::isJavaPackageName(mOptions.renameManifestPackage.value())) { 93 << mOptions.renameManifestPackage.value() << "'"); 98 if (mOptions.renameInstrumentationTargetPackage) { 99 if (!util::isJavaPackageName(mOptions.renameInstrumentationTargetPackage.value())) { 101 << mOptions.renameInstrumentationTargetPackage.value() << "'"); 119 if (mOptions.versionNameDefault) { 124 mOptions.versionNameDefault.value() }); 128 if (mOptions.versionCodeDefault) { 133 mOptions.versionCodeDefault.value() }) [all...] |
Link.cpp | 292 mOptions(options), mContext(context), mKeepSet(keepSet) { 310 ResourceFileFlattenerOptions mOptions; 316 if (mOptions.doNotCompressAnything) { 320 for (const std::string& extension : mOptions.extensionsToNotCompress) { 371 if (!mOptions.noAutoVersion) { 372 if (mOptions.noVersionVectors) { 495 if (!mOptions.noAutoVersion && !fileOp.skipVersion) { 500 mOptions.keepRawValues, 522 mOptions(options), mContext(context), mFinalTable(), 533 for (const std::string& path : mOptions.includePaths) [all...] |
ManifestFixer.h | 44 ManifestFixer(const ManifestFixerOptions& options) : mOptions(options) { 52 ManifestFixerOptions mOptions;
|
/frameworks/base/core/java/android/text/method/ |
CharacterPickerDialog.java | 44 private String mOptions; 61 mOptions = options; 89 String result = String.valueOf(mOptions.charAt(position)); 125 b.setText(String.valueOf(mOptions.charAt(position))); 131 return mOptions.length(); 135 return String.valueOf(mOptions.charAt(position));
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/ |
suggest_options.h | 27 : mOptions(options), mLength(length) {} 69 const int *const mOptions; 78 return mOptions[key] != 0; 85 return mOptions[key];
|
/frameworks/base/tools/aapt2/flatten/ |
XmlFlattener.h | 41 mBuffer(buffer), mOptions(options) { 48 XmlFlattenerOptions mOptions;
|
XmlFlattener.cpp | 40 XmlFlattenerOptions mOptions; 56 mBuffer(buffer), mOptions(options) { 171 if (mOptions.maxSdkLevel && attr.compiledAttribute && attr.compiledAttribute.value().id) { 173 if (sdkLevel > mOptions.maxSdkLevel.value()) { 232 if (mOptions.keepRawValues || !xmlAttr->compiledValue) { 258 XmlFlattenerVisitor visitor(&nodeBuffer, mOptions);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/systrace/ |
SystraceOptionsDialogV1.java | 89 private final SystraceOptions mOptions = new SystraceOptions(); 327 mOptions.mTraceDuration = Integer.parseInt(sTraceDuration); 332 mOptions.mTraceBufferSize = Integer.parseInt(sTraceBufferSize); 335 mOptions.mTraceCpuFreq = mTraceCpuFreqBtn.getSelection(); 336 mOptions.mTraceCpuIdle = mTraceCpuIdleBtn.getSelection(); 337 mOptions.mTraceCpuLoad = mTraceCpuLoadBtn.getSelection(); 338 mOptions.mTraceDiskIo = mTraceDiskIoBtn.getSelection(); 339 mOptions.mTraceKernelWorkqueues = mTraceKernelWorkqueuesBtn.getSelection(); 340 mOptions.mTraceCpuScheduler = mTraceCpuSchedulerBtn.getSelection(); 342 if (mGfxTagBtn.getSelection()) mOptions.enableTag(SystraceOptions.TAG_GFX) [all...] |
SystraceTask.java | 25 private final String mOptions; 37 mOptions = options; 43 mDevice.executeShellCommand("atrace " + mOptions, new Receiver(), 0);
|
SystraceOptionsDialogV2.java | 72 private final SystraceOptions mOptions = new SystraceOptions(); 287 mOptions.mTraceDuration = Integer.parseInt(sTraceDuration); 292 mOptions.mTraceBufferSize = Integer.parseInt(sTraceBufferSize); 296 mOptions.mTraceApp = sLastSelectedApp = mTraceAppCombo.getText(); 321 return mOptions;
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
Diff.java | 79 if (null == dict0.mOptions.mAttributes.get("locale")) return false; 80 if (null == dict1.mOptions.mAttributes.get("locale")) return false; 81 final String dict0Lang = dict0.mOptions.mAttributes.get("locale").split("_", 3)[0]; 82 final String dict1Lang = dict1.mOptions.mAttributes.get("locale").split("_", 3)[0]; 88 final HashMap<String, String> options1 = new HashMap<>(dict1.mOptions.mAttributes); 89 for (final String optionKey : dict0.mOptions.mAttributes.keySet()) { 90 if (!dict0.mOptions.mAttributes.get(optionKey).equals( 91 dict1.mOptions.mAttributes.get(optionKey))) { 93 + dict0.mOptions.mAttributes.get(optionKey) + " <=> " 94 + dict1.mOptions.mAttributes.get(optionKey)) [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/ |
BitmapRegionTileSource.java | 397 private BitmapFactory.Options mOptions; 406 mOptions = new BitmapFactory.Options(); 407 mOptions.inPreferredConfig = Bitmap.Config.ARGB_8888; 408 mOptions.inPreferQualityOverSpeed = true; 409 mOptions.inTempStorage = tempStorage; 465 mOptions.inSampleSize = (1 << level); 466 mOptions.inBitmap = bitmap; 469 bitmap = mDecoder.decodeRegion(mWantRegion, mOptions); 471 if (mOptions.inBitmap != bitmap && mOptions.inBitmap != null) [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
BitmapManager.java | 43 public BitmapFactory.Options mOptions; 55 s = "thread state = " + s + ", options = " + mOptions; 86 getOrCreateThreadStatus(t).mOptions = options; 91 status.mOptions = null; 116 if (status.mOptions != null) { 117 status.mOptions.requestCancelDecode();
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
BitmapRegionTileSource.java | 376 private BitmapFactory.Options mOptions; 386 mOptions = new BitmapFactory.Options(); 387 mOptions.inPreferredConfig = Bitmap.Config.ARGB_8888; 388 mOptions.inPreferQualityOverSpeed = true; 389 mOptions.inTempStorage = new byte[16 * 1024]; 449 mOptions.inSampleSize = (1 << level); 450 mOptions.inBitmap = bitmap; 453 bitmap = mDecoder.decodeRegion(mWantRegion, mOptions); 455 if (mOptions.inBitmap != bitmap && mOptions.inBitmap != null) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
RefocusTest.java | 74 Bitmap outputImage = renderScriptTask.applyRefocusFilter(rsTaskParam.mOptions); 92 DepthOfFieldOptions mOptions; 97 mOptions = options;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PurgeableBitmapView.java | 44 private final Options mOptions = new Options(); 56 mOptions.inPurgeable = isPurgeable; 84 bitstream, 0, bitstream.length, mOptions);
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/ |
MainActivity.java | 101 DepthOfFieldOptions mOptions; 106 mOptions = options; 122 outputImage = renderScriptTask.applyRefocusFilter(params[0].mOptions); 126 outputImageNew = renderScriptTaskNew.applyRefocusFilter(params[0].mOptions);
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
PhotoCarousel.java | 131 private final BitmapFactory.Options mOptions; 134 mOptions = new BitmapFactory.Options(); 135 mOptions.inTempStorage = new byte[32768]; 144 decodedPhoto = mPhotoSource.next(mOptions, mLongSide, mShortSide);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapTest.java | 44 private BitmapFactory.Options mOptions; 56 mOptions = new BitmapFactory.Options(); 57 mOptions.inScaled = false; 58 mBitmap = BitmapFactory.decodeResource(mRes, R.drawable.start, mOptions); 71 mBitmap = BitmapFactory.decodeResource(mRes, R.drawable.start, mOptions); 332 mBitmap = BitmapFactory.decodeResource(mRes, R.drawable.start, mOptions); 359 mBitmap = BitmapFactory.decodeResource(mRes, R.drawable.start, mOptions); 379 mBitmap = BitmapFactory.decodeResource(mRes, R.drawable.start, mOptions); 525 mBitmap = BitmapFactory.decodeResource(mRes, R.drawable.start, mOptions); 646 mBitmap = BitmapFactory.decodeResource(mRes, R.drawable.start, mOptions); [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
ImageUtils.java | 408 private final BitmapFactory.Options mOptions; 455 mOptions = new BitmapFactory.Options(); 456 mOptions.inScaled = false; 457 mOptions.inDensity = 0; 458 mOptions.inTargetDensity = 0; 459 mOptions.inSampleSize = 1; 460 mOptions.inJustDecodeBounds = false; 461 mOptions.inMutable = false; 572 mOptions.inJustDecodeBounds = true; 574 BitmapFactory.decodeStream(inputStream, null, mOptions); [all...] |