Searched refs:thumbInsets (Results 1 – 2 of 2) sorted by relevance
1139 final Rect thumbInsets; in draw() local1141 thumbInsets = DrawableUtils.getOpticalBounds(mThumbDrawable); in draw()1143 thumbInsets = DrawableUtils.INSETS_NONE; in draw()1158 if (thumbInsets != null) { in draw()1159 if (thumbInsets.left > padding.left) { in draw()1160 trackLeft += thumbInsets.left - padding.left; in draw()1162 if (thumbInsets.top > padding.top) { in draw()1163 trackTop += thumbInsets.top - padding.top; in draw()1165 if (thumbInsets.right > padding.right) { in draw()1166 trackRight -= thumbInsets.right - padding.right; in draw()[all …]
1156 final Insets thumbInsets; in draw() local1158 thumbInsets = mThumbDrawable.getOpticalInsets(); in draw()1160 thumbInsets = Insets.NONE; in draw()1175 if (thumbInsets != Insets.NONE) { in draw()1176 if (thumbInsets.left > padding.left) { in draw()1177 trackLeft += thumbInsets.left - padding.left; in draw()1179 if (thumbInsets.top > padding.top) { in draw()1180 trackTop += thumbInsets.top - padding.top; in draw()1182 if (thumbInsets.right > padding.right) { in draw()1183 trackRight -= thumbInsets.right - padding.right; in draw()[all …]