Home
last modified time | relevance | path

Searched refs:mControl (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessController.java68 private final ToggleSlider mControl; field in BrightnessController
237 mControl.setChecked(msg.arg1 != 0);
240 mControl.setOnChangedListener(BrightnessController.this);
243 mControl.setOnChangedListener(null);
259 mControl = control; in BrightnessController()
260 mControl.setMax(GAMMA_SPACE_MAX); in BrightnessController()
389 ((ToggleSliderView)mControl).setEnforcedAdmin( in checkRestrictionAndSetEnabled()
424 if (val == convertGammaToLinear(mControl.getValue(), min, max)) { in updateSlider()
439 mControl.setValue(target); in animateSliderTo()
445 mSliderAnimator = ValueAnimator.ofInt(mControl.getValue(), target); in animateSliderTo()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DInsetsSourceProvider.java54 private @Nullable InsetsSourceControl mControl; field in InsetsSourceProvider
138 if (mControl != null) { in onPostLayout()
140 if (mControl.setSurfacePosition(frame.left, frame.top)) { in onPostLayout()
166 mControl = new InsetsSourceControl(mSource.getType(), mAdapter.mCapturedLeash, in updateControlForTarget()
198 return mControl; in getControl()
232 mControl = null; in onAnimationCancelled()
/frameworks/av/media/codec2/components/cmds/
Dcodec2.cpp111 sp<SurfaceControl> mControl; member in __anonebcab3d80111::SimplePlayer
150 mControl = mComposerClient->createSurface( in SimplePlayer()
157 CHECK(mControl != nullptr); in SimplePlayer()
158 CHECK(mControl->isValid()); in SimplePlayer()
161 .setLayer(mControl, INT_MAX) in SimplePlayer()
162 .show(mControl) in SimplePlayer()
165 mSurface = mControl->getSurface(); in SimplePlayer()
/frameworks/av/media/mtp/
DMtpFfsHandle.cpp76 mControl.reset(controlFd); in MtpFfsHandle()
126 return ::android::writeDescriptors(mControl, ptp); in writeDescriptors()
130 mControl.reset(); in closeConfig()
178 int nbytes = TEMP_FAILURE_RETRY(::read(mControl, event, in handleEvent()
220 if (::read(mControl, buf.data(), length) != length) { in handleControlRequest()
261 if (::write(mControl, buf.data(), length) != length) { in handleControlRequest()
289 mPollFds[0].fd = mControl; in start()
DMtpFfsHandle.h61 android::base::unique_fd mControl; variable
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDimmerTests.java48 final SurfaceControl mControl = mock(SurfaceControl.class); field in DimmerTests.TestWindowContainer
57 return mControl; in getSurfaceControl()
187 verify(mTransaction).setRelativeLayer(dimLayer, child.mControl, 1); in testDimAboveWithChildCreatesSurfaceAboveChild()
202 verify(mTransaction).setRelativeLayer(dimLayer, child.mControl, -1); in testDimBelowWithChildSurfaceCreatesSurfaceBelowChild()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioEffectTest.java1404 boolean mControl; field in MediaAudioEffectTest.ListenerThread
1410 mControl = control; in ListenerThread()
1433 if (mControl) { in createListenerLooper()
/frameworks/av/media/mtp/tests/
DMtpFfsHandle_test.cpp71 handle->mControl.reset(fd[1]); in MtpFfsHandleTest()