Home
last modified time | relevance | path

Searched refs:isFocusable (Results 1 – 25 of 72) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListFocusableTest.java54 assertTrue(mListView.isFocusable()); in testAdapterFull()
60 assertFalse(mListView.isFocusable()); in testAdapterEmpty()
66 assertFalse(mListView.isFocusable()); in testAdapterNull()
71 assertTrue(mListView.isFocusable()); in testAdapterFullSetFocusable()
74 assertTrue(mListView.isFocusable()); in testAdapterFullSetFocusable()
79 assertTrue(mListView.isFocusable()); in testAdapterFullSetNonFocusable()
82 assertFalse(mListView.isFocusable()); in testAdapterFullSetNonFocusable()
88 assertFalse(mListView.isFocusable()); in testAdapterEmptySetFocusable()
91 assertFalse(mListView.isFocusable()); in testAdapterEmptySetFocusable()
97 assertFalse(mListView.isFocusable()); in testAdapterEmptySetNonFocusable()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListInterleaveFocusablesTest.java47 assertTrue(mListView.getChildAt(1).isFocusable()); in testPreconditions()
48 assertTrue(mListView.getChildAt(3).isFocusable()); in testPreconditions()
49 assertTrue(mListView.getChildAt(6).isFocusable()); in testPreconditions()
DListItemFocusableAboveUnfocusableTest.java44 assertFalse(mListView.getChildAt(1).isFocusable()); in testPreconditions()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/view/viewmodel/
DCommunalViewModelTest.kt426 val isFocusable by collectLastValue(underTest.isFocusable) in <lambda>() constant
449 assertThat(isFocusable).isEqualTo(false) in <lambda>()
458 assertThat(isFocusable).isEqualTo(false) in <lambda>()
464 val isFocusable by collectLastValue(underTest.isFocusable) in <lambda>() constant
477 assertThat(isFocusable).isEqualTo(false) in <lambda>()
483 val isFocusable by collectLastValue(underTest.isFocusable) in <lambda>() constant
498 assertThat(isFocusable).isEqualTo(true) in <lambda>()
504 val isFocusable by collectLastValue(underTest.isFocusable) in <lambda>() constant
519 assertThat(isFocusable).isEqualTo(false) in <lambda>()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DDescendantFocusabilityTest.java51 assertTrue(a.beforeDescendantsChild.isFocusable()); in testPreconditions()
52 assertTrue(a.afterDescendantsChild.isFocusable()); in testPreconditions()
53 assertTrue(a.blocksDescendantsChild.isFocusable()); in testPreconditions()
DListWithMailMessages.java106 public boolean isFocusable() { in isFocusable() method in ListWithMailMessages.MailMessage
142 body.setFocusable(message.isFocusable()); in getView()
/frameworks/opt/car/services/builtInServices/tests/src/com/android/car/rotary/
DActivityResolverTest.java84 if (list.isFocusable()) { in testListItemFocusable_threeItems()
117 if (list.isFocusable()) { in testListItemFocusable_twoItems()
199 if (list.isFocusable()) { in testClickListItem_threeItems()
226 if (list.isFocusable()) { in testClickListItem_twoItems()
252 if (list.isFocusable()) { in testClickJustOnceButton_twoItems()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
DRichTextViewTest.java179 assertThat(view.isFocusable()).named("view focusable").isTrue(); in testTextContainingLinksAreFocusable()
188 assertThat(textView.isFocusable()).named("view focusable").isFalse(); in testTextContainingNoLinksAreNotFocusable()
199 assertThat(textView.isFocusable()).isFalse(); in testRichTextViewFocusChangesWithTextChange()
205 assertThat(textView.isFocusable()).isTrue(); in testRichTextViewFocusChangesWithTextChange()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DLayoutPreferenceTest.java62 assertThat(mHolder.itemView.isFocusable()).isTrue(); in setOnPreferenceClickListener_layoutPreferenceShouldListenClickEvent()
71 assertThat(mHolder.itemView.isFocusable()).isFalse(); in setNonSelectable_viewShouldNotBeSelectable()
DMainSwitchBarTest.java77 assertThat(mSwitch.isFocusable()).isFalse(); in getSwitch_shouldNotFocusableAndClickable()
/frameworks/base/services/core/java/com/android/server/wm/
DEmbeddedWindowController.java240 boolean isFocusable) { in EmbeddedWindow() argument
255 mIsFocusable = isFocusable; in EmbeddedWindow()
334 void setIsFocusable(boolean isFocusable) { in setIsFocusable() argument
335 mIsFocusable = isFocusable; in setIsFocusable()
DInputWindowHandleWrapper.java71 boolean isFocusable() { in isFocusable() method in InputWindowHandleWrapper
157 if (isFocusable() == focusable) { in setFocusable()
/frameworks/base/core/java/com/android/internal/view/
DStandaloneActionMode.java44 ActionMode.Callback callback, boolean isFocusable) { in StandaloneActionMode() argument
52 mFocusable = isFocusable; in StandaloneActionMode()
/frameworks/base/core/java/android/window/
DWindowInfosListenerForTest.java101 public final boolean isFocusable; field in WindowInfosListenerForTest.WindowInfo
133 this.isFocusable = (inputConfig & InputConfig.NOT_FOCUSABLE) == 0; in WindowInfo()
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/
DExpandableSwitchItemTest.java68 assertFalse("Expandable switch item itself should not be focusable", view.isFocusable()); in testInitialState()
72 assertThat(switchContent.isFocusable()).named("expandable content focusable").isTrue(); in testInitialState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/ui/viewmodel/
DBaseCommunalViewModel.kt48 open val isFocusable: Flow<Boolean> = MutableStateFlow(false) constant in com.android.systemui.communal.ui.viewmodel.BaseCommunalViewModel
DCommunalViewModel.kt171 override val isFocusable: Flow<Boolean> = in <lambda>() constant
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DActionReplacingCallbackTest.java83 && !node.isContextClickable() && !node.isDismissable() && !node.isFocusable());
106 && !node.isFocusable());
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DCommunalHub.kt989 val isFocusable by viewModel.isFocusable.collectAsStateWithLifecycle(initialValue = false) in WidgetContent() constant
1069 if (isFocusable) { in WidgetContent()
1246 val isFocusable by viewModel.isFocusable.collectAsStateWithLifecycle(initialValue = false) in AccessibilityContainer() constant
1250 isFocusable && !viewModel.isEditMode in AccessibilityContainer()
1252 Modifier.focusable(isFocusable).semantics { in AccessibilityContainer()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DActionReplacingCallback.java284 info.setFocusable(mNodeWithReplacementActions.isFocusable()); in replaceActionsOnInfoLocked()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiObject.java746 public boolean isFocusable() throws UiObjectNotFoundException { in isFocusable() method in UiObject
752 return node.isFocusable(); in isFocusable()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DPasswordTextView.java110 boolean isFocusable = a.getBoolean(android.R.styleable.View_focusable, in PasswordTextView()
114 setFocusable(isFocusable); in PasswordTextView()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRootWindowContainerTests.java685 assertTrue(activity.isFocusable()); in testFocusability()
690 assertFalse(activity.isFocusable()); in testFocusability()
699 assertFalse(pinnedActivity.isFocusable()); in testFocusability()
706 assertTrue(pinnedActivity.isFocusable()); in testFocusability()
DWindowOrganizerTests.java557 assertTrue(task.isFocusable()); in testContainerFocusableChanges()
560 assertFalse(task.isFocusable()); in testContainerFocusableChanges()
563 assertTrue(task.isFocusable()); in testContainerFocusableChanges()
604 assertTrue(taskFragment.isFocusable()); in testTaskFragmentHiddenFocusableTranslucentChanges()
618 assertFalse(taskFragment.isFocusable()); in testTaskFragmentHiddenFocusableTranslucentChanges()
632 assertTrue(taskFragment.isFocusable()); in testTaskFragmentHiddenFocusableTranslucentChanges()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DDragToInteractView.kt124 isFocusable = false

123