Home
last modified time | relevance | path

Searched refs:DisplayState (Results 1 – 21 of 21) sorted by relevance

/frameworks/native/services/surfaceflinger/
DDisplayDevice.h241 int displayInstallOrientation{DisplayState::eOrientationDefault};
309 case DisplayState::eOrientation90: in getSourceCrop()
312 case DisplayState::eOrientation180: in getSourceCrop()
315 case DisplayState::eOrientation270: in getSourceCrop()
336 if (orientation == DisplayState::eOrientationDefault) { in getDisplayRotation()
345 case DisplayState::eOrientation90: in getDisplayRotation()
349 case DisplayState::eOrientation180: in getDisplayRotation()
352 case DisplayState::eOrientation270: in getDisplayRotation()
DDisplayDevice.cpp90 setProjection(DisplayState::eOrientationDefault, Rect::INVALID_RECT, Rect::INVALID_RECT);
176 case DisplayState::eOrientationDefault: in displayStateOrientationToTransformOrientation()
178 case DisplayState::eOrientation90: in displayStateOrientationToTransformOrientation()
180 case DisplayState::eOrientation180: in displayStateOrientationToTransformOrientation()
182 case DisplayState::eOrientation270: in displayStateOrientationToTransformOrientation()
257 (orientation + mDisplayInstallOrientation) % (DisplayState::eOrientation270 + 1), in setProjection()
280 (orientation + mDisplayInstallOrientation) % (DisplayState::eOrientation270 + 1)); in setProjection()
DSurfaceInterceptor.h40 struct DisplayState;
59 const Vector<DisplayState>& changedDisplays, uint32_t flags) = 0;
94 const Vector<DisplayState>& changedDisplays, uint32_t flags) override;
155 const Vector<DisplayState>& changedDisplays, uint32_t transactionFlags);
168 const DisplayState& state, int32_t sequenceId);
DSurfaceInterceptor.cpp386 const DisplayState& state, int32_t sequenceId) in addDisplayChangesLocked()
388 if (state.what & DisplayState::eSurfaceChanged) { in addDisplayChangesLocked()
391 if (state.what & DisplayState::eLayerStackChanged) { in addDisplayChangesLocked()
394 if (state.what & DisplayState::eDisplaySizeChanged) { in addDisplayChangesLocked()
397 if (state.what & DisplayState::eDisplayProjectionChanged) { in addDisplayChangesLocked()
406 const Vector<DisplayState>& changedDisplays, uint32_t transactionFlags) in addTransactionLocked()
531 const Vector<DisplayState>& changedDisplays, uint32_t flags) in saveTransaction()
DRegionSamplingThread.cpp364 case DisplayState::eOrientationDefault: in captureSample()
366 case DisplayState::eOrientation90: in captureSample()
368 case DisplayState::eOrientation180: in captureSample()
370 case DisplayState::eOrientation270: in captureSample()
DSurfaceFlinger.h405 const Vector<DisplayState>& displays, uint32_t flags,
571 const Vector<DisplayState>& displays, uint32_t flags,
596 uint32_t setDisplayStateLocked(const DisplayState& s) REQUIRES(mStateLock);
1068 const Vector<DisplayState>& displayStates, uint32_t transactionFlags, in TransactionState()
1082 Vector<DisplayState> displays;
DSurfaceFlinger.cpp240 int SurfaceFlinger::primaryDisplayOrientation = DisplayState::eOrientationDefault;
326 SurfaceFlinger::primaryDisplayOrientation = DisplayState::eOrientation90; in SurfaceFlinger()
329 SurfaceFlinger::primaryDisplayOrientation = DisplayState::eOrientation180; in SurfaceFlinger()
332 SurfaceFlinger::primaryDisplayOrientation = DisplayState::eOrientation270; in SurfaceFlinger()
335 SurfaceFlinger::primaryDisplayOrientation = DisplayState::eOrientationDefault; in SurfaceFlinger()
871 primaryDisplayOrientation & DisplayState::eOrientationSwapMask) { in getDisplayConfigs()
2646 isInternalDisplay ? primaryDisplayOrientation : DisplayState::eOrientationDefault; in setupNewDisplayDeviceInternal()
3746 const Vector<DisplayState>& displays, uint32_t flags, in setTransactionState()
3794 const Vector<DisplayState>& displays, uint32_t flags, in applyTransactionState()
3819 for (const DisplayState& display : displays) { in applyTransactionState()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DPersistentDataStore.java118 private final HashMap<String, DisplayState> mDisplayStates =
119 new HashMap<String, DisplayState>();
243 DisplayState state = getDisplayState(device.getUniqueId(), false); in getColorMode()
254 DisplayState state = getDisplayState(device.getUniqueId(), true); in setColorMode()
288 private DisplayState getDisplayState(String uniqueId, boolean createIfAbsent) { in getDisplayState()
290 DisplayState state = mDisplayStates.get(uniqueId); in getDisplayState()
292 state = new DisplayState(); in getDisplayState()
417 DisplayState state = new DisplayState(); in loadDisplaysFromXml()
440 for (Map.Entry<String, DisplayState> entry : mDisplayStates.entrySet()) { in saveToXml()
442 final DisplayState state = entry.getValue(); in saveToXml()
[all …]
/frameworks/native/libs/gui/include/gui/
DLayerState.h284 static inline int compare_type(const DisplayState& lhs, const DisplayState& rhs) { in compare_type()
DISurfaceComposer.h49 struct DisplayState;
139 const Vector<DisplayState>& displays, uint32_t flags,
DSurfaceComposerClient.h290 SortedVector<DisplayState > mDisplayStates;
318 DisplayState& getDisplayState(const sp<IBinder>& token);
/frameworks/native/libs/gui/
DLayerState.cpp182 DisplayState::DisplayState() : in DisplayState() function in android::DisplayState
192 status_t DisplayState::write(Parcel& output) const { in write()
205 status_t DisplayState::read(const Parcel& input) { in read()
218 void DisplayState::merge(const DisplayState& other) { in merge()
DSurfaceComposerClient.cpp378 Vector<DisplayState> displayStates; in doDropReferenceTransaction()
475 Vector<DisplayState> displayStates; in apply()
1206 DisplayState& SurfaceComposerClient::Transaction::getDisplayState(const sp<IBinder>& token) { in getDisplayState()
1207 DisplayState s; in getDisplayState()
1231 DisplayState& s(getDisplayState(token)); in setDisplaySurface()
1233 s.what |= DisplayState::eSurfaceChanged; in setDisplaySurface()
1239 DisplayState& s(getDisplayState(token)); in setDisplayLayerStack()
1241 s.what |= DisplayState::eLayerStackChanged; in setDisplayLayerStack()
1248 DisplayState& s(getDisplayState(token)); in setDisplayProjection()
1252 s.what |= DisplayState::eDisplayProjectionChanged; in setDisplayProjection()
[all …]
DISurfaceComposer.cpp68 const Vector<DisplayState>& displays, uint32_t flags, in setTransactionState()
1021 DisplayState d; in onTransact()
1022 Vector<DisplayState> displays; in onTransact()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp2236 DisplayState state; in TEST_F()
2237 state.what = DisplayState::eLayerStackChanged; in TEST_F()
2267 DisplayState state; in TEST_F()
2300 DisplayState state; in TEST_F()
2301 state.what = DisplayState::eSurfaceChanged; in TEST_F()
2337 DisplayState state; in TEST_F()
2338 state.what = DisplayState::eSurfaceChanged; in TEST_F()
2371 DisplayState state; in TEST_F()
2372 state.what = DisplayState::eLayerStackChanged; in TEST_F()
2405 DisplayState state; in TEST_F()
[all …]
DTestableSurfaceFlinger.h262 auto setDisplayStateLocked(const DisplayState& s) { in setDisplayStateLocked()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockSurfaceInterceptor.h39 const Vector<DisplayState>&, uint32_t));
/frameworks/base/tools/stats_log_api_gen/
Dtest.proto182 // the state is globally exclusive (e.g., DisplayState).
/frameworks/base/core/proto/android/os/
Dbatterystats.proto172 enum DisplayState { enum
183 optional DisplayState display_state = 3;
/frameworks/native/libs/gui/tests/
DSurface_test.cpp687 const Vector<DisplayState>& /*displays*/, uint32_t /*flags*/, in setTransactionState() argument
/frameworks/base/services/
Dart-profile19116 Lcom/android/server/display/PersistentDataStore$DisplayState;