/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPopupWindow.java | 22 private boolean focusable; field in class:ShadowPopupWindow 38 public void __constructor__(View contentView, int width, int height, boolean focusable) { 42 this.focusable = focusable; 77 public void setFocusable(boolean focusable) { 78 this.focusable = focusable; 83 return focusable;
|
ShadowEditText.java | 20 focusable = true;
|
ShadowView.java | 67 protected boolean focusable; field in class:ShadowView 130 * Also sets focusable in touch mode to false if {@code focusable} is false, which is the Android behavior. 132 * @param focusable the new status of the {@code View}'s focusability 135 public void setFocusable(boolean focusable) { 136 this.focusable = focusable; 137 if (!focusable) { 148 * Also sets focusable to true if {@code focusableInTouchMode} is true, which is the Android behavior. 167 return focusable; [all...] |
/packages/apps/TV/src/com/android/tv/guide/ |
GuideUtils.java | 74 View focusable = focusables.get(i); local 75 if (focusable instanceof ProgramItemView 76 && isCurrentProgram((ProgramItemView) focusable)) { 77 return focusable; 82 // Find the largest focusable among fully overlapped focusables. 87 View focusable = focusables.get(i); local 89 focusable.getGlobalVisibleRect(focusableRect); 91 // the old focused range is fully inside the focusable, return directly. 92 return focusable; 95 // the focusable is fully inside the old focused range, choose the widest one [all...] |
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
AudioFocusHelper.java | 34 public AudioFocusHelper(Context ctx, MusicFocusable focusable) { 36 mFocusable = focusable;
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
ListWithMailMessages.java | 82 public MailMessage(String subject, String body, boolean focusable) { 85 mFocusable = focusable; 109 public void setFocusable(boolean focusable) { 110 mFocusable = focusable;
|
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/ |
SwipeDismissPreferenceFragment.java | 85 * Sets whether or not the preferences list can be focused. If {@code focusable} is false, any 88 public void setFocusable(boolean focusable) { 89 if (focusable) {
|
/packages/apps/TV/src/com/android/tv/ui/ |
GuidedActionsStylistWithDivider.java | 57 .focusable(false)
|
/cts/tests/tests/toast/src/android/widget/toast/cts/ |
BaseToastTest.java | 71 protected void showToastsViaAddingWindow(int count, boolean focusable) throws Exception { 82 if (!focusable) {
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/ |
CameraPreview.java | 139 public void setFocusable(boolean focusable) { 140 host.getView().setOnTouchListener(focusable ? listener : null);
|
/frameworks/base/core/java/android/widget/ |
AdapterView.java | 212 * Indicates what focusable state is requested when calling setFocusable(). 214 * determining the focusable state (such as whether its empty or the text 720 public void setFocusable(@Focusable int focusable) { 724 mDesiredFocusableState = focusable; 725 if ((focusable & (FOCUSABLE_AUTO | FOCUSABLE)) == 0) { 729 super.setFocusable((!empty || isInFilterMode()) ? focusable : NOT_FOCUSABLE); 733 public void setFocusableInTouchMode(boolean focusable) { 737 mDesiredFocusableInTouchModeState = focusable; [all...] |
ZoomButtonsController.java | 44 * - This window is never touchable, and by default is not focusable. 52 * - When it is focusable, it forwards uninteresting events to the owner view's 294 * Sets whether the zoom controls should be focusable. If the controls are 295 * focusable, then trackball and arrow key interactions are possible. 298 * @param focusable Whether the zoom controls should be focusable. 300 public void setFocusable(boolean focusable) { 302 if (focusable) {
|
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/ |
RemoteInputView.java | 294 * An EditText that changes appearance based on whether it's focusable and becomes un-focusable 405 void setInnerFocusable(boolean focusable) { 406 setFocusableInTouchMode(focusable); 407 setFocusable(focusable); 408 setCursorVisible(focusable); 410 if (focusable) {
|
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/dvr/ |
DvrLibraryTest.java | 67 By.focusable(true) 124 By.focusable(true) 128 By.focusable(true) 139 By.focusable(true) 285 controller.assertWaitUntilFocused(By.focusable(true).hasDescendant(By.text(programName)));
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
RecyclerViewFocusRecoveryTest.java | 303 assertThat("VH should no longer be focusable", newVh.getViewToFocus().isFocusable(), 354 assertThat("RV should always be focusable", mRecyclerView.isFocusable(), is(true)); 471 assertThat("RV's first child should be focusable", fvh.getViewToFocus().isFocusable(), [all...] |
/packages/apps/TV/partner_support/samples/src/com/example/partnersupportsampletvinput/ |
ChannelScanFragment.java | 122 .focusable(false) 134 .focusable(false) 256 .focusable(false)
|
ResultFragment.java | 50 .focusable(false)
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
GuidedAction.java | 122 * editable, or the action is focusable. 517 * @param focusable 520 public B focusable(boolean focusable) { method in class:GuidedAction.BuilderBase 521 setFlags(focusable ? PF_FOCUSABLE : 0, PF_FOCUSABLE); 835 * Returns whether this action is focusable. 836 * @return true if the action is currently focusable, false otherwise. 843 * Sets whether this action is focusable. 844 * @param focusable Whether this action should be focusable [all...] |
/frameworks/support/customview/src/main/java/androidx/customview/widget/ |
FocusStrategy.java | 63 // The position of the next focusable item, which is the first item if 78 // The position of the previous focusable item, which is the last item 170 final T focusable = collectionAdapter.get(focusables, i); local 171 if (focusable == focused) { 176 adapter.obtainBounds(focusable, focusableRect); 179 closest = focusable;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
RemoteInputView.java | 484 * An EditText that changes appearance based on whether it's focusable and becomes 485 * un-focusable whenever the user navigates away from it or it becomes invisible. 615 void setInnerFocusable(boolean focusable) { 616 setFocusableInTouchMode(focusable); 617 setFocusable(focusable); 618 setCursorVisible(focusable); 620 if (focusable) {
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
GridActivity.java | 457 boolean focusable = true; 459 focusable = mItemFocusables[position]; 461 ((TextView) holder.itemView).setFocusable(focusable); 462 ((TextView) holder.itemView).setFocusableInTouchMode(focusable);
|
GridWidgetTest.java | [all...] |
/frameworks/base/core/java/android/view/ |
FocusFinder.java | 35 * The algorithm used for finding the next focusable view in a given direction 77 * @return The next focusable view, or null if none exists. 89 * @return The next focusable view, or null if none exists. 210 // are currently focusable. 358 View focusable = focusables.get(i); local 361 if (focusable == focused || focusable == root) continue; 364 focusable.getFocusedRect(mOtherRect); 365 root.offsetDescendantRectToMyCoords(focusable, mOtherRect); 369 closest = focusable; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
StatusBarWindowManager.java | 318 public void setStatusBarFocusable(boolean focusable) { 319 mCurrentState.statusBarFocusable = focusable;
|
/packages/apps/TV/src/com/android/tv/onboarding/ |
SetupSourcesFragment.java | 276 .focusable(false) 288 .focusable(false)
|