Home
last modified time | relevance | path

Searched refs:DisplayState (Results 1 – 20 of 20) 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()
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()
DSurfaceFlinger.h392 const Vector<DisplayState>& displays, uint32_t flags,
554 const Vector<DisplayState>& displays, uint32_t flags,
579 uint32_t setDisplayStateLocked(const DisplayState& s) REQUIRES(mStateLock);
1049 const Vector<DisplayState>& displayStates, uint32_t transactionFlags, in TransactionState()
1063 Vector<DisplayState> displays;
DSurfaceFlinger.cpp237 int SurfaceFlinger::primaryDisplayOrientation = DisplayState::eOrientationDefault;
320 SurfaceFlinger::primaryDisplayOrientation = DisplayState::eOrientation90; in SurfaceFlinger()
323 SurfaceFlinger::primaryDisplayOrientation = DisplayState::eOrientation180; in SurfaceFlinger()
326 SurfaceFlinger::primaryDisplayOrientation = DisplayState::eOrientation270; in SurfaceFlinger()
329 SurfaceFlinger::primaryDisplayOrientation = DisplayState::eOrientationDefault; in SurfaceFlinger()
897 primaryDisplayOrientation & DisplayState::eOrientationSwapMask) { in getDisplayConfigs()
2610 isInternalDisplay ? primaryDisplayOrientation : DisplayState::eOrientationDefault; in setupNewDisplayDeviceInternal()
3665 const Vector<DisplayState>& displays, uint32_t flags, in setTransactionState()
3713 const Vector<DisplayState>& displays, uint32_t flags, in applyTransactionState()
3738 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;
136 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()
1205 DisplayState& SurfaceComposerClient::Transaction::getDisplayState(const sp<IBinder>& token) { in getDisplayState()
1206 DisplayState s; in getDisplayState()
1230 DisplayState& s(getDisplayState(token)); in setDisplaySurface()
1232 s.what |= DisplayState::eSurfaceChanged; in setDisplaySurface()
1238 DisplayState& s(getDisplayState(token)); in setDisplayLayerStack()
1240 s.what |= DisplayState::eLayerStackChanged; in setDisplayLayerStack()
1247 DisplayState& s(getDisplayState(token)); in setDisplayProjection()
1251 s.what |= DisplayState::eDisplayProjectionChanged; in setDisplayProjection()
[all …]
DISurfaceComposer.cpp68 const Vector<DisplayState>& displays, uint32_t flags, in setTransactionState()
1020 DisplayState d; in onTransact()
1021 Vector<DisplayState> displays; in onTransact()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp2226 DisplayState state; in TEST_F()
2227 state.what = DisplayState::eLayerStackChanged; in TEST_F()
2257 DisplayState state; in TEST_F()
2290 DisplayState state; in TEST_F()
2291 state.what = DisplayState::eSurfaceChanged; in TEST_F()
2327 DisplayState state; in TEST_F()
2328 state.what = DisplayState::eSurfaceChanged; in TEST_F()
2361 DisplayState state; in TEST_F()
2362 state.what = DisplayState::eLayerStackChanged; in TEST_F()
2395 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.cpp561 const Vector<DisplayState>& /*displays*/, uint32_t /*flags*/, in setTransactionState() argument
/frameworks/base/services/
Dart-profile19116 Lcom/android/server/display/PersistentDataStore$DisplayState;