Home
last modified time | relevance | path

Searched refs:defaultDisplay (Results 1 – 3 of 3) sorted by relevance

/base/useriam/fingerprint_auth/services_ex/src/
Dsensor_illumination_task.cpp171 auto defaultDisplay = DisplayManager::GetInstance().GetDefaultDisplay(); in EnableSensorIllumination() local
172 IF_FALSE_LOGE_AND_RETURN_VAL(defaultDisplay != nullptr, ResultCode::GENERAL_ERROR); in EnableSensorIllumination()
174 int32_t width = defaultDisplay->GetWidth(); in EnableSensorIllumination()
175 int32_t height = defaultDisplay->GetHeight(); in EnableSensorIllumination()
188 bool convertRetX = convertThousandthToPx(centerX, defaultDisplay->GetWidth(), centerXInPx); in EnableSensorIllumination()
191 bool convertRetY = convertThousandthToPx(centerY, defaultDisplay->GetHeight(), centerYInPx); in EnableSensorIllumination()
205 defaultDisplayId_ = defaultDisplay->GetId(); in EnableSensorIllumination()
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
Dinput_method_panel.cpp117 auto defaultDisplay = Rosen::DisplayManager::GetInstance().GetDefaultDisplay(); in Resize() local
118 if (defaultDisplay == nullptr) { in Resize()
126 if (static_cast<int32_t>(width) > defaultDisplay->GetWidth() || in Resize()
127 static_cast<float>(height) > defaultDisplay->GetHeight() * SCREEN_RATIO) { in Resize()
130 defaultDisplay->GetWidth(), defaultDisplay->GetHeight(), width, height); in Resize()
/base/inputmethod/imf/test/unittest/cpp_test/src/
Dinput_method_panel_test.cpp210 auto defaultDisplay = Rosen::DisplayManager::GetInstance().GetDefaultDisplay(); in ImcPanelListeningTestPrepare() local
211 ASSERT_TRUE(defaultDisplay != nullptr); in ImcPanelListeningTestPrepare()
212 windowWidth_ = defaultDisplay->GetWidth() - 1; in ImcPanelListeningTestPrepare()
292 auto defaultDisplay = Rosen::DisplayManager::GetInstance().GetDefaultDisplay(); variable
293 EXPECT_TRUE(defaultDisplay != nullptr);
294 int32_t width = defaultDisplay->GetWidth();
295 int32_t height = defaultDisplay->GetHeight();