Searched refs:parentRect (Results 1 – 3 of 3) sorted by relevance
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | ChartView.java | 106 final Rect parentRect = new Rect(); in onLayout() local 113 parentRect.set(mContent); in onLayout() 117 Gravity.apply(params.gravity, width, height, parentRect, childRect); in onLayout() 122 layoutSweep((ChartSweepView) child, parentRect, childRect); in onLayout() local 129 final Rect parentRect = new Rect(mContent); in layoutSweep() local 132 layoutSweep(sweep, parentRect, childRect); in layoutSweep() 136 protected void layoutSweep(ChartSweepView sweep, Rect parentRect, Rect childRect) { in layoutSweep() argument 141 parentRect.top += sweepMargins.top + (int) sweep.getPoint(); in layoutSweep() 142 parentRect.bottom = parentRect.top; in layoutSweep() 143 parentRect.left += sweepMargins.left; in layoutSweep() [all …]
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | ChartView.java | 106 final Rect parentRect = new Rect(); in onLayout() local 113 parentRect.set(mContent); in onLayout() 117 Gravity.apply(params.gravity, width, height, parentRect, childRect); in onLayout() 122 layoutSweep((ChartSweepView) child, parentRect, childRect); in onLayout() local 129 final Rect parentRect = new Rect(mContent); in layoutSweep() local 132 layoutSweep(sweep, parentRect, childRect); in layoutSweep() 136 protected void layoutSweep(ChartSweepView sweep, Rect parentRect, Rect childRect) { in layoutSweep() argument 141 parentRect.top += sweepMargins.top + (int) sweep.getPoint(); in layoutSweep() 142 parentRect.bottom = parentRect.top; in layoutSweep() 143 parentRect.left += sweepMargins.left; in layoutSweep() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | BottomBar.java | 228 Rect parentRect = new Rect(); in extendTouchAreaToMatchParent() 229 parent.getHitRect(parentRect); in extendTouchAreaToMatchParent() 233 int widthDiff = parentRect.width() - buttonRect.width(); in extendTouchAreaToMatchParent() 234 int heightDiff = parentRect.height() - buttonRect.height(); in extendTouchAreaToMatchParent()
|