Lines Matching full:button
64 // private final Button[] mButtons = new Button[BUTTON_LABELS.length];
86 // Button button = new Button();
87 // button.icon = ResourceTexture.get(BUTTON_ICONS[i]);
88 // button.smallLabel = new SimpleStringTexture(context.getString(BUTTON_LABELS[i]),
90 // button.largeLabel = new SimpleStringTexture(context.getString(BUTTON_LABELS[i]),
92 // mButtons[i] = button;
98 // final Button[] buttons = mButtons;
108 // final Button button = buttons[i];
109 // final float labelWidth = button.largeLabel.getWidth();
115 // button.x = dx + FloatMath.floor(0.5f * (buttonWidth - iconLabelWidth));
116 // button.centerX = dx + FloatMath.floor(0.5f * buttonWidth);
125 // final Button button = buttons[i];
126 // final float labelWidth = button.largeLabel.getWidth();
127 // button.x = dx + FloatMath.floor(0.5f * (buttonWidth - labelWidth));
169 // // Draw the button icon + labels.
171 // final Button[] buttons = mButtons;
173 // final Button button = buttons[i];
174 // float x = button.x;
175 // if (mDrawButtonIcons && view.bind(button.icon)) {
179 // if (view.bind(button.largeLabel)) {
180 // view.draw2D(x, labelY, 0f, button.largeLabel.getWidth(), button.largeLabel
185 // // Draw the inter-button dividers.
197 // final Button[] buttons = mButtons;
227 // private void performAction(final int button, float touchX, float touchY) {
251 // if (button == BUTTON_SELECT_ALL) {
253 // } else if (button == BUTTON_DESELECT_ALL) {
256 // // Get the target button and popup focus location.
257 // Button targetButton = mButtons[button];
261 // // Configure the popup depending on the button pressed.
264 // switch (button) {
283 // if (button != BUTTON_SHARE) {
289 // switch (button) {
335 // private static final class Button {