Home
last modified time | relevance | path

Searched refs:appBounds (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DAppBoundsTests.java61 assertEquals(config.appBounds.left, 0); in testRootConfigurationBounds()
62 assertEquals(config.appBounds.top, 0); in testRootConfigurationBounds()
65 assertEquals(config.appBounds.width(), info.appWidth); in testRootConfigurationBounds()
66 assertEquals(config.appBounds.height(), info.appHeight); in testRootConfigurationBounds()
140 assertTrue((expectedConfigBounds == null && config.appBounds == null) in testStackBoundsConfiguration()
141 || expectedConfigBounds.equals(config.appBounds)); in testStackBoundsConfiguration()
/frameworks/base/core/java/android/content/res/
DConfiguration.java309 public Rect appBounds; field in Configuration
900 setAppBounds(o.appBounds); in setTo()
1051 if (appBounds != null) { in toString()
1052 sb.append(" appBounds="); sb.append(appBounds); in toString()
1088 appBounds = null; in setToDefaults()
1276 if (delta.appBounds != null && !delta.appBounds.equals(appBounds)) { in updateFrom()
1278 setAppBounds(delta.appBounds); in updateFrom()
1427 if ((compareUndefined || delta.appBounds != null) in diff()
1428 && appBounds != delta.appBounds in diff()
1429 && (appBounds == null || !appBounds.equals(delta.appBounds))) { in diff()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DStackWindowController.java281 final Rect parentAppBounds = parentConfig.appBounds; in adjustConfigurationForBounds()
298 config.appBounds.offsetTo(0, 0); in adjustConfigurationForBounds()
322 if (intersectParentBounds && config.appBounds != null) { in adjustConfigurationForBounds()
323 config.appBounds.intersect(parentAppBounds); in adjustConfigurationForBounds()
/frameworks/base/core/java/android/view/
DDisplayInfo.java565 width = configuration != null && configuration.appBounds != null in getMetricsWithSize()
566 ? configuration.appBounds.width() : width; in getMetricsWithSize()
567 height = configuration != null && configuration.appBounds != null in getMetricsWithSize()
568 ? configuration.appBounds.height() : height; in getMetricsWithSize()
/frameworks/base/services/core/java/com/android/server/am/
DActivityRecord.java2333 final int containingAppWidth = configuration.appBounds.width(); in computeBounds()
2334 final int containingAppHeight = configuration.appBounds.height(); in computeBounds()