/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListFocusableTest.java | 54 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/ |
D | ListInterleaveFocusablesTest.java | 47 assertTrue(mListView.getChildAt(1).isFocusable()); in testPreconditions() 48 assertTrue(mListView.getChildAt(3).isFocusable()); in testPreconditions() 49 assertTrue(mListView.getChildAt(6).isFocusable()); in testPreconditions()
|
D | ListItemFocusableAboveUnfocusableTest.java | 44 assertFalse(mListView.getChildAt(1).isFocusable()); in testPreconditions()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/view/viewmodel/ |
D | CommunalViewModelTest.kt | 426 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/ |
D | DescendantFocusabilityTest.java | 51 assertTrue(a.beforeDescendantsChild.isFocusable()); in testPreconditions() 52 assertTrue(a.afterDescendantsChild.isFocusable()); in testPreconditions() 53 assertTrue(a.blocksDescendantsChild.isFocusable()); in testPreconditions()
|
D | ListWithMailMessages.java | 106 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/ |
D | ActivityResolverTest.java | 84 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/ |
D | RichTextViewTest.java | 179 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/ |
D | LayoutPreferenceTest.java | 62 assertThat(mHolder.itemView.isFocusable()).isTrue(); in setOnPreferenceClickListener_layoutPreferenceShouldListenClickEvent() 71 assertThat(mHolder.itemView.isFocusable()).isFalse(); in setNonSelectable_viewShouldNotBeSelectable()
|
D | MainSwitchBarTest.java | 77 assertThat(mSwitch.isFocusable()).isFalse(); in getSwitch_shouldNotFocusableAndClickable()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | EmbeddedWindowController.java | 240 boolean isFocusable) { in EmbeddedWindow() argument 255 mIsFocusable = isFocusable; in EmbeddedWindow() 334 void setIsFocusable(boolean isFocusable) { in setIsFocusable() argument 335 mIsFocusable = isFocusable; in setIsFocusable()
|
D | InputWindowHandleWrapper.java | 71 boolean isFocusable() { in isFocusable() method in InputWindowHandleWrapper 157 if (isFocusable() == focusable) { in setFocusable()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | StandaloneActionMode.java | 44 ActionMode.Callback callback, boolean isFocusable) { in StandaloneActionMode() argument 52 mFocusable = isFocusable; in StandaloneActionMode()
|
/frameworks/base/core/java/android/window/ |
D | WindowInfosListenerForTest.java | 101 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/ |
D | ExpandableSwitchItemTest.java | 68 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/ |
D | BaseCommunalViewModel.kt | 48 open val isFocusable: Flow<Boolean> = MutableStateFlow(false) constant in com.android.systemui.communal.ui.viewmodel.BaseCommunalViewModel
|
D | CommunalViewModel.kt | 171 override val isFocusable: Flow<Boolean> = in <lambda>() constant
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | ActionReplacingCallbackTest.java | 83 && !node.isContextClickable() && !node.isDismissable() && !node.isFocusable()); 106 && !node.isFocusable());
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/ |
D | CommunalHub.kt | 989 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/ |
D | ActionReplacingCallback.java | 284 info.setFocusable(mNodeWithReplacementActions.isFocusable()); in replaceActionsOnInfoLocked()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiObject.java | 746 public boolean isFocusable() throws UiObjectNotFoundException { in isFocusable() method in UiObject 752 return node.isFocusable(); in isFocusable()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | PasswordTextView.java | 110 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/ |
D | RootWindowContainerTests.java | 685 assertTrue(activity.isFocusable()); in testFocusability() 690 assertFalse(activity.isFocusable()); in testFocusability() 699 assertFalse(pinnedActivity.isFocusable()); in testFocusability() 706 assertTrue(pinnedActivity.isFocusable()); in testFocusability()
|
D | WindowOrganizerTests.java | 557 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/ |
D | DragToInteractView.kt | 124 isFocusable = false
|