/frameworks/native/opengl/tests/hwc/ |
D | hwcRects.cpp | 150 displayFrame(defaultDisplayFrame) {}; in Rectangle() 159 struct hwc_rect displayFrame; member in Rectangle 324 layer->displayFrame = it->displayFrame; in main() 327 layer->visibleRegionScreen.rects = &layer->displayFrame; in main() 387 rect.displayFrame = hwcTestParseHwcRect(in, error); in parseRect() 396 rect.sourceDim = HwcTestDim(rect.displayFrame.right in parseRect() 397 - rect.displayFrame.left, in parseRect() 398 rect.displayFrame.bottom in parseRect() 399 - rect.displayFrame.top); in parseRect() 497 if ((rect.displayFrame.left >= width) in parseRect() [all …]
|
D | hwcStress.cpp | 447 layer->displayFrame.left = testRandMod(width); in main() 448 layer->displayFrame.top = testRandMod(height); in main() 449 layer->displayFrame.right = layer->displayFrame.left in main() 450 + testRandMod(width - layer->displayFrame.left) + 1; in main() 451 layer->displayFrame.bottom = layer->displayFrame.top in main() 452 + testRandMod(height - layer->displayFrame.top) + 1; in main() 466 if (((layer->displayFrame.left + sourceWidth) <= width) in main() 467 && ((layer->displayFrame.top + sourceHeight) <= height)) { in main() 468 layer->displayFrame.right = layer->displayFrame.left in main() 470 layer->displayFrame.bottom = layer->displayFrame.top in main() [all …]
|
D | hwcColorEquiv.cpp | 363 layer->displayFrame.left = 0; in main() 364 layer->displayFrame.top = 0; in main() 365 layer->displayFrame.right = width; in main() 366 layer->displayFrame.bottom = refHeight; in main() 368 layer->visibleRegionScreen.rects = &layer->displayFrame; in main() 377 layer->displayFrame.left = 0; in main() 378 layer->displayFrame.top = refHeight; in main() 379 layer->displayFrame.right = width; in main() 380 layer->displayFrame.bottom = layer->displayFrame.top + equivHeight; in main() 382 layer->visibleRegionScreen.rects = &layer->displayFrame; in main()
|
D | hwcCommit.cpp | 178 struct hwc_rect displayFrame; member in Rectangle 248 struct displayFrame { struct 653 rect.displayFrame.left = x; in maxOverlays() 654 rect.displayFrame.top = y; in maxOverlays() 655 rect.displayFrame.right = x + startDim.width(); in maxOverlays() 656 rect.displayFrame.bottom = y + startDim.height(); in maxOverlays() 1297 foreground.displayFrame.left += 5; in numOverlapping() 1298 foreground.displayFrame.top += 5; in numOverlapping() 1299 foreground.displayFrame.right += 5; in numOverlapping() 1300 foreground.displayFrame.bottom += 5; in numOverlapping() [all …]
|
D | hwcTestLib.cpp | 478 hwcTestRect2str(list->hwLayers[layer].displayFrame).c_str()); in hwcTestDisplayList() 482 / (float) (list->hwLayers[layer].displayFrame.right in hwcTestDisplayList() 483 - list->hwLayers[layer].displayFrame.left), in hwcTestDisplayList() 486 / (float) (list->hwLayers[layer].displayFrame.bottom in hwcTestDisplayList() 487 - list->hwLayers[layer].displayFrame.top)); in hwcTestDisplayList()
|
/frameworks/base/core/java/android/widget/ |
D | PopupWindow.java | 1153 final Rect displayFrame = new Rect(); in findDropDownPosition() local 1154 anchor.getWindowVisibleDisplayFrame(displayFrame); in findDropDownPosition() 1159 if (screenY + mPopupHeight > displayFrame.bottom || in findDropDownPosition() 1186 onTop = (displayFrame.bottom - mScreenLocation[1] - anchor.getHeight() - yoff) < in findDropDownPosition() 1187 (mScreenLocation[1] - yoff - displayFrame.top); in findDropDownPosition() 1197 final int displayFrameWidth = displayFrame.right - displayFrame.left; in findDropDownPosition() 1203 if (p.x < displayFrame.left) { in findDropDownPosition() 1204 p.x = displayFrame.left; in findDropDownPosition() 1214 p.y = Math.max(p.y, displayFrame.top); in findDropDownPosition() 1270 final Rect displayFrame = new Rect(); in getMaxAvailableHeight() local [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
D | ActionMenuItemView.java | 184 final Rect displayFrame = new Rect(); in onLongClick() local 186 getWindowVisibleDisplayFrame(displayFrame); in onLongClick() 195 if (midy < displayFrame.height()) { in onLongClick()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.cpp | 549 disp.framebufferTarget->displayFrame = r; in createWorkList() 552 &disp.framebufferTarget->displayFrame; in createWorkList() 914 getLayer()->displayFrame = reinterpret_cast<hwc_rect_t const&>(frame); in setFrame() 1069 … l.displayFrame.left, l.displayFrame.top, l.displayFrame.right, l.displayFrame.bottom, in dump() 1077 … l.displayFrame.left, l.displayFrame.top, l.displayFrame.right, l.displayFrame.bottom, in dump()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenuItemView.java | 230 final Rect displayFrame = new Rect(); in onLongClick() local 232 getWindowVisibleDisplayFrame(displayFrame); in onLongClick() 241 if (midy < displayFrame.height()) { in onLongClick()
|
/frameworks/base/core/java/android/app/ |
D | MediaRouteButton.java | 210 final Rect displayFrame = new Rect(); in performLongClick() local 212 getWindowVisibleDisplayFrame(displayFrame); in performLongClick() 221 if (midy < displayFrame.height()) { in performLongClick()
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
D | MediaRouteButton.java | 305 final Rect displayFrame = new Rect(); in performLongClick() local 307 getWindowVisibleDisplayFrame(displayFrame); in performLongClick() 316 if (midy < displayFrame.height()) { in performLongClick()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ListPopupWindow.java | 1089 final Rect displayFrame = new Rect(); in getMaxAvailableHeight() local 1090 anchor.getWindowVisibleDisplayFrame(displayFrame); in getMaxAvailableHeight() 1096 int bottomEdge = displayFrame.bottom; in getMaxAvailableHeight() 1102 final int distanceToTop = anchorPos[1] - displayFrame.top + yOffset; in getMaxAvailableHeight()
|
/frameworks/base/core/java/android/view/ |
D | WindowManagerPolicy.java | 171 public void computeFrameLw(Rect parentFrame, Rect displayFrame, in computeFrameLw() argument
|