Searched refs:thumbInsets (Results 1 – 2 of 2) sorted by relevance
1138 final Rect thumbInsets; in draw() local1140 thumbInsets = DrawableUtils.getOpticalBounds(mThumbDrawable); in draw()1142 thumbInsets = DrawableUtils.INSETS_NONE; in draw()1157 if (thumbInsets != null) { in draw()1158 if (thumbInsets.left > padding.left) { in draw()1159 trackLeft += thumbInsets.left - padding.left; in draw()1161 if (thumbInsets.top > padding.top) { in draw()1162 trackTop += thumbInsets.top - padding.top; in draw()1164 if (thumbInsets.right > padding.right) { in draw()1165 trackRight -= thumbInsets.right - padding.right; in draw()[all …]
1161 final Insets thumbInsets; in draw() local1163 thumbInsets = mThumbDrawable.getOpticalInsets(); in draw()1165 thumbInsets = Insets.NONE; in draw()1180 if (thumbInsets != Insets.NONE) { in draw()1181 if (thumbInsets.left > padding.left) { in draw()1182 trackLeft += thumbInsets.left - padding.left; in draw()1184 if (thumbInsets.top > padding.top) { in draw()1185 trackTop += thumbInsets.top - padding.top; in draw()1187 if (thumbInsets.right > padding.right) { in draw()1188 trackRight -= thumbInsets.right - padding.right; in draw()[all …]