Searched refs:adjustedBounds (Results 1 – 4 of 4) sorted by relevance
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/graphics/ |
D | CompositeDrawableTest.java | 56 Rect adjustedBounds = drawable.getBounds(); in updateBounds_noBoundsRule() local 57 assertEquals(bounds, adjustedBounds); in updateBounds_noBoundsRule() 76 Rect adjustedBounds = drawable.getBounds(); in updateBounds_withBoundsRule() local 79 assertEquals(expectedBounds, adjustedBounds); in updateBounds_withBoundsRule() 86 adjustedBounds = drawable.getBounds(); in updateBounds_withBoundsRule() 89 assertEquals(expectedBounds, adjustedBounds); in updateBounds_withBoundsRule() 96 adjustedBounds = drawable.getBounds(); in updateBounds_withBoundsRule() 99 assertEquals(expectedBounds, adjustedBounds); in updateBounds_withBoundsRule() 107 adjustedBounds = drawable.getBounds(); in updateBounds_withBoundsRule() 110 assertEquals(expectedBounds, adjustedBounds); in updateBounds_withBoundsRule() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Task.java | 403 void alignToAdjustedBounds(Rect adjustedBounds, Rect tempInsetBounds, boolean alignBottom) { in alignToAdjustedBounds() argument 410 int offsetY = adjustedBounds.bottom - mTmpRect2.bottom; in alignToAdjustedBounds() 413 mTmpRect2.offsetTo(adjustedBounds.left, adjustedBounds.top); in alignToAdjustedBounds()
|
D | TaskStack.java | 236 private void alignTasksToAdjustedBounds(Rect adjustedBounds, Rect tempInsetBounds) { in alignTasksToAdjustedBounds() argument 246 task.alignToAdjustedBounds(adjustedBounds, tempInsetBounds, alignBottom); in alignTasksToAdjustedBounds()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/ |
D | CompositeDrawable.java | 246 private final Rect adjustedBounds = new Rect(); field in CompositeDrawable.ChildDrawable 300 mBoundsRule.calculateBounds(bounds, adjustedBounds); in updateBounds() 301 mDrawable.setBounds(adjustedBounds); in updateBounds()
|