Searched refs:mFoldStateListener (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
D | FalsingDataProviderTest.java | 55 private FoldStateListener mFoldStateListener; field in FalsingDataProviderTest 350 when(mFoldStateListener.getFolded()).thenReturn(true); in test_UnfoldedState_Folded() 357 when(mFoldStateListener.getFolded()).thenReturn(false); in test_UnfoldedState_Unfolded() 364 when(mFoldStateListener.getFolded()).thenReturn(true); in test_Nonfoldabled_TrueFoldState() 371 when(mFoldStateListener.getFolded()).thenReturn(false); in test_Nonfoldabled_FalseFoldState() 378 when(mFoldStateListener.getFolded()).thenReturn(null); in test_Nonfoldabled_NullFoldState() 384 mDisplayMetrics, mBatteryController, mFoldStateListener, mDockManager, foldable); in createWithFoldCapability()
|
D | ClassifierTest.java | 42 private FoldStateListener mFoldStateListener = new FoldStateListener(mContext); field in ClassifierTest 53 displayMetrics, mBatteryController, mFoldStateListener, mDockManager, false); in setup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | FalsingDataProvider.java | 50 private final FoldStateListener mFoldStateListener; field in FalsingDataProvider 84 mFoldStateListener = foldStateListener; in FalsingDataProvider() 426 return mIsFoldableDevice && Boolean.FALSE.equals(mFoldStateListener.getFolded());
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraManager.java | 148 mFoldStateListener = new FoldStateListener(context); in CameraManager() 151 .registerCallback(new HandlerExecutor(mHandler), mFoldStateListener); in CameraManager() 157 mFoldStateListener = null; in CameraManager() 163 private FoldStateListener mFoldStateListener; field in CameraManager 224 if (mFoldStateListener != null) { in registerDeviceStateListener()
|
D | CameraCharacteristics.java | 212 private final CameraManager.DeviceStateListener mFoldStateListener = field in CameraCharacteristics 245 CameraManager.DeviceStateListener getDeviceStateListener() { return mFoldStateListener; } in getDeviceStateListener() 259 if (CameraCharacteristics.SENSOR_ORIENTATION.equals(key) && (mFoldStateListener != null) && in overrideProperty()
|
/frameworks/base/services/core/java/com/android/server/camera/ |
D | CameraServiceProxy.java | 611 private final FoldStateListener mFoldStateListener; field in CameraServiceProxy 626 mFoldStateListener = new FoldStateListener(mContext, folded -> { in CameraServiceProxy() 730 .registerCallback(new HandlerExecutor(mHandler), mFoldStateListener); in onBootPhase()
|