/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/ |
H A D | CascadingMenuPopup.java | 332 final Rect displayFrame = new Rect(); 333 mShownAnchorView.getWindowVisibleDisplayFrame(displayFrame); 337 if (right > displayFrame.right) {
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcColorEquiv.cpp | 360 layer->displayFrame.left = 0; 361 layer->displayFrame.top = 0; 362 layer->displayFrame.right = width; 363 layer->displayFrame.bottom = refHeight; 365 layer->visibleRegionScreen.rects = &layer->displayFrame; 374 layer->displayFrame.left = 0; 375 layer->displayFrame.top = refHeight; 376 layer->displayFrame.right = width; 377 layer->displayFrame.bottom = layer->displayFrame [all...] |
H A D | hwcCommit.cpp | 176 struct hwc_rect displayFrame; member in class:Rectangle 246 struct displayFrame { struct in struct:meas 650 rect.displayFrame.left = x; 651 rect.displayFrame.top = y; 652 rect.displayFrame.right = x + startDim.width(); 653 rect.displayFrame.bottom = y + startDim.height(); 1291 // cause a portion or all of the foreground displayFrame 1294 foreground.displayFrame.left += 5; 1295 foreground.displayFrame.top += 5; 1296 foreground.displayFrame [all...] |
H A D | hwcRects.cpp | 21 * hwcRects [options] (graphicFormat displayFrame [attributes],)... 36 * displayFrame 149 displayFrame(defaultDisplayFrame) {}; 158 struct hwc_rect displayFrame; member in class:Rectangle 322 layer->displayFrame = it->displayFrame; 325 layer->visibleRegionScreen.rects = &layer->displayFrame; 384 rect.displayFrame = hwcTestParseHwcRect(in, error); 393 rect.sourceDim = HwcTestDim(rect.displayFrame.right 394 - rect.displayFrame [all...] |
H A D | hwcStress.cpp | 447 layer->displayFrame.left = testRandMod(width); 448 layer->displayFrame.top = testRandMod(height); 449 layer->displayFrame.right = layer->displayFrame.left 450 + testRandMod(width - layer->displayFrame.left) + 1; 451 layer->displayFrame.bottom = layer->displayFrame.top 452 + testRandMod(height - layer->displayFrame.top) + 1; 455 // the sourceCrop to displayFrame occurs. This is the 466 if (((layer->displayFrame [all...] |
H A D | hwcTestLib.cpp | 479 testPrintI(" displayFrame: %s", 480 hwcTestRect2str(list->hwLayers[layer].displayFrame).c_str()); 484 / (float) (list->hwLayers[layer].displayFrame.right 485 - list->hwLayers[layer].displayFrame.left), 488 / (float) (list->hwLayers[layer].displayFrame.bottom 489 - list->hwLayers[layer].displayFrame.top));
|
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.cpp | 561 hwcInfo.displayFrame = transformedFrame; 1482 const Rect& frame = hwcInfo.displayFrame; 1984 const Rect& frame = hwcInfo.displayFrame;
|
H A D | Layer.h | 85 Rect displayFrame; member in struct:android::CompositionInfo::__anon1872 126 Rect displayFrame; member in struct:android::LayerBE::HWCInfo
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
H A D | Hwc2Test.cpp | 462 const hwc_rect_t& displayFrame, hwc2_error_t* outErr = nullptr) 469 displayFrame)); 461 setLayerDisplayFrame(hwc2_display_t display, hwc2_layer_t layer, const hwc_rect_t& displayFrame, hwc2_error_t* outErr = nullptr) argument
|
H A D | Hwc2TestLayers.cpp | 251 const hwc_rect_t displayFrame = testLayer.second.getDisplayFrame(); local 253 visibleRegion.set(android::Rect(displayFrame.left, displayFrame.top, 254 displayFrame.right, displayFrame.bottom));
|
H A D | Hwc2TestProperties.cpp | 395 const hwc_rect_t& displayFrame = get(); local 396 dmp << "\tdisplay frame: left " << displayFrame.left << ", top " 397 << displayFrame.top << ", right " << displayFrame.right 398 << ", bottom " << displayFrame.bottom << "\n";
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | WindowManagerPolicy.java | 203 * @param displayFrame The frame of the overall display in which this 226 public void computeFrameLw(Rect parentFrame, Rect displayFrame, argument
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AppTransition.java | 778 * @param displayFrame our display frame 783 float translationY, Rect displayFrame) { 787 final float fraction = Math.max(Math.abs(translationX) / displayFrame.width(), 788 Math.abs(translationY) / displayFrame.height()); 794 Rect displayFrame) { 806 t = (float) mTmpRect.top / displayFrame.height(); 808 int translationY = mClipRevealTranslationY + (int)(displayFrame.height() / 7f * t); 839 translationY, displayFrame); 1553 int orientation, Rect frame, Rect displayFrame, Rect insets, 1608 a = createClipRevealAnimationLocked(transit, enter, frame, displayFrame); 782 calculateClipRevealTransitionDuration(boolean cutOff, float translationX, float translationY, Rect displayFrame) argument 793 createClipRevealAnimationLocked(int transit, boolean enter, Rect appFrame, Rect displayFrame) argument 1552 loadAnimation(LayoutParams lp, int transit, boolean enter, int uiMode, int orientation, Rect frame, Rect displayFrame, Rect insets, @Nullable Rect surfaceInsets, @Nullable Rect stableInsets, boolean isVoiceInteraction, boolean freeform, int taskId) argument [all...] |
H A D | AppWindowToken.java | 1798 final Rect displayFrame = new Rect(0, 0, 1838 displayConfig.uiMode, displayConfig.orientation, frame, displayFrame, insets,
|
H A D | WindowState.java | 837 * {@param insetFrame}. Also it respects {@param displayFrame} in case window has minimum 840 private void subtractInsets(Rect frame, Rect layoutFrame, Rect insetFrame, Rect displayFrame) { argument 841 final int left = Math.max(0, insetFrame.left - Math.max(layoutFrame.left, displayFrame.left)); 842 final int top = Math.max(0, insetFrame.top - Math.max(layoutFrame.top, displayFrame.top)); 843 final int right = Math.max(0, Math.min(layoutFrame.right, displayFrame.right) - insetFrame.right); 844 final int bottom = Math.max(0, Math.min(layoutFrame.bottom, displayFrame.bottom) - insetFrame.bottom); 849 public void computeFrameLw(Rect parentFrame, Rect displayFrame, Rect overscanFrame, argument 892 mDisplayFrame.set(displayFrame); 893 layoutDisplayFrame = displayFrame; 948 subtractInsets(mDisplayFrame, layoutContainingFrame, displayFrame, mTmpRec 3535 applyGravityAndUpdateFrame(Rect containingFrame, Rect displayFrame) argument [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/ |
H A D | FakeWindowState.java | 33 public final Rect displayFrame = new Rect(); field in class:FakeWindowState 64 public void computeFrameLw(Rect parentFrame, Rect displayFrame, Rect overlayFrame, argument 69 this.displayFrame.set(displayFrame); 86 return displayFrame;
|
H A D | PhoneWindowManagerLayoutTest.java | 83 assertInsetBy(mAppWindow.displayFrame, 0, 0, 0, 0); 98 assertInsetByTopBottom(mAppWindow.displayFrame, 0, NAV_BAR_HEIGHT); 114 assertInsetByTopBottom(mAppWindow.displayFrame, 0, NAV_BAR_HEIGHT); 139 assertInsetByTopBottom(mAppWindow.displayFrame, 0, 0); 156 assertInsetByTopBottom(mAppWindow.displayFrame, STATUS_BAR_HEIGHT, 0); 173 assertInsetBy(mAppWindow.displayFrame, 0, 0, 0, 0); 190 assertInsetByTopBottom(mAppWindow.displayFrame, STATUS_BAR_HEIGHT, 0); 208 assertInsetByTopBottom(mAppWindow.displayFrame, 0, 0); 226 assertInsetBy(mAppWindow.displayFrame, DISPLAY_CUTOUT_HEIGHT, 0, 0, 0); 243 assertInsetBy(mAppWindow.displayFrame, [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | PopupWindow.java | 1608 final Rect displayFrame = new Rect(); 1609 appRootView.getWindowVisibleDisplayFrame(displayFrame); 1611 width = displayFrame.right - displayFrame.left; 1614 height = displayFrame.bottom - displayFrame.top; 1632 anchorHeight, drawingLocation[1], screenLocation[1], displayFrame.top, 1633 displayFrame.bottom, false); 1637 anchorWidth, drawingLocation[0], screenLocation[0], displayFrame.left, 1638 displayFrame [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | CascadingMenuPopup.java | 316 final Rect displayFrame = new Rect(); 317 mShownAnchorView.getWindowVisibleDisplayFrame(displayFrame); 321 if (right > displayFrame.right) {
|