Searched refs:dimBounds (Results 1 – 4 of 4) sorted by relevance
835 final Rect dimBounds = mDimmer.getDimBounds(); in prepareSurfaces() local836 if (dimBounds != null) { in prepareSurfaces()838 getBounds(dimBounds); in prepareSurfaces()839 dimBounds.offsetTo(0 /* newLeft */, 0 /* newTop */); in prepareSurfaces()849 if (dimBounds != null) { in prepareSurfaces()
3297 final Rect dimBounds = mDimmer.getDimBounds();3298 if (dimBounds != null) {3299 getDimBounds(dimBounds);3304 dimBounds.offsetTo(dimBounds.left - mTmpRect.left, dimBounds.top - mTmpRect.top);3306 dimBounds.offsetTo(0, 0);3312 if (dimBounds != null && mDimmer.updateDims(t)) {
3171 final Rect dimBounds = mDimmer.getDimBounds(); in prepareSurfaces() local3172 if (dimBounds != null) { in prepareSurfaces()3174 dimBounds.offsetTo(0 /* newLeft */, 0 /* newTop */); in prepareSurfaces()
875 final Rect dimBounds = new Rect(); in testGetDimBounds() local880 mTaskFragment.getDimBounds(dimBounds); in testGetDimBounds()881 assertEquals(taskBounds, dimBounds); in testGetDimBounds()885 mTaskFragment.getDimBounds(dimBounds); in testGetDimBounds()886 assertEquals(taskFragmentBounds, dimBounds); in testGetDimBounds()