Home
last modified time | relevance | path

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

123

/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/
DActivityOptionsWrapper.java31 private final ActivityOptions mOptions; field in ActivityOptionsWrapper
37 mOptions = options; in ActivityOptionsWrapper()
53 return mOptions; in getOptions()
60 return mOptions.getLaunchWindowingMode(); in getLaunchWindowingMode()
67 WindowContainerToken daToken = mOptions.getLaunchTaskDisplayArea(); in getLaunchTaskDisplayArea()
75 StringBuilder sb = new StringBuilder(mOptions.toString()); in toString()
77 sb.append(mOptions.getLaunchDisplayId()); in toString()
88 mOptions.setLaunchRootTask(launchRootTaskToken); in setLaunchRootTask()
95 mOptions.setLaunchDisplayId(displayId); in setLaunchDisplayId()
DCalculateParams.java34 private ActivityOptionsWrapper mOptions; field in CalculateParams
55 params.mOptions = ActivityOptionsWrapper.create(options); in create()
96 return mOptions; in getOptions()
/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/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/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/libs/hwui/hwui/
DImageDecoder.cpp77 mOptions.fZeroInitialized = zeroInit; in ImageDecoder()
139 mOptions.fSampleSize = sampleSize; in setTargetSize()
243 return mOptions.fFrameIndex; in currentFrame()
247 mOptions.fFrameIndex = 0; in rewind()
248 mOptions.fPriorFrame = SkCodec::kNoFrame; in rewind()
267 const int frameIndex = ++mOptions.fFrameIndex; in advanceFrame()
271 mOptions.fFrameIndex = frameCount; in advanceFrame()
279 mOptions.fFrameIndex = frameCount; in advanceFrame()
291 mOptions.fPriorFrame = frameIndex - 1; in advanceFrame()
311 mOptions.fPriorFrame = frameIndex - 1; in advanceFrame()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenRecordDialogDelegate.java74 private Spinner mOptions; field in ScreenRecordDialogDelegate
129 mOptions = dialog.findViewById(R.id.screen_recording_options); in onCreate()
134 mOptions.setAdapter(a); in onCreate()
135 mOptions.setOnItemClickListenerInt((parent, view, position, id) -> { in onCreate()
140 mOptions.setAccessibilityDelegate(new View.AccessibilityDelegate() { in onCreate()
148 mOptions.setLongClickable(false); in onCreate()
160 ? (ScreenRecordingAudioSource) mOptions.getSelectedItem() in requestScreenCapture()
/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.java58 private final Bundle mOptions; field in WindowProviderService
80 mOptions = new Bundle(); in WindowProviderService()
81 mOptions.putBoolean(KEY_IS_WINDOW_PROVIDER_SERVICE, true); in WindowProviderService()
126 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/base/core/java/android/view/contentcapture/
DContentCaptureManager.java502 final ContentCaptureOptions mOptions; field in ContentCaptureManager
571 mOptions = Objects.requireNonNull(options, "options cannot be null"); in ContentCaptureManager()
573 ContentCaptureHelper.setLoggingLevel(mOptions.loggingLevel); in ContentCaptureManager()
574 setFlushViewTreeAppearingEventDisabled(mOptions.disableFlushForViewTreeAppearing); in ContentCaptureManager()
580 if (mOptions.contentProtectionOptions.enableReceiver in ContentCaptureManager()
581 && mOptions.contentProtectionOptions.bufferSize > 0) { in ContentCaptureManager()
585 mOptions.contentProtectionOptions.bufferSize); in ContentCaptureManager()
650 if (mOptions.lite) return; in onActivityCreated()
660 if (mOptions.lite) return; in onActivityResumed()
667 if (mOptions.lite) return; in onActivityPaused()
[all …]
DMainContentCaptureSession.java227 final int logHistorySize = mManager.mOptions.logHistorySize; in MainContentCaptureSession()
330 mManager.mOptions.contentProtectionOptions); in onSessionStarted()
410 final int maxBufferSize = mManager.mOptions.maxBufferSize; in sendContentCaptureEvent()
572 flushFrequencyMs = mManager.mOptions.textChangeFlushingFrequencyMs; in scheduleFlush()
580 flushFrequencyMs = mManager.mOptions.idleFlushingFrequencyMs; in scheduleFlush()
650 + " m=" + mManager.mOptions.maxBufferSize in flush()
651 + " i=" + mManager.mOptions.idleFlushingFrequencyMs; in flush()
658 mDirectServiceInterface.sendEvents(events, reason, mManager.mOptions); in flush()
941 pw.print('/'); pw.println(mManager.mOptions.maxBufferSize); in dump()
954 pw.println(mManager.mOptions.textChangeFlushingFrequencyMs); in dump()
[all …]
DMainContentCaptureSessionV2.java244 final int logHistorySize = mManager.mOptions.logHistorySize; in MainContentCaptureSessionV2()
353 mManager.mOptions.contentProtectionOptions); in onSessionStarted()
433 final int maxBufferSize = mManager.mOptions.maxBufferSize; in sendContentCaptureEvent()
595 flushFrequencyMs = mManager.mOptions.textChangeFlushingFrequencyMs; in scheduleFlush()
603 flushFrequencyMs = mManager.mOptions.idleFlushingFrequencyMs; in scheduleFlush()
677 + " m=" + mManager.mOptions.maxBufferSize in flushImpl()
678 + " i=" + mManager.mOptions.idleFlushingFrequencyMs; in flushImpl()
685 mDirectServiceInterface.sendEvents(events, reason, mManager.mOptions); in flushImpl()
914 if (forceFlush || mEventProcessQueue.size() >= mManager.mOptions.maxBufferSize - 1) { in enqueueEvent()
1038 pw.print('/'); pw.println(mManager.mOptions.maxBufferSize); in dump()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DDumpState.java58 private int mOptions; field in DumpState
82 return (mOptions & option) != 0; in isOptionEnabled()
86 mOptions |= option; in setOptionEnabled()
/frameworks/native/cmds/lshal/
DListCommand.cpp893 int v = mOptions.size(); in registerAllOptions()
897 mOptions.push_back({'h', "help", no_argument, v++, [](ListCommand*, const char*) { in registerAllOptions()
900 mOptions.push_back({'i', "interface", no_argument, v++, [](ListCommand* thiz, const char*) { in registerAllOptions()
904 mOptions.push_back({'l', "released", no_argument, v++, [](ListCommand* thiz, const char*) { in registerAllOptions()
908 mOptions.push_back({'t', "transport", no_argument, v++, [](ListCommand* thiz, const char*) { in registerAllOptions()
912 mOptions.push_back({'r', "arch", no_argument, v++, [](ListCommand* thiz, const char*) { in registerAllOptions()
916 mOptions.push_back({'s', "hash", no_argument, v++, [](ListCommand* thiz, const char*) { in registerAllOptions()
920 mOptions.push_back({'p', "pid", no_argument, v++, [](ListCommand* thiz, const char*) { in registerAllOptions()
924 mOptions.push_back({'a', "address", no_argument, v++, [](ListCommand* thiz, const char*) { in registerAllOptions()
928 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/native/services/surfaceflinger/
DRenderArea.h37 : mOptions(options), in RenderArea()
101 return mOptions.test(Options::HINT_FOR_SEAMLESS_TRANSITION); in getHintForSeamlessTransition()
105 ftl::Flags<Options> mOptions;
/frameworks/base/services/core/java/com/android/server/am/
DForegroundServiceDelegation.java32 public final ForegroundServiceDelegationOptions mOptions; field in ForegroundServiceDelegation
38 mOptions = options; in ForegroundServiceDelegation()
/frameworks/av/include/media/
DMediaTrack.h87 mOptions = 0; in reset()
94 mOptions &= ~kSeekTo_Option; in clearSeekTo()
114 uint32_t mOptions; member
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStarter.java197 private ActivityOptions mOptions; field in ActivityStarter
664 mOptions = starter.mOptions; in set()
1737 if (mOptions != null && mOptions.freezeRecentTasksReordering() in startActivityInner()
1824 mOptions); in startActivityInner()
1886 mOptions, sourceRecord); in startActivityInner()
1919 mTargetRootTask, mStartActivity, mOptions, mTransientLaunch); in startActivityInner()
1931 if (mOptions != null && mOptions.isLaunchIntoPip() in startActivityInner()
1985 getOrCreateRootTask(mStartActivity, mLaunchFlags, mInTask, mOptions); in computeTargetTask()
1990 mOptions); in computeTargetTask()
2005 sourceRecord, mOptions, mRequest, PHASE_BOUNDS, mLaunchParams); in computeLaunchParams()
[all …]

123