Home
last modified time | relevance | path

Searched refs:displayFrame (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/opengl/tests/hwc/
DhwcRects.cpp149 displayFrame(defaultDisplayFrame) {}; in Rectangle()
158 struct hwc_rect displayFrame; member in Rectangle
323 layer->displayFrame = it->displayFrame; in main()
326 layer->visibleRegionScreen.rects = &layer->displayFrame; in main()
386 rect.displayFrame = hwcTestParseHwcRect(in, error); in parseRect()
395 rect.sourceDim = HwcTestDim(rect.displayFrame.right in parseRect()
396 - rect.displayFrame.left, in parseRect()
397 rect.displayFrame.bottom in parseRect()
398 - rect.displayFrame.top); in parseRect()
496 if ((rect.displayFrame.left >= width) in parseRect()
[all …]
DhwcStress.cpp446 layer->displayFrame.left = testRandMod(width); in main()
447 layer->displayFrame.top = testRandMod(height); in main()
448 layer->displayFrame.right = layer->displayFrame.left in main()
449 + testRandMod(width - layer->displayFrame.left) + 1; in main()
450 layer->displayFrame.bottom = layer->displayFrame.top in main()
451 + testRandMod(height - layer->displayFrame.top) + 1; in main()
465 if (((layer->displayFrame.left + sourceWidth) <= width) in main()
466 && ((layer->displayFrame.top + sourceHeight) <= height)) { in main()
467 layer->displayFrame.right = layer->displayFrame.left in main()
469 layer->displayFrame.bottom = layer->displayFrame.top in main()
[all …]
DhwcColorEquiv.cpp362 layer->displayFrame.left = 0; in main()
363 layer->displayFrame.top = 0; in main()
364 layer->displayFrame.right = width; in main()
365 layer->displayFrame.bottom = refHeight; in main()
367 layer->visibleRegionScreen.rects = &layer->displayFrame; in main()
376 layer->displayFrame.left = 0; in main()
377 layer->displayFrame.top = refHeight; in main()
378 layer->displayFrame.right = width; in main()
379 layer->displayFrame.bottom = layer->displayFrame.top + equivHeight; in main()
381 layer->visibleRegionScreen.rects = &layer->displayFrame; in main()
DhwcCommit.cpp177 struct hwc_rect displayFrame; member in Rectangle
247 struct displayFrame { struct
652 rect.displayFrame.left = x; in maxOverlays()
653 rect.displayFrame.top = y; in maxOverlays()
654 rect.displayFrame.right = x + startDim.width(); in maxOverlays()
655 rect.displayFrame.bottom = y + startDim.height(); in maxOverlays()
1296 foreground.displayFrame.left += 5; in numOverlapping()
1297 foreground.displayFrame.top += 5; in numOverlapping()
1298 foreground.displayFrame.right += 5; in numOverlapping()
1299 foreground.displayFrame.bottom += 5; in numOverlapping()
[all …]
DhwcTestLib.cpp482 hwcTestRect2str(list->hwLayers[layer].displayFrame).c_str()); in hwcTestDisplayList()
486 / (float) (list->hwLayers[layer].displayFrame.right in hwcTestDisplayList()
487 - list->hwLayers[layer].displayFrame.left), in hwcTestDisplayList()
490 / (float) (list->hwLayers[layer].displayFrame.bottom in hwcTestDisplayList()
491 - list->hwLayers[layer].displayFrame.top)); in hwcTestDisplayList()
/frameworks/base/core/java/android/widget/
DPopupWindow.java1248 final Rect displayFrame = new Rect(); in findDropDownPosition() local
1249 anchor.getWindowVisibleDisplayFrame(displayFrame); in findDropDownPosition()
1253 if (screenY + mPopupHeight > displayFrame.bottom in findDropDownPosition()
1279 onTop = (displayFrame.bottom - mScreenLocation[1] - anchorHeight - yoff) < in findDropDownPosition()
1280 (mScreenLocation[1] - yoff - displayFrame.top); in findDropDownPosition()
1290 final int displayFrameWidth = displayFrame.right - displayFrame.left; in findDropDownPosition()
1296 if (p.x < displayFrame.left) { in findDropDownPosition()
1297 p.x = displayFrame.left; in findDropDownPosition()
1307 p.y = Math.max(p.y, displayFrame.top); in findDropDownPosition()
1367 final Rect displayFrame = new Rect(); in getMaxAvailableHeight() local
[all …]
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp593 disp.framebufferTarget->displayFrame = r; in createWorkList()
596 &disp.framebufferTarget->displayFrame; in createWorkList()
995 getLayer()->displayFrame = reinterpret_cast<hwc_rect_t const&>(frame); in setFrame()
1188 … l.displayFrame.left, l.displayFrame.top, l.displayFrame.right, l.displayFrame.bottom, in dump()
1196 … l.displayFrame.left, l.displayFrame.top, l.displayFrame.right, l.displayFrame.bottom, in dump()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java260 final Rect displayFrame = new Rect(); in onLongClick() local
262 getWindowVisibleDisplayFrame(displayFrame); in onLongClick()
274 if (midy < displayFrame.height()) { in onLongClick()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DActionMenuItemView.java243 final Rect displayFrame = new Rect(); in onLongClick() local
245 getWindowVisibleDisplayFrame(displayFrame); in onLongClick()
257 if (midy < displayFrame.height()) { in onLongClick()
/frameworks/base/core/java/android/app/
DMediaRouteButton.java215 final Rect displayFrame = new Rect(); in performLongClick() local
217 getWindowVisibleDisplayFrame(displayFrame); in performLongClick()
226 if (midy < displayFrame.height()) { in performLongClick()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteButton.java308 final Rect displayFrame = new Rect(); in performLongClick() local
310 getWindowVisibleDisplayFrame(displayFrame); in performLongClick()
319 if (midy < displayFrame.height()) { in performLongClick()
/frameworks/base/core/java/android/view/
DWindowManagerPolicy.java154 public void computeFrameLw(Rect parentFrame, Rect displayFrame, in computeFrameLw() argument