Lines Matching refs:secondButton
170 ButtonDropTarget secondButton = mTempTargets[1]; in onMeasure() local
171 secondButton.setTextSize(TypedValue.COMPLEX_UNIT_PX, dp.dropTargetTextSizePx); in onMeasure()
172 secondButton.setTextVisible(true); in onMeasure()
173 secondButton.setIconVisible(true); in onMeasure()
174 secondButton.setTextMultiLine(false); in onMeasure()
176 secondButton.setPadding(horizontalPadding, verticalPadding, horizontalPadding, in onMeasure()
195 secondButton.setIconVisible(false); in onMeasure()
206 secondButton.measure(widthSpec, heightSpec); in onMeasure()
209 if (secondButton.isTextTruncated(availableWidth)) { in onMeasure()
210 secondButton.setIconVisible(false); in onMeasure()
212 secondButton.setTextMultiLine(true); in onMeasure()
213 secondButton.setPadding(horizontalPadding, verticalPadding / 2, in onMeasure()
220 Math.min(firstButton.resizeTextToFit(), secondButton.resizeTextToFit()); in onMeasure()
222 || secondButton.getTextSize() != minTextSize) { in onMeasure()
224 secondButton.setTextSize(minTextSize); in onMeasure()