Home
last modified time | relevance | path

Searched refs:mOptions (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Gallery2/src/com/android/photos/drawables/
DAutoThumbnailDrawable.java49 private BitmapFactory.Options mOptions = new BitmapFactory.Options(); field in AutoThumbnailDrawable
64 mOptions.inTempStorage = sTempStorage; in AutoThumbnailDrawable()
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,
261 mOptions.outHeight / preferredSampleSize);
[all …]
/packages/apps/Gallery2/src/com/android/photos/
DBitmapRegionTileSource.java64 private BitmapFactory.Options mOptions; field in BitmapRegionTileSource
77 mOptions = new BitmapFactory.Options(); in BitmapRegionTileSource()
78 mOptions.inPreferredConfig = Bitmap.Config.ARGB_8888; in BitmapRegionTileSource()
79 mOptions.inPreferQualityOverSpeed = true; in BitmapRegionTileSource()
80 mOptions.inTempStorage = new byte[16 * 1024]; in BitmapRegionTileSource()
138 mOptions.inSampleSize = (1 << level); in getTile()
139 mOptions.inBitmap = bitmap; in getTile()
142 bitmap = mDecoder.decodeRegion(mWantRegion, mOptions); in getTile()
144 if (mOptions.inBitmap != bitmap && mOptions.inBitmap != null) { in getTile()
145 mOptions.inBitmap = null; in getTile()
[all …]
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Darguments_and_options.h31 ArgumentsAndOptions() : mIsValid(false), mOptions(), mArguments() {} in ArgumentsAndOptions()
35 : mIsValid(true), mOptions(std::move(options)), mArguments(std::move(arguments)) {} in ArgumentsAndOptions()
42 return mOptions.find(optionName) != mOptions.end(); in hasOption()
46 const auto &it = mOptions.find(optionName); in getOptionValue()
47 ASSERT(it != mOptions.end()); in getOptionValue()
72 const std::unordered_map<std::string, std::string> mOptions; variable
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DDiff.java79 if (null == dict0.mOptions.mAttributes.get("locale")) return false; in languageDiffers()
80 if (null == dict1.mOptions.mAttributes.get("locale")) return false; in languageDiffers()
81 final String dict0Lang = dict0.mOptions.mAttributes.get("locale").split("_", 3)[0]; in languageDiffers()
82 final String dict1Lang = dict1.mOptions.mAttributes.get("locale").split("_", 3)[0]; in languageDiffers()
88 final HashMap<String, String> options1 = new HashMap<>(dict1.mOptions.mAttributes); in diffHeaders()
89 for (final String optionKey : dict0.mOptions.mAttributes.keySet()) { in diffHeaders()
90 if (!dict0.mOptions.mAttributes.get(optionKey).equals( in diffHeaders()
91 dict1.mOptions.mAttributes.get(optionKey))) { in diffHeaders()
93 + dict0.mOptions.mAttributes.get(optionKey) + " <=> " in diffHeaders()
94 + dict1.mOptions.mAttributes.get(optionKey)); in diffHeaders()
DInfo.java41 System.out.print(dict.mOptions.toString(2, plumbing)); in showInfo()
DCombinedInputOutput.java226 destination.write(CombinedFormatUtils.formatAttributeMap(dict.mOptions.mAttributes)); in writeDictionaryCombined()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DNativeSuggestOptions.java28 private final int[] mOptions; field in NativeSuggestOptions
31 mOptions = new int[OPTIONS_SIZE]; in NativeSuggestOptions()
53 return mOptions; in getOptions()
57 mOptions[key] = value ? 1 : 0; in setBooleanOption()
61 mOptions[key] = value; in setIntegerOption()
/packages/apps/Gallery/src/com/android/camera/
DBitmapManager.java43 public BitmapFactory.Options mOptions; field in BitmapManager.ThreadStatus
55 s = "thread state = " + s + ", options = " + mOptions; in toString()
86 getOrCreateThreadStatus(t).mOptions = options; in setDecodingOptions()
91 status.mOptions = null; in removeDecodingOptions()
116 if (status.mOptions != null) { in cancelThreadDecoding()
117 status.mOptions.requestCancelDecode(); in cancelThreadDecoding()
/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java408 private final BitmapFactory.Options mOptions; field in ImageUtils.ImageResizer
455 mOptions = new BitmapFactory.Options(); in ImageResizer()
456 mOptions.inScaled = false; in ImageResizer()
457 mOptions.inDensity = 0; in ImageResizer()
458 mOptions.inTargetDensity = 0; in ImageResizer()
459 mOptions.inSampleSize = 1; in ImageResizer()
460 mOptions.inJustDecodeBounds = false; in ImageResizer()
461 mOptions.inMutable = false; in ImageResizer()
572 mOptions.inJustDecodeBounds = true; in ensureImageSizeSet()
574 BitmapFactory.decodeStream(inputStream, null, mOptions); in ensureImageSizeSet()
[all …]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/
DBitmapRegionTileSource.java397 private BitmapFactory.Options mOptions; field in BitmapRegionTileSource
406 mOptions = new BitmapFactory.Options(); in BitmapRegionTileSource()
407 mOptions.inPreferredConfig = Bitmap.Config.ARGB_8888; in BitmapRegionTileSource()
408 mOptions.inPreferQualityOverSpeed = true; in BitmapRegionTileSource()
409 mOptions.inTempStorage = tempStorage; in BitmapRegionTileSource()
465 mOptions.inSampleSize = (1 << level); in getTile()
466 mOptions.inBitmap = bitmap; in getTile()
469 bitmap = mDecoder.decodeRegion(mWantRegion, mOptions); in getTile()
471 if (mOptions.inBitmap != bitmap && mOptions.inBitmap != null) { in getTile()
472 mOptions.inBitmap = null; in getTile()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/
Dsuggest_options.h27 : mOptions(options), mLength(length) {} in SuggestOptions()
69 const int *const mOptions; variable
78 return mOptions[key] != 0; in getBoolOption()
85 return mOptions[key]; in getIntOption()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
DExifParser.java147 private final int mOptions; field in ExifParser
184 return (mOptions & OPTION_IFD_0) != 0; in isIfdRequested()
186 return (mOptions & OPTION_IFD_1) != 0; in isIfdRequested()
188 return (mOptions & OPTION_IFD_EXIF) != 0; in isIfdRequested()
190 return (mOptions & OPTION_IFD_GPS) != 0; in isIfdRequested()
192 return (mOptions & OPTION_IFD_INTEROPERABILITY) != 0; in isIfdRequested()
198 return (mOptions & OPTION_THUMBNAIL) != 0; in isThumbnailRequested()
212 mOptions = options; in ExifParser()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifParser.java147 private final int mOptions; field in ExifParser
184 return (mOptions & OPTION_IFD_0) != 0; in isIfdRequested()
186 return (mOptions & OPTION_IFD_1) != 0; in isIfdRequested()
188 return (mOptions & OPTION_IFD_EXIF) != 0; in isIfdRequested()
190 return (mOptions & OPTION_IFD_GPS) != 0; in isIfdRequested()
192 return (mOptions & OPTION_IFD_INTEROPERABILITY) != 0; in isIfdRequested()
198 return (mOptions & OPTION_THUMBNAIL) != 0; in isThumbnailRequested()
212 mOptions = options; in ExifParser()
/packages/apps/Camera2/src/com/android/camera/exif/
DExifParser.java147 private final int mOptions; field in ExifParser
184 return (mOptions & OPTION_IFD_0) != 0; in isIfdRequested()
186 return (mOptions & OPTION_IFD_1) != 0; in isIfdRequested()
188 return (mOptions & OPTION_IFD_EXIF) != 0; in isIfdRequested()
190 return (mOptions & OPTION_IFD_GPS) != 0; in isIfdRequested()
192 return (mOptions & OPTION_IFD_INTEROPERABILITY) != 0; in isIfdRequested()
198 return (mOptions & OPTION_THUMBNAIL) != 0; in isThumbnailRequested()
212 mOptions = options; in ExifParser()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifParser.java148 private final int mOptions; field in ExifParser
185 return (mOptions & OPTION_IFD_0) != 0; in isIfdRequested()
187 return (mOptions & OPTION_IFD_1) != 0; in isIfdRequested()
189 return (mOptions & OPTION_IFD_EXIF) != 0; in isIfdRequested()
191 return (mOptions & OPTION_IFD_GPS) != 0; in isIfdRequested()
193 return (mOptions & OPTION_IFD_INTEROPERABILITY) != 0; in isIfdRequested()
199 return (mOptions & OPTION_THUMBNAIL) != 0; in isThumbnailRequested()
213 mOptions = options; in ExifParser()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTable.java491 private final BitmapFactory.Options mOptions; field in PhotoTable.LoadNaturalSiblingTask
496 mOptions = new BitmapFactory.Options(); in LoadNaturalSiblingTask()
497 mOptions.inTempStorage = new byte[32768]; in LoadNaturalSiblingTask()
510 mOptions, table.mLongSide, table.mShortSide); in doInBackground()
513 mOptions, table.mLongSide, table.mShortSide); in doInBackground()
515 return applyFrame(PhotoTable.this, mOptions, decodedPhoto); in doInBackground()
548 private final BitmapFactory.Options mOptions; field in PhotoTable.PhotoLaunchTask
551 mOptions = new BitmapFactory.Options(); in PhotoLaunchTask()
552 mOptions.inTempStorage = new byte[32768]; in PhotoLaunchTask()
559 return applyFrame(PhotoTable.this, mOptions, in doInBackground()
[all …]
DPhotoCarousel.java131 private final BitmapFactory.Options mOptions; field in PhotoCarousel.PhotoLoadTask
134 mOptions = new BitmapFactory.Options(); in PhotoLoadTask()
135 mOptions.inTempStorage = new byte[32768]; in PhotoLoadTask()
144 decodedPhoto = mPhotoSource.next(mOptions, mLongSide, mShortSide); in doInBackground()
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtilsTests.java115 assertEquals("Wrong version attribute", VERSION, resultDict.mOptions.mAttributes.get( in testGetRawDictWorks()
117 assertEquals("Wrong locale attribute", LOCALE, resultDict.mOptions.mAttributes.get( in testGetRawDictWorks()
119 assertEquals("Wrong id attribute", ID, resultDict.mOptions.mAttributes.get( in testGetRawDictWorks()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDecodeUtils.java43 Options mOptions; field in DecodeUtils.DecodeCanceller
46 mOptions = options; in DecodeCanceller()
51 mOptions.requestCancelDecode(); in onCancel()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java230 public final DictionaryOptions mOptions; field in FusionDictionary
235 mOptions = options; in FusionDictionary()
239 mOptions.mAttributes.put(key, value); in addOptionAttribute()
DBinaryDictEncoderUtils.java784 for (final String key : dict.mOptions.mAttributes.keySet()) { in writeDictionaryHeader()
785 final String value = dict.mOptions.mAttributes.get(key); in writeDictionaryHeader()
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...