Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DRadialTimePickerView.java151 private final int[] mSelectionDegrees = new int[2]; field in RadialTimePickerView
495 mSelectionDegrees[HOURS] = degrees; in setCurrentHourInternal()
521 return getHourForDegrees(mSelectionDegrees[HOURS], mIsOnInnerCircle); in getCurrentHour()
569 mSelectionDegrees[MINUTES] = (minute % MINUTES_IN_CIRCLE) * DEGREES_FOR_ONE_MINUTE; in setCurrentMinuteInternal()
580 return getMinuteForDegrees(mSelectionDegrees[MINUTES]); in getCurrentMinute()
746 showActivated && !mIsOnInnerCircle, mSelectionDegrees[HOURS], showActivated); in drawHoursClipped()
752 showActivated && mIsOnInnerCircle, mSelectionDegrees[HOURS], showActivated); in drawHoursClipped()
778 showActivated, mSelectionDegrees[MINUTES], showActivated); in drawMinutesClipped()
794 final int hoursAngleDeg = mSelectionDegrees[hoursIndex % 2]; in drawSelector()
795 final float hoursDotScale = mSelectionDegrees[hoursIndex % 2] % 30 != 0 ? 1 : 0; in drawSelector()
[all …]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialSelectorView.java72 private int mSelectionDegrees; field in RadialSelectorView
167 mSelectionDegrees = selectionDegrees; in setSelection()
305 if (mForceDrawDot | mSelectionDegrees % 30 != 0) { in onDraw()