Home
last modified time | relevance | path

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

12

/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/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/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.java60 assertThat(mHolder.itemView.isFocusable()).isTrue(); in setOnPreferenceClickListener_layoutPreferenceShouldListenClickEvent()
69 assertThat(mHolder.itemView.isFocusable()).isFalse(); in setNonSelectable_viewShouldNotBeSelectable()
/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/services/tests/wmtests/src/com/android/server/wm/
DRootActivityContainerTests.java248 assertTrue(stack.isFocusable()); in testFocusability()
249 assertTrue(activity.isFocusable()); in testFocusability()
253 assertFalse(stack.isFocusable()); in testFocusability()
254 assertFalse(activity.isFocusable()); in testFocusability()
262 assertFalse(pinnedStack.isFocusable()); in testFocusability()
263 assertFalse(pinnedActivity.isFocusable()); in testFocusability()
269 assertTrue(pinnedStack.isFocusable()); in testFocusability()
270 assertTrue(pinnedActivity.isFocusable()); in testFocusability()
275 assertFalse(pinnedStack.isFocusable()); in testFocusability()
DActivityRecordTests.java154 doReturn(false).when(mActivity).isFocusable(); in testPausingWhenVisibleFromStopped()
163 doReturn(true).when(mActivity).isFocusable(); in testPausingWhenVisibleFromStopped()
/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/tests/src/com/android/systemui/statusbar/phone/
DScrimControllerTest.java587 Assert.assertFalse("Should not be focusable on AOD", mScrimBehind.isFocusable()); in testScrimFocus()
588 Assert.assertFalse("Should not be focusable on AOD", mScrimInFront.isFocusable()); in testScrimFocus()
591 Assert.assertTrue("Should be focusable on keyguard", mScrimBehind.isFocusable()); in testScrimFocus()
592 Assert.assertTrue("Should be focusable on keyguard", mScrimInFront.isFocusable()); in testScrimFocus()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DActionReplacingCallbackTest.java82 && !node.isContextClickable() && !node.isDismissable() && !node.isFocusable());
105 && !node.isFocusable());
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DActionReplacingCallback.java225 info.setFocusable(nodeWithReplacementActions.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()
DAccessibilityNodeInfoDumper.java116 serializer.attribute("", "focusable", Boolean.toString(node.isFocusable())); in dumpNodeRec()
DUiSelector.java757 if (node.isFocusable() != getBoolean(criterion)) { in isMatchFor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java259 if (getVisibility() == VISIBLE && mEditText.isFocusable()) { in onAttachedToWindow()
540 if (isFocusable() && isEnabled()) { in defocusIfNeeded()
/frameworks/opt/setupwizard/library/gingerbread/test/instrumentation/src/com/android/setupwizardlib/util/
DLinkAccessibilityHelperTest.java121 assertTrue("LinkSpan should be focusable", info.isFocusable()); in testOnPopulateNodeForVirtualView()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java1364 boolean isFocusable() { in isFocusable() method in ActivityRecord
1365 return mRootActivityContainer.isFocusable(this, isAlwaysFocusable()); in isFocusable()
1503 if (!isFocusable()) { in moveFocusableActivityToTop()
2043 if (isState(STOPPING, STOPPED) && isFocusable()) { in makeClientVisible()
2094 return shouldMakeActive(activeActivity) && !isFocusable() && !isState(PAUSING, PAUSED); in shouldPauseActivity()
2106 return shouldMakeActive(activeActivity) && isFocusable() && !isState(RESUMED) in shouldResumeActivity()
DActivityDisplay.java587 || !stack.isFocusable())) { in pauseBackStacks()
977 if (stack == focusedStack || !stack.isFocusable()) { in topRunningActivity()
DActivityStack.java1079 if (r != null && (!focusableOnly || r.isFocusable())) { in topRunningActivityLocked()
1321 boolean isFocusable() { in isFocusable() method in ActivityStack
1323 return mRootActivityContainer.isFocusable(this, r != null && r.isFocusable()); in isFocusable()
1327 return isFocusable() && shouldBeVisible(null /* starting */); in isFocusableAndVisible()
2150 boolean resumeNextActivity = isFocusable() && isInStackLocked(starting) == null; in ensureActivitiesVisibleLocked()
3690 if (next != null && isFocusable()) { in adjustFocusedActivityStack()
/frameworks/base/cmds/uiautomator/api/
D16.txt75 … method public boolean isFocusable() throws com.android.uiautomator.core.UiObjectNotFoundException;
D17.txt84 … method public boolean isFocusable() throws com.android.uiautomator.core.UiObjectNotFoundException;
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java1591 result.mFocusable = view.isFocusable(); in layoutChunk()
1922 if (nextFocus == referenceChild || !nextFocus.isFocusable()) { in onFocusSearchFailed()

12