/aosp12/packages/apps/Gallery2/src/com/android/photos/drawables/ |
H A D | AutoThumbnailDrawable.java | 64 mOptions.inTempStorage = sTempStorage; in AutoThumbnailDrawable() 236 mOptions.inJustDecodeBounds = true; 238 mOptions.inJustDecodeBounds = false; 249 mOptions.outWidth, mOptions.outHeight); 259 mOptions.inBitmap = sBitmapPool.get( 263 if (mOptions.inBitmap != null && b != mOptions.inBitmap) { 264 sBitmapPool.put(mOptions.inBitmap); 265 mOptions.inBitmap = null; 270 mOptions.inSampleSize = sampleSize; 273 if (mOptions.inBitmap != null && b != mOptions.inBitmap) { [all …]
|
/aosp12/packages/apps/Gallery2/src/com/android/photos/ |
H A D | BitmapRegionTileSource.java | 64 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() 144 if (mOptions.inBitmap != bitmap && mOptions.inBitmap != null) { in getTile() 145 mOptions.inBitmap = null; in getTile() 163 mOptions.inSampleSize = (1 << level); in getTileWithoutReusingBitmap() [all …]
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
H A D | LauncherDragController.java | 80 mOptions = options; in startDrag() 81 if (mOptions.simulatedDndStartPoint != null) { in startDrag() 82 mLastTouch.x = mMotionDown.x = mOptions.simulatedDndStartPoint.x; in startDrag() 83 mLastTouch.y = mMotionDown.y = mOptions.simulatedDndStartPoint.y; in startDrag() 97 mIsInPreDrag = mOptions.preDragCondition != null in startDrag() 98 && !mOptions.preDragCondition.shouldStartDrag(0); in startDrag() 128 mDragDriver = DragDriver.create(this, mOptions, mFlingToDeleteHelper::recordMotionEvent); in startDrag() 129 if (!mOptions.isAccessibleDrag) { in startDrag() 150 } else if (mOptions.preDragCondition != null) { in startDrag() 151 mOptions.preDragCondition.onPreDragStart(mDragObject); in startDrag() [all …]
|
H A D | DragController.java | 72 protected DragOptions mOptions; field in DragController 214 if (mOptions.preDragCondition != null) { in callOnDragStart() 215 mOptions.preDragCondition.onPreDragEnd(mDragObject, true /* dragStarted*/); in callOnDragStart() 220 listener.onDragStart(mDragObject, mOptions); in callOnDragStart() 244 return mDragDriver != null || (mOptions != null && mOptions.isAccessibleDrag); in isDragging() 329 if (mIsInPreDrag && mOptions.preDragCondition != null) { in callOnDragEnd() 333 mOptions = null; in callOnDragEnd() 397 if (mOptions != null && mOptions.isAccessibleDrag) { in onControllerInterceptTouchEvent() 455 if (mIsInPreDrag && mOptions.preDragCondition != null in handleMoveEvent() 456 && mOptions.preDragCondition.shouldStartDrag(distanceDragged)) { in handleMoveEvent() [all …]
|
/aosp12/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/ |
H A D | arguments_and_options.h | 31 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
|
/aosp12/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
H A D | NativeSuggestOptions.java | 28 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()
|
/aosp12/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
H A D | Diff.java | 79 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()
|
/aosp12/frameworks/base/libs/hwui/hwui/ |
H A D | ImageDecoder.cpp | 61 mOptions.fZeroInitialized = zeroInit; in ImageDecoder() 123 mOptions.fSampleSize = sampleSize; in setTargetSize() 225 return mOptions.fFrameIndex; in currentFrame() 229 mOptions.fFrameIndex = 0; in rewind() 230 mOptions.fPriorFrame = SkCodec::kNoFrame; in rewind() 249 const int frameIndex = ++mOptions.fFrameIndex; in advanceFrame() 253 mOptions.fFrameIndex = frameCount; in advanceFrame() 261 mOptions.fFrameIndex = frameCount; in advanceFrame() 273 mOptions.fPriorFrame = frameIndex - 1; in advanceFrame() 293 mOptions.fPriorFrame = frameIndex - 1; in advanceFrame() [all …]
|
/aosp12/frameworks/base/core/java/android/service/autofill/ |
H A D | ImageTransformation.java | 63 private final ArrayList<Option> mOptions; field in ImageTransformation 67 mOptions = builder.mOptions; in ImageTransformation() 80 final int size = mOptions.size(); in apply() 86 final Option option = mOptions.get(i); in apply() 113 private final ArrayList<Option> mOptions = new ArrayList<>(); field in ImageTransformation.Builder 191 mOptions.add(new Option(regex, resId, contentDescription)); in addOptionInternal() 216 return "ImageTransformation: [id=" + mId + ", options=" + mOptions + "]"; in toString() 230 final int size = mOptions.size(); in writeToParcel() 235 final Option option = mOptions.get(i); in writeToParcel()
|
/aosp12/packages/apps/ThemePicker/src/com/android/customization/model/grid/ |
H A D | LauncherGridOptionsProvider.java | 55 private List<GridOption> mOptions; field in LauncherGridOptionsProvider 76 if (mOptions != null && !reload) { in fetch() 77 return mOptions; in fetch() 84 mOptions = new ArrayList<>(); in fetch() 92 mOptions.add(new GridOption(title, name, isSet, rows, cols, in fetch() 96 mOptions = null; in fetch() 98 return mOptions; in fetch()
|
/aosp12/packages/apps/ThemePicker/src/com/android/customization/widget/ |
H A D | OptionSelectorController.java | 83 private final List<T> mOptions; field in OptionSelectorController 99 mOptions = options; in OptionSelectorController() 116 if (!mOptions.contains(option)) { in setSelectedOption() 121 mAdapter.notifyItemChanged(mOptions.indexOf(option)); in setSelectedOption() 132 return mOptions.contains(option); in containsOption() 141 if (!mOptions.contains(option)) { in setAppliedOption() 157 if (!mOptions.contains(option)) { in optionChanged() 185 T option = mOptions.get(position); in initOptions() 245 return mOptions.size(); in initOptions() 343 mOptions.clear(); in resetOptions() [all …]
|
/aosp12/frameworks/base/core/java/android/text/method/ |
H A D | CharacterPickerDialog.java | 45 private String mOptions; field in CharacterPickerDialog 62 mOptions = options; in CharacterPickerDialog() 90 String result = String.valueOf(mOptions.charAt(position)); in onItemClick() 126 b.setText(String.valueOf(mOptions.charAt(position))); in getView() 132 return mOptions.length(); in getCount() 136 return String.valueOf(mOptions.charAt(position)); in getItem()
|
/aosp12/packages/inputmethods/LatinIME/native/jni/src/suggest/core/ |
H A D | suggest_options.h | 27 : 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()
|
/aosp12/packages/apps/WallpaperPicker/src/com/android/photos/ |
H A D | BitmapRegionTileSource.java | 300 private BitmapFactory.Options mOptions; field in BitmapRegionTileSource 309 mOptions = new BitmapFactory.Options(); in BitmapRegionTileSource() 310 mOptions.inPreferredConfig = Bitmap.Config.ARGB_8888; in BitmapRegionTileSource() 311 mOptions.inPreferQualityOverSpeed = true; in BitmapRegionTileSource() 312 mOptions.inTempStorage = tempStorage; in BitmapRegionTileSource() 368 mOptions.inSampleSize = (1 << level); in getTile() 369 mOptions.inBitmap = bitmap; in getTile() 372 bitmap = mDecoder.decodeRegion(mWantRegion, mOptions); in getTile() 374 if (mOptions.inBitmap != bitmap && mOptions.inBitmap != null) { in getTile() 375 mOptions.inBitmap = null; in getTile()
|
/aosp12/build/make/tools/product_config/src/com/android/build/config/ |
H A D | KatiImpl.java | 32 private final Options mOptions; field in KatiImpl 39 return Paths.get(mOptions.getOutDir(), CONFIG_SUBDIR, in getWorkDirPath() 40 mOptions.getProduct() + '-' + mOptions.getVariant()).toString(); in getWorkDirPath() 54 mOptions = options; in KatiImpl()
|
/aosp12/hardware/qcom/sm8150p/gps/geofence/ |
H A D | GeofenceAdapter.cpp | 218 GeofenceOption* mOptions; in addGeofencesCommand() member 233 mOptions(options), in addGeofencesCommand() 247 mOptions = mOptions, mInfos = mInfos, mIds = mIds, &mApi = mApi, in addGeofencesCommand() 251 [&mAdapter = mAdapter, mOptions = mOptions, mClient = mClient, in addGeofencesCommand() 258 mOptions[i], in addGeofencesCommand() 268 delete[] mOptions; in addGeofencesCommand() 557 GeofenceOption* mOptions; in modifyGeofencesCommand() member 570 mOptions(options) {} in modifyGeofencesCommand() 583 &mApi = mApi, mOptions = mOptions, errs, i] (LocationError err ) { in modifyGeofencesCommand() 590 mIds = mIds, mOptions = mOptions, hwId, errs, i] in modifyGeofencesCommand() [all …]
|
/aosp12/hardware/qcom/sm7250/gps/geofence/ |
H A D | GeofenceAdapter.cpp | 214 GeofenceOption* mOptions; in addGeofencesCommand() member 229 mOptions(options), in addGeofencesCommand() 243 mOptions = mOptions, mInfos = mInfos, mIds = mIds, &mApi = mApi, in addGeofencesCommand() 247 [&mAdapter = mAdapter, mOptions = mOptions, mClient = mClient, in addGeofencesCommand() 254 mOptions[i], in addGeofencesCommand() 264 delete[] mOptions; in addGeofencesCommand() 553 GeofenceOption* mOptions; in modifyGeofencesCommand() member 566 mOptions(options) {} in modifyGeofencesCommand() 579 &mApi = mApi, mOptions = mOptions, errs, i] (LocationError err ) { in modifyGeofencesCommand() 586 mIds = mIds, mOptions = mOptions, hwId, errs, i] in modifyGeofencesCommand() [all …]
|
/aosp12/hardware/qcom/sm7150/gps/geofence/ |
H A D | GeofenceAdapter.cpp | 218 GeofenceOption* mOptions; in addGeofencesCommand() member 233 mOptions(options), in addGeofencesCommand() 247 mOptions = mOptions, mInfos = mInfos, mIds = mIds, &mApi = mApi, in addGeofencesCommand() 251 [&mAdapter = mAdapter, mOptions = mOptions, mClient = mClient, in addGeofencesCommand() 258 mOptions[i], in addGeofencesCommand() 268 delete[] mOptions; in addGeofencesCommand() 557 GeofenceOption* mOptions; in modifyGeofencesCommand() member 570 mOptions(options) {} in modifyGeofencesCommand() 583 &mApi = mApi, mOptions = mOptions, errs, i] (LocationError err ) { in modifyGeofencesCommand() 590 mIds = mIds, mOptions = mOptions, hwId, errs, i] in modifyGeofencesCommand() [all …]
|
/aosp12/hardware/qcom/sm8150/gps/geofence/ |
H A D | GeofenceAdapter.cpp | 217 GeofenceOption* mOptions; in addGeofencesCommand() member 232 mOptions(options), in addGeofencesCommand() 246 mOptions = mOptions, mInfos = mInfos, mIds = mIds, &mApi = mApi, in addGeofencesCommand() 250 [&mAdapter = mAdapter, mOptions = mOptions, mClient = mClient, in addGeofencesCommand() 257 mOptions[i], in addGeofencesCommand() 267 delete[] mOptions; in addGeofencesCommand() 556 GeofenceOption* mOptions; in modifyGeofencesCommand() member 569 mOptions(options) {} in modifyGeofencesCommand() 582 &mApi = mApi, mOptions = mOptions, errs, i] (LocationError err ) { in modifyGeofencesCommand() 589 mIds = mIds, mOptions = mOptions, hwId, errs, i] in modifyGeofencesCommand() [all …]
|
/aosp12/packages/apps/Gallery/src/com/android/camera/ |
H A D | BitmapManager.java | 43 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()
|
/aosp12/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
H A D | BitmapRegionTileSource.java | 376 private BitmapFactory.Options mOptions; field in BitmapRegionTileSource 386 mOptions = new BitmapFactory.Options(); in BitmapRegionTileSource() 387 mOptions.inPreferredConfig = Bitmap.Config.ARGB_8888; in BitmapRegionTileSource() 388 mOptions.inPreferQualityOverSpeed = true; in BitmapRegionTileSource() 389 mOptions.inTempStorage = new byte[16 * 1024]; in BitmapRegionTileSource() 449 mOptions.inSampleSize = (1 << level); in getTile() 450 mOptions.inBitmap = bitmap; in getTile() 453 bitmap = mDecoder.decodeRegion(mWantRegion, mOptions); in getTile() 455 if (mOptions.inBitmap != bitmap && mOptions.inBitmap != null) { in getTile() 456 mOptions.inBitmap = null; in getTile() [all …]
|
/aosp12/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/ |
H A D | ThemeComponentOptionProvider.java | 38 protected List<T> mOptions; field in ThemeComponentOptionProvider 63 if (mOptions == null || reload) { in fetch() 64 mOptions = new ArrayList<>(); in fetch() 69 callback.onOptionsLoaded(mOptions); in fetch()
|
/aosp12/frameworks/native/cmds/lshal/ |
H A D | ListCommand.cpp | 848 int v = mOptions.size(); in registerAllOptions() 852 mOptions.push_back({'h', "help", no_argument, v++, [](ListCommand*, const char*) { in registerAllOptions() 875 mOptions.push_back({'p', "pid", no_argument, v++, [](ListCommand* thiz, const char*) { in registerAllOptions() 920 mOptions.push_back({'A', "all", no_argument, v++, in registerAllOptions() 959 mOptions.push_back( in registerAllOptions() 1048 if (mOptions.empty()) { 1052 std::unique_ptr<struct option[]> longOptions = getLongOptions(mOptions, &longOptFlag); 1053 std::string shortOptions = getShortOptions(mOptions); 1070 for (const auto& e : mOptions) { 1075 for (const auto& e : mOptions) { [all …]
|
/aosp12/frameworks/base/core/java/android/view/contentcapture/ |
H A D | ContentCaptureManager.java | 375 final ContentCaptureOptions mOptions; field in ContentCaptureManager 403 mOptions = Preconditions.checkNotNull(options, "options cannot be null"); in ContentCaptureManager() 405 ContentCaptureHelper.setLoggingLevel(mOptions.loggingLevel); in ContentCaptureManager() 442 if (mOptions.lite) return; in onActivityCreated() 452 if (mOptions.lite) return; in onActivityResumed() 459 if (mOptions.lite) return; in onActivityPaused() 466 if (mOptions.lite) return; in onActivityDestroyed() 479 if (mOptions.lite) return; in flush() 491 if (!isContentCaptureEnabled() && !mOptions.lite) return null; in getServiceComponentName() 551 if (mOptions.lite) return false; in isContentCaptureEnabled() [all …]
|
/aosp12/frameworks/base/core/java/android/window/ |
H A D | WindowContext.java | 51 private final Bundle mOptions; field in WindowContext 78 mOptions = options; in WindowContext() 92 mController.attachToDisplayArea(mType, getDisplayId(), mOptions); in attachToDisplayArea() 150 return mOptions; in getWindowContextOptions()
|