/frameworks/native/opengl/tests/hwc/ |
D | hwcRects.cpp | 149 displayFrame(defaultDisplayFrame) {}; in Rectangle() 158 struct hwc_rect displayFrame; member in Rectangle 322 layer->displayFrame = it->displayFrame; in main() 325 layer->visibleRegionScreen.rects = &layer->displayFrame; in main() 384 rect.displayFrame = hwcTestParseHwcRect(in, error); in parseRect() 393 rect.sourceDim = HwcTestDim(rect.displayFrame.right in parseRect() 394 - rect.displayFrame.left, in parseRect() 395 rect.displayFrame.bottom in parseRect() 396 - rect.displayFrame.top); in parseRect() 494 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 | 360 layer->displayFrame.left = 0; in main() 361 layer->displayFrame.top = 0; in main() 362 layer->displayFrame.right = width; in main() 363 layer->displayFrame.bottom = refHeight; in main() 365 layer->visibleRegionScreen.rects = &layer->displayFrame; in main() 374 layer->displayFrame.left = 0; in main() 375 layer->displayFrame.top = refHeight; in main() 376 layer->displayFrame.right = width; in main() 377 layer->displayFrame.bottom = layer->displayFrame.top + equivHeight; in main() 379 layer->visibleRegionScreen.rects = &layer->displayFrame; in main()
|
D | hwcCommit.cpp | 176 struct hwc_rect displayFrame; member in Rectangle 248 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 …]
|
D | hwcTestLib.cpp | 480 hwcTestRect2str(list->hwLayers[layer].displayFrame).c_str()); in hwcTestDisplayList() 484 / (float) (list->hwLayers[layer].displayFrame.right in hwcTestDisplayList() 485 - list->hwLayers[layer].displayFrame.left), in hwcTestDisplayList() 488 / (float) (list->hwLayers[layer].displayFrame.bottom in hwcTestDisplayList() 489 - list->hwLayers[layer].displayFrame.top)); in hwcTestDisplayList()
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
D | Hwc2TestLayers.cpp | 251 const hwc_rect_t displayFrame = testLayer.second.getDisplayFrame(); in setVisibleRegions() local 253 visibleRegion.set(android::Rect(displayFrame.left, displayFrame.top, in setVisibleRegions() 254 displayFrame.right, displayFrame.bottom)); in setVisibleRegions()
|
D | Hwc2TestProperties.cpp | 395 const hwc_rect_t& displayFrame = get(); in dump() local 396 dmp << "\tdisplay frame: left " << displayFrame.left << ", top " in dump() 397 << displayFrame.top << ", right " << displayFrame.right in dump() 398 << ", bottom " << displayFrame.bottom << "\n"; in dump()
|
D | Hwc2Test.cpp | 462 const hwc_rect_t& displayFrame, hwc2_error_t* outErr = nullptr) in setLayerDisplayFrame() argument 469 displayFrame)); in setLayerDisplayFrame()
|
/frameworks/base/core/java/android/widget/ |
D | PopupWindow.java | 1753 final Rect displayFrame = new Rect(); in findDropDownPosition() local 1754 appRootView.getWindowVisibleDisplayFrame(displayFrame); in findDropDownPosition() 1756 width = displayFrame.right - displayFrame.left; in findDropDownPosition() 1759 height = displayFrame.bottom - displayFrame.top; in findDropDownPosition() 1777 anchorHeight, drawingLocation[1], screenLocation[1], displayFrame.top, in findDropDownPosition() 1778 displayFrame.bottom, false); in findDropDownPosition() 1782 anchorWidth, drawingLocation[0], screenLocation[0], displayFrame.left, in findDropDownPosition() 1783 displayFrame.right, false); in findDropDownPosition() 1807 screenLocation[1], displayFrame.top, displayFrame.bottom, mClipToScreen); in findDropDownPosition() 1809 screenLocation[0], displayFrame.left, displayFrame.right, mClipToScreen); in findDropDownPosition() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | OutputLayer.cpp | 294 mState.displayFrame = calculateOutputDisplayFrame(); in updateCompositionState() 322 if (auto error = hwcLayer->setDisplayFrame(mState.displayFrame); in writeStateToHWC() 325 mLayerFE->getDebugName(), mState.displayFrame.left, mState.displayFrame.top, in writeStateToHWC() 326 mState.displayFrame.right, mState.displayFrame.bottom, to_string(error).c_str(), in writeStateToHWC()
|
D | OutputLayerCompositionState.cpp | 47 dumpVal(out, "displayFrame", displayFrame); in dump()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowFrames.java | 200 public WindowFrames(Rect parentFrame, Rect displayFrame, Rect overscanFrame, Rect contentFrame, in WindowFrames() argument 202 setFrames(parentFrame, displayFrame, overscanFrame, contentFrame, visibleFrame, decorFrame, in WindowFrames() 206 public void setFrames(Rect parentFrame, Rect displayFrame, Rect overscanFrame, in setFrames() argument 210 mDisplayFrame.set(displayFrame); in setFrames()
|
D | AppTransition.java | 842 float translationY, Rect displayFrame) { in calculateClipRevealTransitionDuration() argument 846 final float fraction = Math.max(Math.abs(translationX) / displayFrame.width(), in calculateClipRevealTransitionDuration() 847 Math.abs(translationY) / displayFrame.height()); in calculateClipRevealTransitionDuration() 853 Rect displayFrame) { in createClipRevealAnimationLocked() argument 865 t = (float) mTmpRect.top / displayFrame.height(); in createClipRevealAnimationLocked() 867 int translationY = mClipRevealTranslationY + (int)(displayFrame.height() / 7f * t); in createClipRevealAnimationLocked() 898 translationY, displayFrame); in createClipRevealAnimationLocked() 1613 int orientation, Rect frame, Rect displayFrame, Rect insets, in loadAnimation() argument 1668 a = createClipRevealAnimationLocked(transit, enter, frame, displayFrame); in loadAnimation()
|
D | AppWindowToken.java | 2639 final Rect displayFrame = new Rect(0, 0, in loadAnimation() local 2679 displayConfig.uiMode, displayConfig.orientation, frame, displayFrame, insets, in loadAnimation()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | OutputLayerCompositionState.h | 52 Rect displayFrame; member
|
/frameworks/native/services/surfaceflinger/ |
D | BufferLayer.cpp | 655 const auto displayFrame = compositionState.displayFrame; in needsFiltering() local 657 return mNeedsFiltering || sourceCrop.getHeight() != displayFrame.getHeight() || in needsFiltering() 658 sourceCrop.getWidth() != displayFrame.getWidth(); in needsFiltering()
|
D | Layer.cpp | 1374 const Rect& frame = compositionState.displayFrame; in miniDump() 2013 const Rect& frame = compositionState.displayFrame; in writeToProto()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | CascadingMenuPopup.java | 316 final Rect displayFrame = new Rect(); in getNextMenuPosition() local 317 mShownAnchorView.getWindowVisibleDisplayFrame(displayFrame); in getNextMenuPosition() 321 if (right > displayFrame.right) { in getNextMenuPosition()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputLayerTest.cpp | 266 outputLayerState.displayFrame = kDisplayFrame; in OutputLayerWriteStateToHWCTest()
|