Home
last modified time | relevance | path

Searched refs:mModes (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/service/controls/templates/
DTemperatureControlTemplate.java149 private final @ModeFlag int mModes; field in TemperatureControlTemplate
186 mModes = modesFlag & ALL_FLAGS; in TemperatureControlTemplate()
187 if (mCurrentMode != MODE_UNKNOWN && (modeToFlag[mCurrentMode] & mModes) == 0) { in TemperatureControlTemplate()
190 if (mCurrentActiveMode != MODE_UNKNOWN && (modeToFlag[mCurrentActiveMode] & mModes) == 0) { in TemperatureControlTemplate()
205 mModes = b.getInt(KEY_MODES); in TemperatureControlTemplate()
219 b.putInt(KEY_MODES, mModes); in getDataBundle()
237 return mModes; in getModes()
/frameworks/base/core/java/android/window/
DTransitionFilter.java174 public int[] mModes = null; field in TransitionFilter.Requirement
193 mModes = in.createIntArray(); in Requirement()
221 if (mModes != null) { in matches()
223 for (int m = 0; m < mModes.length; ++m) { in matches()
224 if (mModes[m] == change.getMode()) { in matches()
283 dest.writeIntArray(mModes); in writeToParcel()
319 if (mModes != null) { in toString()
320 for (int i = 0; i < mModes.length; ++i) { in toString()
321 out.append((i == 0 ? "" : ",") + TransitionInfo.modeToString(mModes[i])); in toString()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayAdapter.java275 private final Display.Mode[] mModes; field in OverlayDisplayAdapter.OverlayDisplayDevice
297 mModes = new Display.Mode[modes.size()]; in OverlayDisplayDevice()
300 mModes[i] = createMode(mode.mWidth, mode.mHeight, refreshRate); in OverlayDisplayDevice()
338 Display.Mode mode = mModes[mActiveMode]; in getDisplayDeviceInfoLocked()
347 mInfo.defaultModeId = mModes[0].getModeId(); in getDisplayDeviceInfoLocked()
348 mInfo.supportedModes = mModes; in getDisplayDeviceInfoLocked()
384 for (int i = 0; i < mModes.length; i++) { in setDesiredDisplayModeSpecsLocked()
385 if (mModes[i].getModeId() == id) { in setDesiredDisplayModeSpecsLocked()
422 private final List<OverlayMode> mModes; field in OverlayDisplayAdapter.OverlayDisplayHandle
438 mModes = modes; in OverlayDisplayHandle()
[all …]
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DActivityTransitionAnimator.kt406 mModes = intArrayOf(TRANSIT_CLOSE, TRANSIT_TO_BACK) in registerEphemeralReturnAnimation()
641 mModes = intArrayOf(TRANSIT_OPEN, TRANSIT_TO_FRONT) in register()
663 mModes = intArrayOf(TRANSIT_CLOSE, TRANSIT_TO_BACK) in register()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/transition/
DShellTransitionTests.java322 filter.mRequirements[0].mModes = new int[]{TRANSIT_OPEN, TRANSIT_TO_FRONT}; in testTransitionFilterActivityType()
341 filter.mRequirements[0].mModes = new int[]{TRANSIT_OPEN, TRANSIT_TO_FRONT}; in testTransitionFilterMultiRequirement()
342 filter.mRequirements[1].mModes = new int[]{TRANSIT_CLOSE, TRANSIT_TO_BACK}; in testTransitionFilterMultiRequirement()
359 filter.mRequirements[0].mModes = new int[]{TRANSIT_OPEN, TRANSIT_TO_FRONT}; in testTransitionFilterNotRequirement()
428 filter.mRequirements[0].mModes = new int[]{TRANSIT_OPEN, TRANSIT_TO_FRONT}; in testTransitionFilterActivityComponent()
464 filter.mRequirements[0].mModes = new int[]{TRANSIT_OPEN, TRANSIT_TO_FRONT}; in testRegisteredRemoteTransition()
532 filter.mRequirements[0].mModes = new int[]{TRANSIT_OPEN, TRANSIT_TO_FRONT}; in testRegisteredRemoteTransitionTakeover()