Home
last modified time | relevance | path

Searched refs:buttons (Results 1 – 25 of 75) sorted by relevance

123

/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DHierarchicalMove.java32 Button[] buttons = new Button[6]; field in HierarchicalMove
45 buttons[0] = (Button) findViewById(R.id.button0); in onCreate()
46 buttons[1] = (Button) findViewById(R.id.button1); in onCreate()
47 buttons[2] = (Button) findViewById(R.id.button2); in onCreate()
48 buttons[3] = (Button) findViewById(R.id.button3); in onCreate()
49 buttons[4] = (Button) findViewById(R.id.button4); in onCreate()
50 buttons[5] = (Button) findViewById(R.id.button5); in onCreate()
67 move0.addTarget(buttons[0]); in onCreate()
77 changeBounds1.addTarget(buttons[1]); in onCreate()
79 changeBounds2.addTarget(buttons[2]); in onCreate()
[all …]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DButtonBarItem.java50 private final ArrayList<ButtonItem> buttons = new ArrayList<>(); field in ButtonBarItem
97 for (ButtonItem buttonItem : buttons) { in onBindView()
108 buttons.add((ButtonItem) child); in addChild()
119 for (ButtonItem button : buttons) { in findItemById()
/frameworks/libs/systemui/weathereffects/debug/src/com/google/android/wallpaper/weathereffects/
DWallpaperEffectsDebugActivity.kt130 if (rootView.requireViewById<ConstraintLayout>(R.id.buttons).visibility in <lambda>()
222 val buttons = rootView.requireViewById<ConstraintLayout>(R.id.buttons) in <lambda>() constant
223 buttons.visibility = View.VISIBLE in <lambda>()
224 buttons.animate().alpha(1f).setDuration(400).setListener(null) in <lambda>()
228 val buttons = rootView.requireViewById<ConstraintLayout>(R.id.buttons) in <lambda>() constant
229 buttons.animate() in <lambda>()
234 buttons.visibility = View.GONE in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/
DKeyButtonViewTest.java17 package com.android.systemui.navigationbar.buttons;
29 import static com.android.systemui.navigationbar.buttons.KeyButtonView.NavBarButtonEvent.NAVBAR_BAC…
30 import static com.android.systemui.navigationbar.buttons.KeyButtonView.NavBarButtonEvent.NAVBAR_BAC…
31 import static com.android.systemui.navigationbar.buttons.KeyButtonView.NavBarButtonEvent.NAVBAR_HOM…
32 import static com.android.systemui.navigationbar.buttons.KeyButtonView.NavBarButtonEvent.NAVBAR_HOM…
33 import static com.android.systemui.navigationbar.buttons.KeyButtonView.NavBarButtonEvent.NAVBAR_OVE…
34 import static com.android.systemui.navigationbar.buttons.KeyButtonView.NavBarButtonEvent.NAVBAR_OVE…
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/
DREADME.md4 You can control gestures, hardware buttons, navigation, and more. From the menu, you can:
13 The UI consists of a `ViewPager` populated by multiple pages of shortcut buttons.
14 In the settings for the menu, there is an option to display the buttons in a 3x3 grid per page,
15 or a 2x2 grid with larger buttons.
17 Upon activation, most buttons will close the menu while performing their function.
18 The exception to this are buttons that adjust a value, like volume or brightness,
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPinBasedInputView.java228 List<View> buttons = new ArrayList<>(); in startErrorAnimation() local
230 buttons.add(mButtons[i]); in startErrorAnimation()
232 buttons.add(mDeleteButton); in startErrorAnimation()
233 buttons.add(mButtons[0]); in startErrorAnimation()
234 buttons.add(mOkButton); in startErrorAnimation()
237 for (int i = 0; i < buttons.size(); i++) { in startErrorAnimation()
238 final View button = buttons.get(i); in startErrorAnimation()
/frameworks/native/services/vr/virtual_touchpad/
DVirtualTouchpadEvdev.cpp141 int VirtualTouchpadEvdev::ButtonState(int touchpad_id, int buttons) { in ButtonState() argument
146 const int changes = touchpad.last_motion_event_buttons ^ buttons; in ButtonState()
150 if (buttons & ~AMOTION_EVENT_BUTTON_BACK) { in ButtonState()
154 buttons); in ButtonState()
161 touchpad.injector->SendKey(BTN_BACK, (buttons & AMOTION_EVENT_BUTTON_BACK) in ButtonState()
166 touchpad.last_motion_event_buttons = buttons; in ButtonState()
DDvrVirtualTouchpadClient.cpp39 int buttons) { in dvrVirtualTouchpadButtonState() argument
40 return FromC(client)->ButtonState(touchpad, buttons); in dvrVirtualTouchpadButtonState()
DVirtualTouchpadClient.cpp56 status_t ButtonState(int touchpad, int buttons) override { in ButtonState() argument
60 return service_->buttonState(touchpad, buttons).transactionError(); in ButtonState()
DVirtualTouchpadService.cpp80 binder::Status VirtualTouchpadService::buttonState(int touchpad, int buttons) { in buttonState() argument
84 if (const status_t error = touchpad_->ButtonState(touchpad, buttons)) { in buttonState()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/widget/card/
DSettingsCardTest.kt78 buttons = listOf(CardButton(text = TEXT) {}), in settingsCard_buttonDisplayed()
94 buttons = listOf(CardButton(text = TEXT) { buttonClicked = true }), in settingsCard_buttonCanBeClicked()
111 buttons = listOf(CardButton( in settingsCard_buttonHaveContentDescription()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/card/
DSettingsCard.kt117 Buttons(model.buttons, model.tintColor) in SettingsCardImpl()
171 private fun Buttons(buttons: List<CardButton>, color: Color) { in Buttons()
172 if (buttons.isNotEmpty()) { in Buttons()
180 for (button in buttons) { in Buttons()
208 buttons = listOf( in SettingsCardPreview()
DCardModel.kt41 val buttons: List<CardButton> = emptyList(), constant in com.android.settingslib.spa.widget.card.CardModel
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/tests/src/com/android/systemui/accessibility/accessibilitymenu/tests/
DAccessibilityMenuServiceTest.java244 List<AccessibilityNodeInfo> buttons, String text) { in findGridButtonInfo() argument
245 for (AccessibilityNodeInfo button: buttons) { in findGridButtonInfo()
261 List<AccessibilityNodeInfo> buttons = getGridButtonList(); in testAdjustBrightness() local
262 AccessibilityNodeInfo brightnessUpButton = findGridButtonInfo(buttons, in testAdjustBrightness()
264 AccessibilityNodeInfo brightnessDownButton = findGridButtonInfo(buttons, in testAdjustBrightness()
310 List<AccessibilityNodeInfo> buttons = getGridButtonList(); in testAdjustVolume() local
311 AccessibilityNodeInfo volumeUpButton = findGridButtonInfo(buttons, in testAdjustVolume()
313 AccessibilityNodeInfo volumeDownButton = findGridButtonInfo(buttons, in testAdjustVolume()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyDialogV2.kt160 val buttons: MutableList<View> = mutableListOf() in <lambda>() constant
161 configureCloseAppButton(element, expandedLayout)?.also { buttons.add(it) } in <lambda>()
162 buttons.add(configureManageButton(element, expandedLayout)) in <lambda>()
165 when (buttons.size) { in <lambda>()
171 buttons[0].background = background in <lambda>()
183 buttons.forEach { it.background = middleBackground } in <lambda>()
184 buttons.first().background = firstBackground in <lambda>()
185 buttons.last().background = lastBackground in <lambda>()
/frameworks/base/data/keyboards/
DVendor_046d_Product_c294.kl19 # 4 way buttons above hat
25 # Row of buttons under hat
DVendor_046d_Product_c299.kl19 # 4 way buttons above hat
25 # Row of buttons under hat
DVendor_18d1_Product_0200.kl41 # Generic usage buttons
59 # assistant buttons
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBarInflaterView.java39 import com.android.systemui.navigationbar.buttons.ButtonDispatcher;
40 import com.android.systemui.navigationbar.buttons.KeyButtonView;
41 import com.android.systemui.navigationbar.buttons.ReverseLinearLayout;
42 import com.android.systemui.navigationbar.buttons.ReverseLinearLayout.ReverseRelativeLayout;
291 private void inflateButtons(String[] buttons, ViewGroup parent, boolean landscape, in inflateButtons() argument
293 for (int i = 0; i < buttons.length; i++) { in inflateButtons()
294 inflateButton(buttons[i], parent, landscape, start); in inflateButtons()
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/card/
DCardPageProvider.kt80 buttons = listOf( in SettingsCardWithIcon()
114 buttons = listOf( in SampleSettingsCollapsibleCard()
125 buttons = listOf( in SampleSettingsCollapsibleCard()
/frameworks/native/services/inputflinger/reader/include/
DStylusState.h35 uint32_t buttons{};
/frameworks/native/services/vr/virtual_touchpad/aidl/android/dvr/
DIVirtualTouchpadService.aidl36 void buttonState(int touchpad, int buttons) = 3; in buttonState() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DButtonInterface.java17 package com.android.systemui.navigationbar.buttons;
/frameworks/native/services/vr/virtual_touchpad/include/dvr/
Dvirtual_touchpad_client.h62 int buttons);
/frameworks/base/packages/SystemUI/docs/
Ddialogs.md26 the following styles for buttons.
28 * `R.style.Widget_Dialog_Button_BorderButton` for the negative and neutral buttons.
30 If needed to use the same style for all three buttons, the style attributes

123