Searched refs:switchBottom (Results 1 – 2 of 2) sorted by relevance
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
D | SwitchCompat.java | 1102 final int switchBottom; in onLayout() local 1107 switchBottom = switchTop + mSwitchHeight; in onLayout() 1113 switchBottom = switchTop + mSwitchHeight; in onLayout() 1117 switchBottom = getHeight() - getPaddingBottom(); in onLayout() 1118 switchTop = switchBottom - mSwitchHeight; in onLayout() 1124 mSwitchBottom = switchBottom; in onLayout() 1134 final int switchBottom = mSwitchBottom; in draw() local 1156 int trackBottom = switchBottom; in draw() 1180 mThumbDrawable.setBounds(thumbLeft, switchTop, thumbRight, switchBottom); in draw() 1185 thumbRight, switchBottom); in draw() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | Switch.java | 1125 final int switchBottom; in onLayout() local 1130 switchBottom = switchTop + mSwitchHeight; in onLayout() 1136 switchBottom = switchTop + mSwitchHeight; in onLayout() 1140 switchBottom = getHeight() - getPaddingBottom(); in onLayout() 1141 switchTop = switchBottom - mSwitchHeight; in onLayout() 1147 mSwitchBottom = switchBottom; in onLayout() 1157 final int switchBottom = mSwitchBottom; in draw() local 1179 int trackBottom = switchBottom; in draw() 1203 mThumbDrawable.setBounds(thumbLeft, switchTop, thumbRight, switchBottom); in draw() 1207 background.setHotspotBounds(thumbLeft, switchTop, thumbRight, switchBottom); in draw() [all …]
|