/external/lzma/CPP/Windows/Control/ |
ToolBar.h | 20 // maybe it must be fixed for more than 1 buttons
35 bool AddButton(UINT numButtons, LPTBBUTTON buttons) { return LRESULTToBool(SendMessage(TB_ADDBUTTONS, numButtons, (LPARAM)buttons)); }
37 bool AddButtonW(UINT numButtons, LPTBBUTTON buttons) { return LRESULTToBool(SendMessage(TB_ADDBUTTONSW, numButtons, (LPARAM)buttons)); }
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
ButtonGroup.java | 21 /** Manages a group of buttons to enforce a minimum and maximum number of checked buttons. This enables "radio button"
27 private final Array<T> buttons = new Array();
field in class:ButtonGroup 37 public ButtonGroup (T... buttons) {
39 add(buttons);
46 boolean shouldCheck = button.isChecked() || buttons.size < minCheckCount;
49 buttons.add(button);
53 public void add (T... buttons) {
54 if (buttons == null) throw new IllegalArgumentException("buttons cannot be null."); [all...] |
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
HierarchicalMove.java | 32 Button[] buttons = new Button[6]; field in class:HierarchicalMove 45 buttons[0] = (Button) findViewById(R.id.button0); 46 buttons[1] = (Button) findViewById(R.id.button1); 47 buttons[2] = (Button) findViewById(R.id.button2); 48 buttons[3] = (Button) findViewById(R.id.button3); 49 buttons[4] = (Button) findViewById(R.id.button4); 50 buttons[5] = (Button) findViewById(R.id.button5); 52 // Move button0, then buttons 1/2 together, then buttons 3/4/5 sequentially: 67 move0.addTarget(buttons[0]) [all...] |
/external/autotest/frontend/client/src/autotest/common/table/ |
RadioButtonSetFilter.java | 15 private Vector<RadioButton> buttons; field in class:RadioButtonSetFilter 25 buttons = new Vector(); 35 int formValue = buttons.size(); 38 buttons.add(radioButton); 43 if (index < buttons.size()) 45 buttons.get(index).setChecked(true); 53 return buttons.size();
|
/development/samples/browseable/BorderlessButtons/ |
_index.jd | 8 This sample demonstrates the use of borderless buttons, bottom button bars
|
/development/samples/browseable/FloatingActionButtonBasic/ |
_index.jd | 8 This sample shows the two sizes of Floating Action Buttons and how to interact with
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/ |
UIUtils.java | 5 import com.badlogic.gdx.Input.Buttons; 14 return Gdx.input.isButtonPressed(Buttons.LEFT); 18 return button == Buttons.LEFT; 22 return Gdx.input.isButtonPressed(Buttons.RIGHT); 26 return button == Buttons.RIGHT; 30 return Gdx.input.isButtonPressed(Buttons.MIDDLE); 34 return button == Buttons.MIDDLE;
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
InputTest.java | 20 import com.badlogic.gdx.Input.Buttons;
37 Gdx.app.log("Input Test", "just touched, button: " + (Gdx.input.isButtonPressed(Buttons.LEFT) ? "left " : "")
38 + (Gdx.input.isButtonPressed(Buttons.MIDDLE) ? "middle " : "")
39 + (Gdx.input.isButtonPressed(Buttons.RIGHT) ? "right" : "")
40 + (Gdx.input.isButtonPressed(Buttons.BACK) ? "back" : "")
41 + (Gdx.input.isButtonPressed(Buttons.FORWARD) ? "forward" : ""));
105 if (button == Buttons.LEFT) return "left";
106 if (button == Buttons.RIGHT) return "right";
107 if (button == Buttons.MIDDLE) return "middle";
108 if (button == Buttons.BACK) return "back"; [all...] |
/packages/apps/Dialer/InCallUI/res/values-sw410dp/ |
config.xml | 18 <!-- Determines the maximum number of buttons visible on the call card. Any buttons over this
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
IntentDrivenTestActivity.java | 19 * text view containing instructions and one or more buttons that trigger intents. 32 public static final String EXTRA_BUTTONS = "buttons"; 59 final ViewGroup buttons = (ViewGroup) findViewById(R.id.buttons); local 66 buttons.addView(button); 121 public TestInfo(String testId, int title, int infoText, ButtonInfo... buttons) { 123 * up to 2 buttons and won't render well with more buttons on small screen devices. 124 * If you need more than 2 buttons, please change the layout so it can properly render 127 if (buttons.length > 2) [all...] |
/frameworks/base/data/keyboards/ |
Vendor_046d_Product_c294.kl | 19 # 4 way buttons above hat 25 # Row of buttons under hat 35 # Buttons on wheel
|
Vendor_046d_Product_c299.kl | 19 # 4 way buttons above hat 25 # Row of buttons under hat 40 # Buttons on wheel
|
/packages/apps/Dialer/InCallUI/res/values-w500dp-land/ |
dimens.xml | 25 <!-- Height and width of the in-call buttons. --> 28 <!-- Margin underneath the call buttons. This is used only in landscape mode and is sized 29 so that the call buttons are center aligned with the end call button. -->
|
/developers/samples/android/ui/views/FloatingActionButton/FloatingActionButtonBasic/ |
template-params.xml | 26 This sample shows the two sizes of Floating Action Buttons and how to interact with 58 This sample shows the two sizes of Floating Action Buttons and 67 Floating action buttons are used for a special type of promoted action. 71 Floating action buttons come in two sizes: 75 Both sizes of Floating Action Buttons are displayed on screen.
|
/developers/build/prebuilts/gradle/BasicGestureDetect/Application/src/main/java/com/example/android/basicgesturedetect/ |
GestureListener.java | 120 touchTypeDescription += ", buttons pressed: " + getButtonsPressed(e); 140 * Returns a human-readable string listing all the stylus buttons that were pressed when the 145 String buttons = ""; local 148 buttons += " primary"; 152 buttons += " secondary"; 156 buttons += " tertiary"; 160 buttons += " back"; 164 buttons += " forward"; 167 if (buttons.equals("")){ 168 buttons = "none" [all...] |
/developers/samples/android/input/gestures/BasicGestureDetect/Application/src/main/java/com/example/android/basicgesturedetect/ |
GestureListener.java | 120 touchTypeDescription += ", buttons pressed: " + getButtonsPressed(e); 140 * Returns a human-readable string listing all the stylus buttons that were pressed when the 145 String buttons = ""; local 148 buttons += " primary"; 152 buttons += " secondary"; 156 buttons += " tertiary"; 160 buttons += " back"; 164 buttons += " forward"; 167 if (buttons.equals("")){ 168 buttons = "none" [all...] |
/development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/ |
GestureListener.java | 120 touchTypeDescription += ", buttons pressed: " + getButtonsPressed(e); 140 * Returns a human-readable string listing all the stylus buttons that were pressed when the 145 String buttons = ""; local 148 buttons += " primary"; 152 buttons += " secondary"; 156 buttons += " tertiary"; 160 buttons += " back"; 164 buttons += " forward"; 167 if (buttons.equals("")){ 168 buttons = "none" [all...] |
/external/chromium-trace/catapult/tracing/tracing/ui/base/ |
overlay_test.html | 43 dlg.buttons.appendChild(makeButton('i am a button')); 44 dlg.buttons.appendChild(makeCloseButton(dlg)); 45 dlg.buttons.appendChild(tr.ui.b.createSpan( 64 dlg.buttons.appendChild(makeCloseButton(dlg)); 82 dlg.buttons.appendChild(makeButton('i am a button')); 96 dlg.buttons.appendChild(makeButton('i am a button')); 104 dlg.buttons.appendChild(closeBtn);
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-lwjgl3/src/com/badlogic/gdx/controllers/lwjgl3/ |
Lwjgl3Controller.java | 42 ByteBuffer buttons = GLFW.glfwGetJoystickButtons(index); local 43 if(buttons == null) { 58 for(int i = 0; i < buttons.limit(); i++) { 59 if(buttonState[i] != (buttons.get(i) == GLFW.GLFW_PRESS)) { 61 if(buttons.get(i) == GLFW.GLFW_PRESS) { 67 manager.buttonChanged(this, i, buttons.get(i) == GLFW.GLFW_PRESS); 69 buttonState[i] = buttons.get(i) == GLFW.GLFW_PRESS;
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/ |
OISMouse.h | 44 MouseState() : width(50), height(50), buttons(0) {}; 60 //! represents all buttons - bit position indicates button down 61 int buttons; member in class:OIS::MouseState 66 return ((buttons & ( 1L << button )) == 0) ? false : true; 75 buttons = 0; 86 //! The state of the mouse - including buttons and axes
|
/development/samples/ApiDemos/res/layout/ |
buttons_1.xml | 17 <!-- Lots of buttons = need scrolling --> 27 <!-- Regular sized buttons --> 33 <!-- Small buttons -->
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
at42qt1070.cxx | 43 uint8_t buttons = touch->getButtons(); local 45 cout << "Buttons Pressed: "; 48 if (buttons & (1 << i))
|
/sdk/emulator/skins/dynamic/ |
layout | 22 buttons { 65 buttons { 120 buttons {
|
/developers/samples/android/ui/holo/BorderlessButtons/ |
template-params.xml | 28 This sample demonstrates the use of borderless buttons, bottom button bars 64 This includes a ListView with custom rows and buttons, using dividing lines to create 68 '?android:buttonBarButtonStyle' for buttons and references to the appropriate divider 73 [1]: http://developer.android.com/design/building-blocks/buttons.html#borderless
|
/development/samples/ControllerSample/res/values/ |
strings.xml | 7 moving the joysticks or pressing buttons. If it helps, try to imagine
|