Home
last modified time | relevance | path

Searched refs:focusable (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/opt/car/services/builtInServices/tests/src/com/android/car/rotary/
DActivityResolverTest.java90 .className(android.widget.LinearLayout.class).focusable(true).instance(0)); in testListItemFocusable_threeItems()
95 .className(android.widget.LinearLayout.class).focusable(true).instance(1)); in testListItemFocusable_threeItems()
100 .className(android.widget.LinearLayout.class).focusable(true).instance(2)); in testListItemFocusable_threeItems()
123 .className(android.widget.LinearLayout.class).focusable(true).instance(0)); in testListItemFocusable_twoItems()
128 .className(android.widget.LinearLayout.class).focusable(true).instance(1)); in testListItemFocusable_twoItems()
133 .className(android.widget.Button.class).focusable(true).enabled(true).instance(0)); in testListItemFocusable_twoItems()
138 .className(android.widget.Button.class).focusable(true).enabled(true).instance(1)); in testListItemFocusable_twoItems()
151 .className(android.widget.Button.class).focusable(true).enabled(false).instance(0)); in testActionButtonsNotFocusable_threeItems()
157 .className(android.widget.Button.class).focusable(true).enabled(false).instance(1)); in testActionButtonsNotFocusable_threeItems()
182 .className(android.widget.Button.class).focusable(true).enabled(true).instance(0)); in testClickListItem_threeItems()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListWithMailMessages.java83 public MailMessage(String subject, String body, boolean focusable) { in MailMessage() argument
86 mFocusable = focusable; in MailMessage()
110 public void setFocusable(boolean focusable) { in setFocusable() argument
111 mFocusable = focusable; in setFocusable()
/frameworks/base/core/java/android/widget/
DAdapterView.java732 public void setFocusable(@Focusable int focusable) { in setFocusable() argument
736 mDesiredFocusableState = focusable; in setFocusable()
737 if ((focusable & (FOCUSABLE_AUTO | FOCUSABLE)) == 0) { in setFocusable()
741 super.setFocusable((!empty || isInFilterMode()) ? focusable : NOT_FOCUSABLE); in setFocusable()
745 public void setFocusableInTouchMode(boolean focusable) { in setFocusableInTouchMode() argument
749 mDesiredFocusableInTouchModeState = focusable; in setFocusableInTouchMode()
750 if (focusable) { in setFocusableInTouchMode()
754 super.setFocusableInTouchMode(focusable && (!empty || isInFilterMode())); in setFocusableInTouchMode()
760 final boolean focusable = !empty || isInFilterMode(); in checkFocus()
764 super.setFocusableInTouchMode(focusable && mDesiredFocusableInTouchModeState); in checkFocus()
[all …]
DZoomButtonsController.java300 public void setFocusable(boolean focusable) { in setFocusable() argument
302 if (focusable) { in setFocusable()
DPopupWindow.java422 public PopupWindow(View contentView, int width, int height, boolean focusable) { in PopupWindow() argument
431 setFocusable(focusable); in PopupWindow()
740 public void setFocusable(boolean focusable) { in setFocusable() argument
741 mFocusable = focusable; in setFocusable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeWindowLogger.kt102 fun logShadeFocusable(focusable: Boolean) { in <lambda>()
106 { bool1 = focusable }, in <lambda>()
DNotificationShadeWindowControllerImpl.java724 public void setNotificationShadeFocusable(boolean focusable) { in setNotificationShadeFocusable() argument
725 mLogger.logShadeFocusable(focusable); in setNotificationShadeFocusable()
726 mCurrentState.notificationShadeFocusable = focusable; in setNotificationShadeFocusable()
/frameworks/base/services/core/java/com/android/server/wm/
DInputWindowHandleWrapper.java156 void setFocusable(boolean focusable) { in setFocusable() argument
157 if (isFocusable() == focusable) { in setFocusable()
160 mHandle.setInputConfig(InputConfig.NOT_FOCUSABLE, !focusable); in setFocusable()
DInputMonitor.java278 final boolean focusable = w.canReceiveKeys() in populateInputWindowHandle()
280 inputWindowHandle.setFocusable(focusable); in populateInputWindowHandle()
DWindowContainer.java1433 boolean setFocusable(boolean focusable) { in setFocusable() argument
1434 if (mIsFocusable == focusable) { in setFocusable()
1437 mIsFocusable = focusable; in setFocusable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayWindow.java159 private void setWindowFocusable(boolean focusable) { in setWindowFocusable() argument
161 if (focusable) { in setWindowFocusable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShadeWindowController.java84 default void setNotificationShadeFocusable(boolean focusable) {} in setNotificationShadeFocusable() argument
/frameworks/base/core/java/android/view/
DFocusFinder.java368 View focusable = focusables.get(i); in findNextFocusInAbsoluteDirection() local
371 if (focusable == focused || focusable == root) continue; in findNextFocusInAbsoluteDirection()
374 focusable.getFocusedRect(mOtherRect); in findNextFocusInAbsoluteDirection()
375 root.offsetDescendantRectToMyCoords(focusable, mOtherRect); in findNextFocusInAbsoluteDirection()
379 closest = focusable; in findNextFocusInAbsoluteDirection()
/frameworks/native/services/inputflinger/tests/
DFocusResolver_test.cpp39 FakeWindowHandle(const std::string& name, const sp<IBinder>& token, bool focusable, in FakeWindowHandle() argument
43 setFocusable(focusable); in FakeWindowHandle()
47 void setFocusable(bool focusable) { in setFocusable() argument
48 mInfo.setInputConfig(gui::WindowInfo::InputConfig::NOT_FOCUSABLE, !focusable); in setFocusable()
DFakeWindows.h131 inline void setFocusable(bool focusable) { in setFocusable() argument
132 mInfo.setInputConfig(InputConfig::NOT_FOCUSABLE, !focusable); in setFocusable()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/scaffold/
DSearchScaffold.kt21 import androidx.compose.foundation.focusable in <lambda>()
103 .focusable() in paddingValues()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DPinBouncer.kt27 import androidx.compose.foundation.focusable in <lambda>()
291 .focusable() in PinPadButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java1136 void setInnerFocusable(boolean focusable) { in setInnerFocusable() argument
1137 setFocusableInTouchMode(focusable); in setInnerFocusable()
1138 setFocusable(focusable); in setInnerFocusable()
1139 setCursorVisible(focusable); in setInnerFocusable()
1141 if (focusable) { in setInnerFocusable()
/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/rotaryinput/
DRotary.kt32 import androidx.compose.foundation.focusable
134 .focusable() in rotaryWithFling()
165 .focusable() in rotaryWithFling()
197 .focusable() in rotaryWithFling()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotController.java995 private void setWindowFocusable(boolean focusable) { in setWindowFocusable() argument
997 Log.d(TAG, "setWindowFocusable: " + focusable); in setWindowFocusable()
1000 if (focusable) { in setWindowFocusable()
1007 Log.d(TAG, "setWindowFocusable: skipping, already " + focusable); in setWindowFocusable()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiSelector.java403 public UiSelector focusable(boolean val) { in focusable() method in UiSelector
/frameworks/base/cmds/uiautomator/api/
D16.txt140 method public com.android.uiautomator.core.UiSelector focusable(boolean);
D17.txt155 method public com.android.uiautomator.core.UiSelector focusable(boolean);
/frameworks/base/core/java/android/window/
DWindowContainerTransaction.java258 @NonNull WindowContainerToken container, boolean focusable) { in setFocusable() argument
260 chg.mFocusable = focusable; in setFocusable()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DCommunalHub.kt43 import androidx.compose.foundation.focusable in <lambda>()
1252 Modifier.focusable(isFocusable).semantics { in AccessibilityContainer()

12