Home
last modified time | relevance | path

Searched refs:display (Results 1 – 25 of 118) sorted by relevance

12345

/base/powermgr/thermal_manager/services/native/src/thermal_action/action/
Daction_popup.cpp131 auto display = Rosen::DisplayManager::GetInstance().GetDefaultDisplay(); in GetDisplayPosition() local
132 if (display == nullptr) { in GetDisplayPosition()
134 display = Rosen::DisplayManager::GetInstance().GetDefaultDisplay(); in GetDisplayPosition()
137 if (display != nullptr) { in GetDisplayPosition()
139 display->GetWidth(), display->GetHeight()); in GetDisplayPosition()
140 if (display->GetWidth() < display->GetHeight()) { in GetDisplayPosition()
146 width = display->GetWidth() * NARROW_WIDTH_N / NARROW_WIDTH_D; in GetDisplayPosition()
147 height = display->GetHeight() / NARROW_HEIGHT_RATE; in GetDisplayPosition()
154 width = display->GetWidth() * NARROW_WIDTH_N / NARROW_WIDTH_D; in GetDisplayPosition()
155 height = display->GetHeight() / NARROW_HEIGHT_RATE; in GetDisplayPosition()
[all …]
/base/user_iam/face_auth/ui/Settings_FaceAuth/entry/src/main/ets/enrollmentstartview/config/
Dconfig.ets18 import display from '@ohos.display';
28 display.getDefaultDisplay().then((display)=>{
29 if (typeof display.height === "string") {
34 Log.info(this.TAG, "display height: " + display.height +
35 " display width: " + display.width)
36 if (display.height > display.width) {
/base/accessibility/services/aams/src/
Daccessibility_interaction_bridge.cpp112 bool Intersect(Rect& rect, Rosen::Display& display) in Intersect() argument
115 Rect source(0, 0, display.GetWidth(), display.GetHeight()); in Intersect()
141 auto display = AccessibilityDisplayManager::GetInstance().GetDefaultDisplay(); in GetPointerItermOfAccessibilityFocusClick() local
142 if (!Intersect(focusRect, *display)) { in GetPointerItermOfAccessibilityFocusClick()
Daccessibility_gesture_recognizer.cpp54 auto display = displayMgr.GetDefaultDisplay(); in AccessibilityGestureRecognizer() local
55 if (!display) { in AccessibilityGestureRecognizer()
60 threshold_ = CALCULATION_DIMENSION(display->GetWidth()); in AccessibilityGestureRecognizer()
61 xMinPixels_ = MIN_PIXELS(display->GetWidth()); in AccessibilityGestureRecognizer()
62 yMinPixels_ = MIN_PIXELS(display->GetHeight()); in AccessibilityGestureRecognizer()
64 float densityPixels = display->GetVirtualPixelRatio(); in AccessibilityGestureRecognizer()
Daccessible_ability_manager_service.cpp831 for (sptr<Rosen::Display> display : displays) { in UpdateMagnification()
832 AccessibilityZoomProxy::GetInstance().Register(display->GetId()); in UpdateMagnification()
835 for (sptr<Rosen::Display> display : displays) { in UpdateMagnification()
836 AccessibilityZoomProxy::GetInstance().Unregister(display->GetId()); in UpdateMagnification()
/base/powermgr/display_manager/
DREADME.md1 # display\_manager<a name="EN-US_TOPIC_0000001152026155"></a>
11 1. Turning on/off the display
12 2. Adjusting the brightness of the display screen
15 ![](figures/power-management-subsystem-architecture.png "display-power-manager-subsystem-architectu…
/base/powermgr/battery_manager/services/native/src/
Dbattery_service.cpp273 auto display = Rosen::DisplayManager::GetInstance().GetDefaultDisplay(); in GetDisplayPosition() local
274 if (display == nullptr) { in GetDisplayPosition()
276 display = Rosen::DisplayManager::GetInstance().GetDefaultDisplay(); in GetDisplayPosition()
279 if (display != nullptr) { in GetDisplayPosition()
281 display->GetWidth(), display->GetHeight()); in GetDisplayPosition()
282 if (display->GetWidth() < display->GetHeight()) { in GetDisplayPosition()
288 width = display->GetWidth() * NARROW_WIDTH_N / NARROW_WIDTH_D; in GetDisplayPosition()
289 height = display->GetHeight() / NARROW_HEIGHT_RATE; in GetDisplayPosition()
296 width = display->GetWidth() * NARROW_WIDTH_N / NARROW_WIDTH_D; in GetDisplayPosition()
297 height = display->GetHeight() / NARROW_HEIGHT_RATE; in GetDisplayPosition()
[all …]
/base/powermgr/power_manager/services/native/src/
Dpower_mgr_service.cpp898 auto display = Rosen::DisplayManager::GetInstance().GetDefaultDisplay(); in GetDisplayPosition() local
899 if (display == nullptr) { in GetDisplayPosition()
901 display = Rosen::DisplayManager::GetInstance().GetDefaultDisplay(); in GetDisplayPosition()
904 if (display != nullptr) { in GetDisplayPosition()
906 display->GetWidth(), display->GetHeight()); in GetDisplayPosition()
907 if (display->GetWidth() < display->GetHeight()) { in GetDisplayPosition()
913 width = display->GetWidth() * NARROW_WIDTH_N / NARROW_WIDTH_D; in GetDisplayPosition()
914 height = display->GetHeight() / NARROW_HEIGHT_RATE; in GetDisplayPosition()
921 width = display->GetWidth() * NARROW_WIDTH_N / NARROW_WIDTH_D; in GetDisplayPosition()
922 height = display->GetHeight() / NARROW_HEIGHT_RATE; in GetDisplayPosition()
[all …]
/base/update/app/
DREADME.md14 1. Check for available update packages and display the check result.
16 2. Download the update package and display the download progress.
/base/accessibility/services/aams/test/mock/
Dmock_display_manager.cpp63 sptr<Display> display = new Display("display_mock", nullptr); in GetDisplayById() local
64 return display; in GetDisplayById()
Daccessible_ability_manager_service_mock.cpp366 for (sptr<Rosen::Display> display : displays) { in UpdateMagnification()
367 AccessibilityZoomProxy::GetInstance().Register(display->GetId()); in UpdateMagnification()
370 for (sptr<Rosen::Display> display : displays) { in UpdateMagnification()
371 AccessibilityZoomProxy::GetInstance().Unregister(display->GetId()); in UpdateMagnification()
/base/accessibility/services/test/mock/
Dmock_display_manager.cpp65 sptr<Display> display = new Display("display_mock", nullptr); in GetDisplayById() local
66 return display; in GetDisplayById()
Daccessible_ability_manager_service_mock.cpp347 for (sptr<Rosen::Display> display : displays) { in UpdateMagnification()
348 AccessibilityZoomProxy::GetInstance().Register(display->GetId()); in UpdateMagnification()
351 for (sptr<Rosen::Display> display : displays) { in UpdateMagnification()
352 AccessibilityZoomProxy::GetInstance().Unregister(display->GetId()); in UpdateMagnification()
/base/miscservices/inputmethod/services/dialog/js/pages/index/
Dindex.css2 display: flex;
/base/powermgr/battery_manager/frameworks/dialog/dialog_ui/js/pages/index/
Dindex.css17 display: flex;
/base/powermgr/thermal_manager/frameworks/dialog/dialog_ui/js/pages/index/
Dindex.css17 display: flex;
/base/powermgr/power_manager/frameworks/dialog/dialog_ui/js/pages/index/
Dindex.css17 display: flex;
/base/notification/ans_standard/frameworks/ans/dialog/dialog_ui/js/pages/index/
Dindex.css17 display: flex;
/base/powermgr/display_manager/test/unittest/common/native/
DBUILD.gn49 "//drivers/peripheral/display/hal:hdi_display_device",
/base/powermgr/thermal_manager/test/systemtest/
DBUILD.gn55 "//drivers/peripheral/display/interfaces/include/",
105 "//drivers/peripheral/display/interfaces/include/",
/base/powermgr/display_manager/service/
DBUILD.gn54 "//drivers/peripheral/display/hal:hdi_display_device",
/base/miscservices/inputmethod/
DREADME.md22 …ng the binding between application and input method service, application display and hiding reques…
/base/miscservices/wallpaper/services/src/
Dwallpaper_service.cpp671 auto display = Rosen::DisplayManager::GetInstance().GetDefaultDisplay(); in GetWallpaperMinHeight() local
672 int iWallpaperMinHeight = display->GetHeight(); in GetWallpaperMinHeight()
680 auto display = Rosen::DisplayManager::GetInstance().GetDefaultDisplay(); in GetWallpaperMinWidth() local
681 int iWallpaperMinWidth = display->GetWidth(); in GetWallpaperMinWidth()
/base/telephony/call_manager/test/unittest/ui_client/
DBUILD.gn38 "//drivers/peripheral/display/interfaces/include",
/base/user_iam/face_auth/ui/Settings_FaceAuth/entry/src/main/ets/enrollmentstartview/pages/
DenrollIntro.ets112 Log.info(this.TAG, "new display area :" + JSON.stringify(newArea))

12345