Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListWithMailMessages.java82 public MailMessage(String subject, String body, boolean focusable) { in MailMessage() argument
85 mFocusable = focusable; in MailMessage()
109 public void setFocusable(boolean focusable) { in setFocusable() argument
110 mFocusable = focusable; in setFocusable()
/frameworks/base/core/java/android/widget/
DAdapterView.java720 public void setFocusable(@Focusable int focusable) { in setFocusable() argument
724 mDesiredFocusableState = focusable; in setFocusable()
725 if ((focusable & (FOCUSABLE_AUTO | FOCUSABLE)) == 0) { in setFocusable()
729 super.setFocusable((!empty || isInFilterMode()) ? focusable : NOT_FOCUSABLE); in setFocusable()
733 public void setFocusableInTouchMode(boolean focusable) { in setFocusableInTouchMode() argument
737 mDesiredFocusableInTouchModeState = focusable; in setFocusableInTouchMode()
738 if (focusable) { in setFocusableInTouchMode()
742 super.setFocusableInTouchMode(focusable && (!empty || isInFilterMode())); in setFocusableInTouchMode()
748 final boolean focusable = !empty || isInFilterMode(); in checkFocus()
752 super.setFocusableInTouchMode(focusable && mDesiredFocusableInTouchModeState); in checkFocus()
[all …]
DZoomButtonsController.java300 public void setFocusable(boolean focusable) { in setFocusable() argument
302 if (focusable) { in setFocusable()
DPopupWindow.java395 public PopupWindow(View contentView, int width, int height, boolean focusable) { in PopupWindow() argument
404 setFocusable(focusable); in PopupWindow()
695 public void setFocusable(boolean focusable) { in setFocusable() argument
696 mFocusable = focusable; in setFocusable()
DTextView.java1642 int focusable = getFocusable();
1652 focusable = (val.type == TypedValue.TYPE_INT_BOOLEAN)
1673 if (focusable != getFocusable()) {
1674 setFocusable(focusable);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewFocusRecoveryTest.java865 void setFocusable(boolean focusable) { in setFocusable() argument
866 parent1.setFocusableInTouchMode(focusable); in setFocusable()
867 parent2.setFocusableInTouchMode(focusable); in setFocusable()
868 textView.setFocusableInTouchMode(focusable); in setFocusable()
869 root.setFocusableInTouchMode(focusable); in setFocusable()
871 parent1.setFocusable(focusable); in setFocusable()
872 parent2.setFocusable(focusable); in setFocusable()
873 textView.setFocusable(focusable); in setFocusable()
874 root.setFocusable(focusable); in setFocusable()
895 void setFocusable(boolean focusable) { in setFocusable() argument
[all …]
/frameworks/support/wear/tests/src/android/support/wear/widget/
DSwipeDismissPreferenceFragment.java87 public void setFocusable(boolean focusable) { in setFocusable() argument
88 if (focusable) { in setFocusable()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGuidedAction.java517 public B focusable(boolean focusable) { in focusable() method in GuidedAction.BuilderBase
518 setFlags(focusable ? PF_FOCUSABLE : 0, PF_FOCUSABLE); in focusable()
833 public void setFocusable(boolean focusable) { in setFocusable() argument
834 setFlags(focusable ? PF_FOCUSABLE : 0, PF_FOCUSABLE); in setFocusable()
/frameworks/support/core-ui/java/android/support/v4/widget/
DFocusStrategy.java170 final T focusable = collectionAdapter.get(focusables, i); in findNextFocusInAbsoluteDirection() local
171 if (focusable == focused) { in findNextFocusInAbsoluteDirection()
176 adapter.obtainBounds(focusable, focusableRect); in findNextFocusInAbsoluteDirection()
179 closest = focusable; in findNextFocusInAbsoluteDirection()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DGridWidgetTest.java2099 boolean[] focusable = new boolean[numItems]; in testNonFocusableHorizontal()
2100 for (int i = 0; i < focusable.length; i++) { in testNonFocusableHorizontal()
2101 focusable[i] = true; in testNonFocusableHorizontal()
2104 focusable[i] = false; in testNonFocusableHorizontal()
2106 intent.putExtra(GridActivity.EXTRA_ITEMS_FOCUSABLE, focusable); in testNonFocusableHorizontal()
2141 boolean[] focusable = new boolean[numItems]; in testNoInitialFocusable()
2144 focusable[i] = false; in testNoInitialFocusable()
2146 for (int i = firstFocusableIndex; i < focusable.length; i++) { in testNoInitialFocusable()
2147 focusable[i] = true; in testNoInitialFocusable()
2149 intent.putExtra(GridActivity.EXTRA_ITEMS_FOCUSABLE, focusable); in testNoInitialFocusable()
[all …]
DGridActivity.java453 boolean focusable = true;
455 focusable = mItemFocusables[position];
457 ((TextView) holder.itemView).setFocusable(focusable);
458 ((TextView) holder.itemView).setFocusableInTouchMode(focusable);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java596 void setInnerFocusable(boolean focusable) { in setInnerFocusable() argument
597 setFocusableInTouchMode(focusable); in setInnerFocusable()
598 setFocusable(focusable); in setInnerFocusable()
599 setCursorVisible(focusable); in setInnerFocusable()
601 if (focusable) { in setInnerFocusable()
/frameworks/base/core/java/android/view/
DFocusFinder.java348 View focusable = focusables.get(i); in findNextFocusInAbsoluteDirection() local
351 if (focusable == focused || focusable == root) continue; in findNextFocusInAbsoluteDirection()
354 focusable.getFocusedRect(mOtherRect); in findNextFocusInAbsoluteDirection()
355 root.offsetDescendantRectToMyCoords(focusable, mOtherRect); in findNextFocusInAbsoluteDirection()
359 closest = focusable; in findNextFocusInAbsoluteDirection()
DView.java9431 public void setFocusable(boolean focusable) { in setFocusable() argument
9432 setFocusable(focusable ? FOCUSABLE : NOT_FOCUSABLE); in setFocusable()
9449 public void setFocusable(@Focusable int focusable) { in setFocusable() argument
9450 if ((focusable & (FOCUSABLE_AUTO | FOCUSABLE)) == 0) { in setFocusable()
9453 setFlags(focusable, FOCUSABLE_MASK); in setFocusable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowManager.java282 public void setStatusBarFocusable(boolean focusable) { in setStatusBarFocusable() argument
283 mCurrentState.statusBarFocusable = focusable; in setStatusBarFocusable()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java357 boolean focusable = true; in SearchView()
358 focusable = a.getBoolean(R.styleable.SearchView_android_focusable, focusable); in SearchView()
359 setFocusable(focusable); in SearchView()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/wizard/
DGuidedStepAttributesTest.java426 .focusable(false) in testCheckedActions()
447 .focusable(false) in testCheckedActions()
/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);
Dcurrent.txt183 method public com.android.uiautomator.core.UiSelector focusable(boolean);
/frameworks/support/compat/java/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompat.java2625 public void setFocusable(boolean focusable) { in setFocusable() argument
2626 mInfo.setFocusable(focusable); in setFocusable()
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DGuidedStepActivity.java554 .focusable(false)
DGuidedStepSupportActivity.java557 .focusable(false)
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java1772 public void setFocusable(boolean focusable) { in setFocusable() argument
1773 setBooleanProperty(BOOLEAN_PROPERTY_FOCUSABLE, focusable); in setFocusable()

12