Searched refs:thumbInsets (Results 1 – 2 of 2) sorted by relevance
865 final Rect thumbInsets; in draw() local867 thumbInsets = DrawableUtils.getOpticalBounds(mThumbDrawable); in draw()869 thumbInsets = DrawableUtils.INSETS_NONE; in draw()884 if (thumbInsets != null && !thumbInsets.isEmpty()) { in draw()885 if (thumbInsets.left > padding.left) { in draw()886 trackLeft += thumbInsets.left - padding.left; in draw()888 if (thumbInsets.top > padding.top) { in draw()889 trackTop += thumbInsets.top - padding.top; in draw()891 if (thumbInsets.right > padding.right) { in draw()892 trackRight -= thumbInsets.right - padding.right; in draw()[all …]
1151 final Insets thumbInsets; in draw() local1153 thumbInsets = mThumbDrawable.getOpticalInsets(); in draw()1155 thumbInsets = Insets.NONE; in draw()1170 if (thumbInsets != Insets.NONE) { in draw()1171 if (thumbInsets.left > padding.left) { in draw()1172 trackLeft += thumbInsets.left - padding.left; in draw()1174 if (thumbInsets.top > padding.top) { in draw()1175 trackTop += thumbInsets.top - padding.top; in draw()1177 if (thumbInsets.right > padding.right) { in draw()1178 trackRight -= thumbInsets.right - padding.right; in draw()[all …]