/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | RecyclerViewFocusRecoveryTest.java | 488 void setFocusable(boolean focusable) { in setFocusable() argument 489 parent1.setFocusableInTouchMode(focusable); in setFocusable() 490 parent2.setFocusableInTouchMode(focusable); in setFocusable() 491 textView.setFocusableInTouchMode(focusable); in setFocusable() 492 root.setFocusableInTouchMode(focusable); in setFocusable() 494 parent1.setFocusable(focusable); in setFocusable() 495 parent2.setFocusable(focusable); in setFocusable() 496 textView.setFocusable(focusable); in setFocusable() 497 root.setFocusable(focusable); in setFocusable() 518 void setFocusable(boolean focusable) { in setFocusable() argument [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | ListWithMailMessages.java | 82 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/ |
D | AdapterView.java | 712 public void setFocusable(boolean focusable) { in setFocusable() argument 716 mDesiredFocusableState = focusable; in setFocusable() 717 if (!focusable) { in setFocusable() 721 super.setFocusable(focusable && (!empty || isInFilterMode())); in setFocusable() 725 public void setFocusableInTouchMode(boolean focusable) { in setFocusableInTouchMode() argument 729 mDesiredFocusableInTouchModeState = focusable; in setFocusableInTouchMode() 730 if (focusable) { in setFocusableInTouchMode() 734 super.setFocusableInTouchMode(focusable && (!empty || isInFilterMode())); in setFocusableInTouchMode() 740 final boolean focusable = !empty || isInFilterMode(); in checkFocus() 744 super.setFocusableInTouchMode(focusable && mDesiredFocusableInTouchModeState); in checkFocus() [all …]
|
D | ZoomButtonsController.java | 297 public void setFocusable(boolean focusable) { in setFocusable() argument 299 if (focusable) { in setFocusable()
|
D | PopupWindow.java | 375 public PopupWindow(View contentView, int width, int height, boolean focusable) { in PopupWindow() argument 384 setFocusable(focusable); in PopupWindow() 676 public void setFocusable(boolean focusable) { in setFocusable() argument 677 mFocusable = focusable; in setFocusable()
|
D | SearchView.java | 360 boolean focusable = true; in SearchView() 361 focusable = a.getBoolean(R.styleable.SearchView_focusable, focusable); in SearchView() 362 setFocusable(focusable); in SearchView()
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/ |
D | GridWidgetTest.java | 1143 boolean[] focusable = new boolean[numItems]; in testNonFocusableHorizontal() 1144 for (int i = 0; i < focusable.length; i++) { in testNonFocusableHorizontal() 1145 focusable[i] = true; in testNonFocusableHorizontal() 1148 focusable[i] = false; in testNonFocusableHorizontal() 1150 intent.putExtra(GridActivity.EXTRA_ITEMS_FOCUSABLE, focusable); in testNonFocusableHorizontal() 1185 boolean[] focusable = new boolean[numItems]; in testNoInitialFocusable() 1188 focusable[i] = false; in testNoInitialFocusable() 1190 for (int i = firstFocusableIndex; i < focusable.length; i++) { in testNoInitialFocusable() 1191 focusable[i] = true; in testNoInitialFocusable() 1193 intent.putExtra(GridActivity.EXTRA_ITEMS_FOCUSABLE, focusable); in testNoInitialFocusable() [all …]
|
D | GridActivity.java | 417 boolean focusable = true; 419 focusable = mItemFocusables[position]; 421 ((TextView) holder.itemView).setFocusable(focusable); 422 ((TextView) holder.itemView).setFocusableInTouchMode(focusable);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | GuidedAction.java | 516 public B focusable(boolean focusable) { in focusable() method in GuidedAction.BuilderBase 517 setFlags(focusable ? PF_FOCUSABLE : 0, PF_FOCUSABLE); in focusable() 832 public void setFocusable(boolean focusable) { in setFocusable() argument 833 setFlags(focusable ? PF_FOCUSABLE : 0, PF_FOCUSABLE); in setFocusable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputView.java | 531 void setInnerFocusable(boolean focusable) { in setInnerFocusable() argument 532 setFocusableInTouchMode(focusable); in setInnerFocusable() 533 setFocusable(focusable); in setInnerFocusable() 534 setCursorVisible(focusable); in setInnerFocusable() 536 if (focusable) { in setInnerFocusable()
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | FocusStrategy.java | 170 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/base/core/java/android/view/ |
D | FocusFinder.java | 230 View focusable = focusables.get(i); in findNextFocusInAbsoluteDirection() local 233 if (focusable == focused || focusable == root) continue; in findNextFocusInAbsoluteDirection() 236 focusable.getFocusedRect(mOtherRect); in findNextFocusInAbsoluteDirection() 237 root.offsetDescendantRectToMyCoords(focusable, mOtherRect); in findNextFocusInAbsoluteDirection() 241 closest = focusable; in findNextFocusInAbsoluteDirection()
|
/frameworks/base/docs/html/training/accessibility/ |
D | accessible-app.jd | 102 the user should be able to navigate to need to be set as focusable. This 107 href="{@docRoot}reference/android/view/View.html#attr_android:focusable">{@code 108 android:focusable}</a> 130 focusable, such that pressing down takes you from the button to the text view, and 136 android:focusable="true" 140 android:focusable=”true”
|
/frameworks/support/compat/ics/android/support/v4/view/accessibility/ |
D | AccessibilityNodeInfoCompatIcs.java | 175 public static void setFocusable(Object info, boolean focusable) { in setFocusable() argument 176 ((AccessibilityNodeInfo) info).setFocusable(focusable); in setFocusable()
|
/frameworks/base/docs/html/training/keyboard-input/ |
D | navigation.jd | 53 and {@link android.widget.EditText}) are focusable. This means users can navigate with 76 <p>From each focusable element in your UI, press Up, Down, Left, and Right.</p> 98 for each of the focusable elements with the <a
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowManager.java | 276 public void setStatusBarFocusable(boolean focusable) { in setStatusBarFocusable() argument 277 mCurrentState.statusBarFocusable = focusable; in setStatusBarFocusable()
|
/frameworks/base/docs/html/guide/topics/ui/accessibility/ |
D | apps.jd | 159 <a href="{@docRoot}reference/android/view/View.html#attr_android:focusable"> 160 {@code android:focusable}</a> attribute is set to {@code true}. This setting allows users to focus 162 provided by the Android framework are focusable by default and visually indicate focus by changing 165 <p>Android provides several APIs that let you control whether a user interface control is focusable 174 <p>If a view is not focusable by default, you can make it focusable in your layout file by setting 175 the <a href="{@docRoot}reference/android/view/View.html#attr_android:focusable"> 176 {@code android:focusable}</a> attribute to {@code true} or by calling the its {@link 204 <p>The following example XML layout shows two focusable user interface elements where the 220 android:focusable=”true” 221 android:text="Hello, I am a focusable TextView"
|
D | checklist.jd | 68 <a href="{@docRoot}reference/android/view/View.html#attr_android:focusable">focusable</a>
|
/frameworks/base/docs/html/guide/topics/ui/controls/ |
D | text.jd | 173 href="{@docRoot}reference/android/view/View.html#attr_android:focusable">{@code 174 android:focusable}</a> fields. If any focusable fields are found following this one, the system 176 select Next to move to the next field. If there's no subsequent focusable field, the system applies
|
/frameworks/base/docs/html/training/tv/start/ |
D | navigation.jd | 66 relative position of focusable elements in your layouts. You should test the generated 174 Make sure to provide sufficient padding within the focusable and selectable controls so that the
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | ui-events.jd | 207 {@link android.view.View#isFocusableInTouchMode} is true will be focusable, such as text editing wi… 260 <p>If you'd like to declare a View as focusable in your UI (when it is traditionally not), 261 add the <code>android:focusable</code> XML attribute to the View, in your layout declaration. 263 as focusable while in Touch Mode with <code>android:focusableInTouchMode</code>.</p>
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | SearchView.java | 372 boolean focusable = true; in SearchView() 373 focusable = a.getBoolean(R.styleable.SearchView_android_focusable, focusable); in SearchView() 374 setFocusable(focusable); in SearchView()
|
/frameworks/support/compat/java/android/support/v4/view/accessibility/ |
D | AccessibilityNodeInfoCompat.java | 763 void setFocusable(Object info, boolean focusable); in setFocusable() argument 1125 public void setFocusable(Object info, boolean focusable) { in setFocusable() argument 1757 public void setFocusable(Object info, boolean focusable) { in setFocusable() argument 1758 AccessibilityNodeInfoCompatIcs.setFocusable(info, focusable); in setFocusable() 3293 public void setFocusable(boolean focusable) { in setFocusable() argument 3294 IMPL.setFocusable(mInfo, focusable); in setFocusable()
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/wizard/ |
D | GuidedStepAttributesTest.java | 339 .focusable(false) in testCheckedActions() 360 .focusable(false) in testCheckedActions()
|
/frameworks/base/docs/html-intl/intl/ru/guide/topics/ui/ |
D | ui-events.jd | 261 добавьте XML-атрибут <code>android:focusable</code> в объект View в объявлении макета.
|