Home
last modified time | relevance | path

Searched refs:screenRect (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/modules/video_render/mac/
Dcocoa_render_view.mm40 NSRect screenRect = [[NSScreen mainScreen]frame];
41 // [_windowRef setFrame:screenRect];
42 // [_windowRef setBounds:screenRect];
43 self = [super initWithFrame:screenRect pixelFormat:fmt];
Dcocoa_full_screen_window.mm46 NSRect screenRect = [[NSScreen mainScreen]frame];
48 _window = [[NSWindow alloc]initWithContentRect:screenRect
Dvideo_render_nsopengl.mm606 NSRect screenRect = [[NSScreen mainScreen]frame];
607 [_windowRef setFrame:screenRect];
608 [_windowRef setBounds:screenRect];
/external/skia/third_party/gif/
DSkGifImageReader.cpp866 const SkIRect& screenRect) { in frame_rect_on_screen() argument
867 if (!frameRect.intersect(screenRect)) { in frame_rect_on_screen()
892 const auto screenRect = SkIRect::MakeWH(fScreenWidth, fScreenHeight); in setAlphaAndRequiredFrame() local
893 const auto frameRect = frame_rect_on_screen(frame->frameRect(), screenRect); in setAlphaAndRequiredFrame()
897 frame->setHasAlpha(reportsAlpha || frameRect != screenRect); in setAlphaAndRequiredFrame()
904 if ((!reportsAlpha || !blendWithPrevFrame) && frameRect == screenRect) { in setAlphaAndRequiredFrame()
923 auto prevFrameRect = frame_rect_on_screen(prevFrame->frameRect(), screenRect); in setAlphaAndRequiredFrame()
926 if (prevFrameRect == screenRect || independent(*prevFrame)) { in setAlphaAndRequiredFrame()
952 prevFrameRect = frame_rect_on_screen(prevFrame->frameRect(), screenRect); in setAlphaAndRequiredFrame()
957 if (prevFrameRect == screenRect || independent(*prevFrame)) { in setAlphaAndRequiredFrame()
/external/skqp/third_party/gif/
DSkGifImageReader.cpp866 const SkIRect& screenRect) { in frame_rect_on_screen() argument
867 if (!frameRect.intersect(screenRect)) { in frame_rect_on_screen()
892 const auto screenRect = SkIRect::MakeWH(fScreenWidth, fScreenHeight); in setAlphaAndRequiredFrame() local
893 const auto frameRect = frame_rect_on_screen(frame->frameRect(), screenRect); in setAlphaAndRequiredFrame()
897 frame->setHasAlpha(reportsAlpha || frameRect != screenRect); in setAlphaAndRequiredFrame()
904 if ((!reportsAlpha || !blendWithPrevFrame) && frameRect == screenRect) { in setAlphaAndRequiredFrame()
923 auto prevFrameRect = frame_rect_on_screen(prevFrame->frameRect(), screenRect); in setAlphaAndRequiredFrame()
926 if (prevFrameRect == screenRect || independent(*prevFrame)) { in setAlphaAndRequiredFrame()
952 prevFrameRect = frame_rect_on_screen(prevFrame->frameRect(), screenRect); in setAlphaAndRequiredFrame()
957 if (prevFrameRect == screenRect || independent(*prevFrame)) { in setAlphaAndRequiredFrame()