Home
last modified time | relevance | path

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

/frameworks/base/opengl/tests/hwc/
DhwcRects.cpp151 displayFrame(defaultDisplayFrame) {}; in Rectangle()
160 struct hwc_rect displayFrame; member in Rectangle
325 layer->displayFrame = it->displayFrame; in main()
328 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.cpp448 layer->displayFrame.left = testRandMod(width); in main()
449 layer->displayFrame.top = testRandMod(height); in main()
450 layer->displayFrame.right = layer->displayFrame.left in main()
451 + testRandMod(width - layer->displayFrame.left) + 1; in main()
452 layer->displayFrame.bottom = layer->displayFrame.top in main()
453 + testRandMod(height - layer->displayFrame.top) + 1; in main()
467 if (((layer->displayFrame.left + sourceWidth) <= width) in main()
468 && ((layer->displayFrame.top + sourceHeight) <= height)) { in main()
469 layer->displayFrame.right = layer->displayFrame.left in main()
471 layer->displayFrame.bottom = layer->displayFrame.top in main()
[all …]
DhwcColorEquiv.cpp364 layer->displayFrame.left = 0; in main()
365 layer->displayFrame.top = 0; in main()
366 layer->displayFrame.right = width; in main()
367 layer->displayFrame.bottom = refHeight; in main()
369 layer->visibleRegionScreen.rects = &layer->displayFrame; in main()
378 layer->displayFrame.left = 0; in main()
379 layer->displayFrame.top = refHeight; in main()
380 layer->displayFrame.right = width; in main()
381 layer->displayFrame.bottom = layer->displayFrame.top + equivHeight; in main()
383 layer->visibleRegionScreen.rects = &layer->displayFrame; in main()
DhwcCommit.cpp179 struct hwc_rect displayFrame; member in Rectangle
249 struct displayFrame { struct
654 rect.displayFrame.left = x; in maxOverlays()
655 rect.displayFrame.top = y; in maxOverlays()
656 rect.displayFrame.right = x + startDim.width(); in maxOverlays()
657 rect.displayFrame.bottom = y + startDim.height(); in maxOverlays()
1298 foreground.displayFrame.left += 5; in numOverlapping()
1299 foreground.displayFrame.top += 5; in numOverlapping()
1300 foreground.displayFrame.right += 5; in numOverlapping()
1301 foreground.displayFrame.bottom += 5; in numOverlapping()
[all …]
DhwcTestLib.cpp476 hwcTestRect2str(list->hwLayers[layer].displayFrame).c_str()); in hwcTestDisplayList()
480 / (float) (list->hwLayers[layer].displayFrame.right in hwcTestDisplayList()
481 - list->hwLayers[layer].displayFrame.left), in hwcTestDisplayList()
484 / (float) (list->hwLayers[layer].displayFrame.bottom in hwcTestDisplayList()
485 - list->hwLayers[layer].displayFrame.top)); in hwcTestDisplayList()
/frameworks/base/core/java/android/widget/
DPopupWindow.java1106 final Rect displayFrame = new Rect(); in findDropDownPosition() local
1107 anchor.getWindowVisibleDisplayFrame(displayFrame); in findDropDownPosition()
1112 if (screenY + mPopupHeight > displayFrame.bottom || in findDropDownPosition()
1134 onTop = (displayFrame.bottom - mScreenLocation[1] - anchor.getHeight() - yoff) < in findDropDownPosition()
1135 (mScreenLocation[1] - yoff - displayFrame.top); in findDropDownPosition()
1145 final int displayFrameWidth = displayFrame.right - displayFrame.left; in findDropDownPosition()
1151 if (p.x < displayFrame.left) { in findDropDownPosition()
1152 p.x = displayFrame.left; in findDropDownPosition()
1162 p.y = Math.max(p.y, displayFrame.top); in findDropDownPosition()
1218 final Rect displayFrame = new Rect(); in getMaxAvailableHeight() local
[all …]
/frameworks/base/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp197 … l.displayFrame.left, l.displayFrame.top, l.displayFrame.right, l.displayFrame.bottom, in dump()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java209 final Rect displayFrame = new Rect(); in onLongClick() local
211 getWindowVisibleDisplayFrame(displayFrame); in onLongClick()
220 if (midy < displayFrame.height()) { in onLongClick()
/frameworks/base/services/surfaceflinger/
DLayerBase.cpp329 hwcl->displayFrame.left = mTransformedBounds.left; in setGeometry()
330 hwcl->displayFrame.top = mTransformedBounds.top; in setGeometry()
331 hwcl->displayFrame.right = mTransformedBounds.right; in setGeometry()
332 hwcl->displayFrame.bottom = mTransformedBounds.bottom; in setGeometry()
/frameworks/base/core/java/android/view/
DWindowManagerPolicy.java153 public void computeFrameLw(Rect parentFrame, Rect displayFrame, in computeFrameLw() argument