Home
last modified time | relevance | path

Searched refs:oriHeight (Results 1 - 4 of 4) sorted by relevance

/foundation/barrierfree/accessibility/services/test/mock/
H A Dmock_display_manager.cpp29 bool CheckRectValid(const Media::Rect& rect, int32_t oriHeight, int32_t oriWidth) const;
30 bool CheckSizeValid(const Media::Size& size, int32_t oriHeight, int32_t oriWidth) const;
34 bool DisplayManager::Impl::CheckRectValid(const Media::Rect& rect, int32_t oriHeight, int32_t oriWidth) const in CheckRectValid() argument
39 bool DisplayManager::Impl::CheckSizeValid(const Media::Size& size, int32_t oriHeight, int32_t oriWidth) const in CheckSizeValid() argument
/foundation/window/window_manager/dm/test/unittest/
H A Ddisplay_manager_test.cpp259 int32_t oriHeight = 500; in HWTEST_F() local
262 bool ret = DisplayManager::GetInstance().pImpl_->CheckRectValid(rect, oriHeight, oriWidth); in HWTEST_F()
265 ret = DisplayManager::GetInstance().pImpl_->CheckRectValid(rect, oriHeight, oriWidth); in HWTEST_F()
269 ret = DisplayManager::GetInstance().pImpl_->CheckRectValid(rect, oriHeight, oriWidth); in HWTEST_F()
273 ret = DisplayManager::GetInstance().pImpl_->CheckRectValid(rect, oriHeight, oriWidth); in HWTEST_F()
277 ret = DisplayManager::GetInstance().pImpl_->CheckRectValid(rect, oriHeight, oriWidth); in HWTEST_F()
281 ret = DisplayManager::GetInstance().pImpl_->CheckRectValid(rect, oriHeight, oriWidth); in HWTEST_F()
285 ret = DisplayManager::GetInstance().pImpl_->CheckRectValid(rect, oriHeight, oriWidth); in HWTEST_F()
296 int32_t oriHeight = 500; in HWTEST_F() local
299 bool ret = DisplayManager::GetInstance().pImpl_->CheckSizeValid(size, oriHeight, oriWidt in HWTEST_F()
[all...]
/foundation/window/window_manager/dm/src/
H A Ddisplay_manager.cpp48 bool CheckRectValid(const Media::Rect& rect, int32_t oriHeight, int32_t oriWidth) const;
49 bool CheckSizeValid(const Media::Size& size, int32_t oriHeight, int32_t oriWidth) const;
388 bool DisplayManager::Impl::CheckRectValid(const Media::Rect& rect, int32_t oriHeight, int32_t oriWidth) const in CheckRectValid() argument
405 if (rect.height + rect.top > oriHeight) { in CheckRectValid()
411 bool DisplayManager::Impl::CheckSizeValid(const Media::Size& size, int32_t oriHeight, int32_t oriWidth) const in CheckSizeValid() argument
729 int32_t oriHeight = screenShot->GetHeight(); in GetScreenshot() local
731 if (!pImpl_->CheckRectValid(rect, oriHeight, oriWidth)) { in GetScreenshot()
736 if (!pImpl_->CheckSizeValid(size, oriHeight, oriWidth)) { in GetScreenshot()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_decoder.cpp428 int oriHeight = info_.height(); in HeapMemAlloc() local
431 static_cast<float>(dHeight) / oriHeight); in HeapMemAlloc()
444 dHeight = (oriHeight + sampleSize_ - NUM_ONE) / sampleSize_; in HeapMemAlloc()

Completed in 9 milliseconds