Home
last modified time | relevance | path

Searched refs:mContentOffset (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DChartSweepView.java55 private Rect mContentOffset = new Rect(); field in ChartSweepView
672 mContentOffset.set(0, 0, 0, 0);
680 mContentOffset.left = (widthAfter - widthBefore) / 2;
683 mContentOffset.bottom -= offset;
688 mContentOffset.offset(0, (heightAfter - heightBefore) / 2);
691 mContentOffset.right -= offset;
695 mSweepOffset.offset(mContentOffset.left, mContentOffset.top);
718 mContentOffset.left + alignOffset, mContentOffset.top + mLabelOffset);
728 mSweep.setBounds(labelSize, mSweepOffset.y, width + mContentOffset.right,
732 height + mContentOffset.bottom);
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DChartSweepView.java55 private Rect mContentOffset = new Rect(); field in ChartSweepView
672 mContentOffset.set(0, 0, 0, 0);
680 mContentOffset.left = (widthAfter - widthBefore) / 2;
683 mContentOffset.bottom -= offset;
688 mContentOffset.offset(0, (heightAfter - heightBefore) / 2);
691 mContentOffset.right -= offset;
695 mSweepOffset.offset(mContentOffset.left, mContentOffset.top);
718 mContentOffset.left + alignOffset, mContentOffset.top + mLabelOffset);
728 mSweep.setBounds(labelSize, mSweepOffset.y, width + mContentOffset.right,
732 height + mContentOffset.bottom);
[all …]