Home
last modified time | relevance | path

Searched refs:secondButton (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DDropTargetBar.java170 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()
[all …]
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/template/
DCarNotificationActionsViewTest.java438 CarNotificationActionButton secondButton = in onBind_actionExists_notCarCompatibleMessage_isCall_secondButtonHasBackground() local
441 assertThat(secondButton.getBackground()).isNotNull(); in onBind_actionExists_notCarCompatibleMessage_isCall_secondButtonHasBackground()