Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/app/ambientcontext/
DAmbientContextEventRequest.java40 @NonNull private final PersistableBundle mOptions; field in AmbientContextEventRequest
51 this.mOptions = options; in AmbientContextEventRequest()
52 AnnotationValidations.validate(NonNull.class, null, mOptions); in AmbientContextEventRequest()
66 return mOptions; in getOptions()
72 + "options = " + mOptions + " }"; in toString()
78 dest.writeTypedObject(mOptions, flags); in writeToParcel()
100 this.mOptions = options; in AmbientContextEventRequest()
102 NonNull.class, null, mOptions); in AmbientContextEventRequest()
124 private @NonNull PersistableBundle mOptions; field in AmbientContextEventRequest.Builder
150 mOptions = value; in setOptions()
[all …]
/frameworks/av/media/libheadtracking/
DStillnessDetector.cpp23 : mOptions(options), mCosHalfRotationalThreshold(cos(mOptions.rotationalThreshold / 2)) {} in StillnessDetector()
62 int64_t deadline = event.timestamp + mOptions.windowDuration; in calculate()
74 mCurrentState = mOptions.defaultValue; in calculate()
89 if (mOptions.windowDuration == 0) { in discardOld()
96 const int64_t windowStart = timestamp - mOptions.windowDuration; in discardOld()
112 if ((pose1.translation() - pose2.translation()).lpNorm<1>() > mOptions.translationalThreshold) { in areNear()
DHeadTrackingProcessor.cpp40 : mOptions(options), in HeadTrackingProcessorImpl()
64 timestamp, worldToHead, headTwist, mOptions.predictionDuration); in setWorldToHeadPose()
173 mOptions.maxTranslationalVelocity); in toString_l()
175 mOptions.maxRotationalVelocity); in toString_l()
177 media::nsToFloatMs(mOptions.freshnessTimeout)); in toString_l()
179 media::nsToFloatMs(mOptions.predictionDuration)); in toString_l()
181 media::nsToFloatMs(mOptions.autoRecenterWindowDuration)); in toString_l()
183 mOptions.autoRecenterTranslationalThreshold); in toString_l()
185 mOptions.autoRecenterRotationalThreshold); in toString_l()
187 media::nsToFloatMs(mOptions.screenStillnessWindowDuration)); in toString_l()
[all …]
DPoseDriftCompensator.cpp29 PoseDriftCompensator::PoseDriftCompensator(const Options& options) : mOptions(options) {} in PoseDriftCompensator()
53 translation *= std::expf(-static_cast<float>(dt) / mOptions.translationalDriftTimeConstant); in scale()
57 rotationVec *= std::expf(-static_cast<float>(dt) / mOptions.rotationalDriftTimeConstant); in scale()
DPoseRateLimiter.cpp24 PoseRateLimiter::PoseRateLimiter(const Options& options) : mOptions(options), mLimiting(false) {} in PoseRateLimiter()
45 mOptions.maxTranslationalVelocity, mOptions.maxRotationalVelocity); in calculatePose()
DModeSelector.cpp25 : mOptions(options), mDesiredMode(initialMode), mActualMode(initialMode) {} in ModeSelector()
56 mScreenToHead.has_value() && screenToHeadGap < mOptions.freshnessTimeout; in calculateActualMode()
58 mWorldToHead.has_value() && worldToHeadGap < mOptions.freshnessTimeout; in calculateActualMode()
60 mScreenStable.has_value() && screenStableGap < mOptions.freshnessTimeout; in calculateActualMode()
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/
DActivityOptionsWrapper.java32 private final ActivityOptions mOptions; field in ActivityOptionsWrapper
35 mOptions = options; in ActivityOptionsWrapper()
51 return mOptions; in getOptions()
59 WindowContainerToken daToken = mOptions.getLaunchTaskDisplayArea(); in getLaunchTaskDisplayArea()
68 return mOptions.toString(); in toString()
DCalculateParams.java37 private ActivityOptionsWrapper mOptions; field in CalculateParams
59 params.mOptions = ActivityOptionsWrapper.create(options); in create()
105 return mOptions; in getOptions()
/frameworks/base/core/java/android/service/autofill/
DImageTransformation.java64 private final ArrayList<Option> mOptions; field in ImageTransformation
68 mOptions = builder.mOptions; in ImageTransformation()
81 final int size = mOptions.size(); in apply()
87 final Option option = mOptions.get(i); in apply()
114 private final ArrayList<Option> mOptions = new ArrayList<>(); field in ImageTransformation.Builder
192 mOptions.add(new Option(regex, resId, contentDescription)); in addOptionInternal()
217 return "ImageTransformation: [id=" + mId + ", options=" + mOptions + "]"; in toString()
231 final int size = mOptions.size(); in writeToParcel()
236 final Option option = mOptions.get(i); in writeToParcel()
/frameworks/base/libs/hwui/hwui/
DImageDecoder.cpp60 mOptions.fZeroInitialized = zeroInit; in ImageDecoder()
122 mOptions.fSampleSize = sampleSize; in setTargetSize()
226 return mOptions.fFrameIndex; in currentFrame()
230 mOptions.fFrameIndex = 0; in rewind()
231 mOptions.fPriorFrame = SkCodec::kNoFrame; in rewind()
250 const int frameIndex = ++mOptions.fFrameIndex; in advanceFrame()
254 mOptions.fFrameIndex = frameCount; in advanceFrame()
262 mOptions.fFrameIndex = frameCount; in advanceFrame()
274 mOptions.fPriorFrame = frameIndex - 1; in advanceFrame()
294 mOptions.fPriorFrame = frameIndex - 1; in advanceFrame()
[all …]
/frameworks/base/core/java/android/text/method/
DCharacterPickerDialog.java45 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()
/frameworks/base/core/java/android/window/
DWindowContext.java53 private final Bundle mOptions; field in WindowContext
80 mOptions = options; in WindowContext()
94 mController.attachToDisplayArea(mType, getDisplayId(), mOptions); in attachToDisplayArea()
153 return mOptions; in getWindowContextOptions()
DWindowProviderService.java55 private final Bundle mOptions; field in WindowProviderService
77 mOptions = new Bundle(); in WindowProviderService()
78 mOptions.putBoolean(KEY_IS_WINDOW_PROVIDER_SERVICE, true); in WindowProviderService()
123 return mOptions; in getWindowContextOptions()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
DBitmapRegionTileSource.java376 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 …]
/frameworks/native/cmds/lshal/
DListCommand.cpp848 int v = mOptions.size(); in registerAllOptions()
852 mOptions.push_back({'h', "help", no_argument, v++, [](ListCommand*, const char*) { in registerAllOptions()
855 mOptions.push_back({'i', "interface", no_argument, v++, [](ListCommand* thiz, const char*) { in registerAllOptions()
859 mOptions.push_back({'l', "released", no_argument, v++, [](ListCommand* thiz, const char*) { in registerAllOptions()
863 mOptions.push_back({'t', "transport", no_argument, v++, [](ListCommand* thiz, const char*) { in registerAllOptions()
867 mOptions.push_back({'r', "arch", no_argument, v++, [](ListCommand* thiz, const char*) { in registerAllOptions()
871 mOptions.push_back({'s', "hash", no_argument, v++, [](ListCommand* thiz, const char*) { in registerAllOptions()
875 mOptions.push_back({'p', "pid", no_argument, v++, [](ListCommand* thiz, const char*) { in registerAllOptions()
879 mOptions.push_back({'a', "address", no_argument, v++, [](ListCommand* thiz, const char*) { in registerAllOptions()
883 mOptions.push_back({'c', "clients", no_argument, v++, [](ListCommand* thiz, const char*) { in registerAllOptions()
[all …]
DDebugCommand.cpp49 mOptions.push_back(arg.argv[optind]); in parseArgs()
69 pair.first, pair.second.empty() ? "default" : pair.second, mOptions, in main()
/frameworks/base/services/core/java/com/android/server/pm/
DDumpState.java57 private int mOptions; field in DumpState
81 return (mOptions & option) != 0; in isOptionEnabled()
85 mOptions |= option; in setOptionEnabled()
/frameworks/base/core/java/android/view/contentcapture/
DContentCaptureManager.java400 final ContentCaptureOptions mOptions; field in ContentCaptureManager
459 mOptions = Objects.requireNonNull(options, "options cannot be null"); in ContentCaptureManager()
461 ContentCaptureHelper.setLoggingLevel(mOptions.loggingLevel); in ContentCaptureManager()
462 setFlushViewTreeAppearingEventDisabled(mOptions.disableFlushForViewTreeAppearing); in ContentCaptureManager()
499 if (mOptions.lite) return; in onActivityCreated()
509 if (mOptions.lite) return; in onActivityResumed()
516 if (mOptions.lite) return; in onActivityPaused()
523 if (mOptions.lite) return; in onActivityDestroyed()
536 if (mOptions.lite) return; in flush()
548 if (!isContentCaptureEnabled() && !mOptions.lite) return null; in getServiceComponentName()
[all …]
DMainContentCaptureSession.java207 final int logHistorySize = mManager.mOptions.logHistorySize; in MainContentCaptureSession()
342 final int maxBufferSize = mManager.mOptions.maxBufferSize; in sendEvent()
504 flushFrequencyMs = mManager.mOptions.textChangeFlushingFrequencyMs; in scheduleFlush()
512 flushFrequencyMs = mManager.mOptions.idleFlushingFrequencyMs; in scheduleFlush()
565 + " m=" + mManager.mOptions.maxBufferSize in flush()
566 + " i=" + mManager.mOptions.idleFlushingFrequencyMs; in flush()
573 mDirectServiceInterface.sendEvents(events, reason, mManager.mOptions); in flush()
830 pw.print('/'); pw.println(mManager.mOptions.maxBufferSize); in dump()
843 pw.println(mManager.mOptions.textChangeFlushingFrequencyMs); in dump()
845 pw.println(mManager.mOptions.idleFlushingFrequencyMs); in dump()
/frameworks/av/include/media/
DMediaTrack.h87 mOptions = 0; in reset()
94 mOptions &= ~kSeekTo_Option; in clearSeekTo()
114 uint32_t mOptions; member
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenRecordDialog.java79 private Spinner mOptions; field in ScreenRecordDialog
150 mOptions = findViewById(R.id.screen_recording_options); in onCreate()
155 mOptions.setAdapter(a); in onCreate()
156 mOptions.setOnItemClickListenerInt((parent, view, position, id) -> { in onCreate()
170 ? (ScreenRecordingAudioSource) mOptions.getSelectedItem() in requestScreenCapture()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStarter.java175 private ActivityOptions mOptions; field in ActivityStarter
595 mOptions = starter.mOptions; in set()
1570 if (mOptions != null && mOptions.freezeRecentTasksReordering() in startActivityInner()
1622 mOptions); in startActivityInner()
1669 mOptions, sourceRecord); in startActivityInner()
1699 mTargetRootTask, mStartActivity, mOptions, mTransientLaunch); in startActivityInner()
1711 if (mOptions != null && mOptions.isLaunchIntoPip() in startActivityInner()
1734 getOrCreateRootTask(mStartActivity, mLaunchFlags, mInTask, mOptions); in computeTargetTask()
1739 mOptions); in computeTargetTask()
1754 sourceRecord, mOptions, mRequest, PHASE_BOUNDS, mLaunchParams); in computeLaunchParams()
[all …]
DWindowContextListenerController.java166 return listener != null ? listener.mOptions : null; in getOptions()
200 @Nullable private final Bundle mOptions; field in WindowContextListenerController.WindowContextListenerImpl
216 mOptions = options; in WindowContextListenerImpl()
293 if (!isWindowProviderService(mOptions) && isSuspendedState(dc.getDisplayInfo().state)) { in reportConfigToWindowTokenClient()
/frameworks/base/packages/WallpaperCropper/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()
/frameworks/opt/car/services/builtInServices/tests/src/com/android/server/wm/
DCalculateParamsTest.java50 private ActivityOptions mOptions = ActivityOptions.makeBasic(); field in CalculateParamsTest
61 CalculateParams params = CalculateParams.create(mTask,mLayout, mActvity, mSource, mOptions, in createReturnsCalculateParams()

123