Lines Matching refs:button
118 for (ButtonDropTarget button : mDropTargets) { in setInsets()
119 button.setTextSize(TypedValue.COMPLEX_UNIT_PX, grid.dropTargetTextSizePx); in setInsets()
120 button.setToolTipLocation(tooltipLocation); in setInsets()
144 for (ButtonDropTarget button : mDropTargets) { in onMeasure()
145 if (button.getVisibility() != GONE) { in onMeasure()
146 button.setTextVisible(false); in onMeasure()
147 button.measure(widthSpec, heightSpec); in onMeasure()
161 for (ButtonDropTarget button : mDropTargets) { in onMeasure()
162 if (button.getVisibility() != GONE) { in onMeasure()
163 button.setTextVisible(textVisible); in onMeasure()
164 button.measure(widthSpec, heightSpec); in onMeasure()
181 for (ButtonDropTarget button : mDropTargets) { in onLayout()
182 if (button.getVisibility() != GONE) { in onLayout()
183 end = start + button.getMeasuredHeight(); in onLayout()
184 button.layout(0, start, button.getMeasuredWidth(), end); in onLayout()
193 for (ButtonDropTarget button : mDropTargets) { in onLayout()
194 if (button.getVisibility() != GONE) { in onLayout()
195 halfWidth = button.getMeasuredWidth() / 2; in onLayout()
196 button.layout(start - halfWidth, 0, in onLayout()
197 start + halfWidth, button.getMeasuredHeight()); in onLayout()