Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/
DPersistentDataStore.java75 private final HashMap<String, DisplayState> mDisplayStates =
76 new HashMap<String, DisplayState>();
188 DisplayState state = getDisplayState(device.getUniqueId(), false); in getColorMode()
199 DisplayState state = getDisplayState(device.getUniqueId(), true); in setColorMode()
207 private DisplayState getDisplayState(String uniqueId, boolean createIfAbsent) { in getDisplayState()
209 DisplayState state = mDisplayStates.get(uniqueId); in getDisplayState()
211 state = new DisplayState(); in getDisplayState()
334 DisplayState state = new DisplayState(); in loadDisplaysFromXml()
357 for (Map.Entry<String, DisplayState> entry : mDisplayStates.entrySet()) { in saveToXml()
359 final DisplayState state = entry.getValue(); in saveToXml()
[all …]
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp166 setProjection(DisplayState::eOrientationDefault, mViewport, mFrame); in DisplayDevice()
440 case DisplayState::eOrientationDefault:
443 case DisplayState::eOrientation90:
446 case DisplayState::eOrientation180:
449 case DisplayState::eOrientation270:
461 case DisplayState::eOrientationDefault:
464 case DisplayState::eOrientation90:
467 case DisplayState::eOrientation180:
470 case DisplayState::eOrientation270:
569 case DisplayState::eOrientationDefault:
[all …]
DSurfaceFlinger_hwc1.cpp2164 const Vector<DisplayState>& displays, in setTransactionState()
2189 const DisplayState& s(displays[i]); in setTransactionState()
2247 uint32_t SurfaceFlinger::setDisplayStateLocked(const DisplayState& s) in setDisplayStateLocked()
2257 if (what & DisplayState::eSurfaceChanged) { in setDisplayStateLocked()
2263 if (what & DisplayState::eLayerStackChanged) { in setDisplayStateLocked()
2269 if (what & DisplayState::eDisplayProjectionChanged) { in setDisplayStateLocked()
2283 if (what & DisplayState::eDisplaySizeChanged) { in setDisplayStateLocked()
2484 Vector<DisplayState> displays; in onInitializeDisplays()
2485 DisplayState d; in onInitializeDisplays()
2486 d.what = DisplayState::eDisplayProjectionChanged | in onInitializeDisplays()
[all …]
DSurfaceFlinger.cpp2248 const Vector<DisplayState>& displays, in setTransactionState()
2273 const DisplayState& s(displays[i]); in setTransactionState()
2331 uint32_t SurfaceFlinger::setDisplayStateLocked(const DisplayState& s) in setDisplayStateLocked()
2341 if (what & DisplayState::eSurfaceChanged) { in setDisplayStateLocked()
2347 if (what & DisplayState::eLayerStackChanged) { in setDisplayStateLocked()
2353 if (what & DisplayState::eDisplayProjectionChanged) { in setDisplayStateLocked()
2367 if (what & DisplayState::eDisplaySizeChanged) { in setDisplayStateLocked()
2568 Vector<DisplayState> displays; in onInitializeDisplays()
2569 DisplayState d; in onInitializeDisplays()
2570 d.what = DisplayState::eDisplayProjectionChanged | in onInitializeDisplays()
[all …]
DSurfaceFlinger.h212 const Vector<DisplayState>& displays, uint32_t flags);
299 uint32_t setDisplayStateLocked(const DisplayState& s);
/frameworks/native/libs/gui/
DLayerState.cpp88 DisplayState::DisplayState() : in DisplayState() function in android::DisplayState
98 status_t DisplayState::write(Parcel& output) const { in write()
111 status_t DisplayState::read(const Parcel& input) { in read()
DSurfaceComposerClient.cpp109 int compare_type(const DisplayState& lhs, const DisplayState& rhs) { in compare_type()
119 SortedVector<DisplayState > mDisplayStates;
136 DisplayState& getDisplayStateLocked(const sp<IBinder>& token);
223 Vector<DisplayState> displayTransaction; in closeGlobalTransactionImpl()
464 DisplayState& Composer::getDisplayStateLocked(const sp<IBinder>& token) { in getDisplayStateLocked()
465 DisplayState s; in getDisplayStateLocked()
479 DisplayState& s(getDisplayStateLocked(token)); in setDisplaySurface()
481 s.what |= DisplayState::eSurfaceChanged; in setDisplaySurface()
487 DisplayState& s(getDisplayStateLocked(token)); in setDisplayLayerStack()
489 s.what |= DisplayState::eLayerStackChanged; in setDisplayLayerStack()
[all …]
DISurfaceComposer.cpp77 const Vector<DisplayState>& displays, in setTransactionState()
433 DisplayState d; in onTransact()
434 Vector<DisplayState> displays; in onTransact()
/frameworks/native/include/private/gui/
DLayerState.h111 struct DisplayState { struct
129 DisplayState(); argument
/frameworks/native/include/gui/
DISurfaceComposer.h39 class DisplayState; variable
103 const Vector<DisplayState>& displays, uint32_t flags) = 0;