Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/wm/
DInputWindowHandleWrapper.java67 return mHandle.focusable; in isFocusable()
146 void setFocusable(boolean focusable) { in setFocusable() argument
147 if (mHandle.focusable == focusable) { in setFocusable()
150 mHandle.focusable = focusable; in setFocusable()
DInputMonitor.java260 consumer.mWindowHandle.focusable = true; in createInputConsumer()
282 final boolean focusable = w.canReceiveKeys() in populateInputWindowHandle()
284 inputWindowHandle.setFocusable(focusable); in populateInputWindowHandle()
DInputConsumerImpl.java76 mWindowHandle.focusable = false; in InputConsumerImpl()
DTaskPositioner.java240 mDragWindowHandle.focusable = false; in register()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListWithMailMessages.java83 public MailMessage(String subject, String body, boolean focusable) { in MailMessage() argument
86 mFocusable = focusable; in MailMessage()
110 public void setFocusable(boolean focusable) { in setFocusable() argument
111 mFocusable = focusable; in setFocusable()
/frameworks/base/core/java/android/widget/
DAdapterView.java732 public void setFocusable(@Focusable int focusable) { in setFocusable() argument
736 mDesiredFocusableState = focusable; in setFocusable()
737 if ((focusable & (FOCUSABLE_AUTO | FOCUSABLE)) == 0) { in setFocusable()
741 super.setFocusable((!empty || isInFilterMode()) ? focusable : NOT_FOCUSABLE); in setFocusable()
745 public void setFocusableInTouchMode(boolean focusable) { in setFocusableInTouchMode() argument
749 mDesiredFocusableInTouchModeState = focusable; in setFocusableInTouchMode()
750 if (focusable) { in setFocusableInTouchMode()
754 super.setFocusableInTouchMode(focusable && (!empty || isInFilterMode())); in setFocusableInTouchMode()
760 final boolean focusable = !empty || isInFilterMode(); in checkFocus()
764 super.setFocusableInTouchMode(focusable && mDesiredFocusableInTouchModeState); in checkFocus()
[all …]
DZoomButtonsController.java300 public void setFocusable(boolean focusable) { in setFocusable() argument
302 if (focusable) { in setFocusable()
DPopupWindow.java418 public PopupWindow(View contentView, int width, int height, boolean focusable) { in PopupWindow() argument
427 setFocusable(focusable); in PopupWindow()
736 public void setFocusable(boolean focusable) { in setFocusable() argument
737 mFocusable = focusable; in setFocusable()
/frameworks/native/services/inputflinger/tests/
DFocusResolver_test.cpp33 FakeWindowHandle(const std::string& name, const sp<IBinder>& token, bool focusable, in FakeWindowHandle() argument
38 mInfo.focusable = focusable; in FakeWindowHandle()
42 void setFocusable(bool focusable) { mInfo.focusable = focusable; } in setFocusable() argument
/frameworks/native/libs/input/tests/
DInputWindow_test.cpp61 i.focusable = false; in TEST()
99 ASSERT_EQ(i.focusable, i2.focusable); in TEST()
/frameworks/native/libs/input/
DInputWindow.cpp63 info.trustedOverlay == trustedOverlay && info.focusable == focusable && in operator ==()
106 parcel->writeBool(focusable) ?: in writeToParcel()
162 parcel->readBool(&focusable) ?: in readFromParcel()
/frameworks/base/core/jni/
Dandroid_hardware_input_InputWindowHandle.cpp59 jfieldID focusable; member
149 mInfo.focusable = env->GetBooleanField(obj, gInputWindowHandleClassInfo.focusable); in updateInfo()
324 GET_FIELD_ID(gInputWindowHandleClassInfo.focusable, clazz, "focusable", "Z"); in register_android_view_InputWindowHandle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShadeWindowController.java82 default void setNotificationShadeFocusable(boolean focusable) {} in setNotificationShadeFocusable() argument
/frameworks/base/core/java/android/view/
DFocusFinder.java361 View focusable = focusables.get(i); in findNextFocusInAbsoluteDirection() local
364 if (focusable == focused || focusable == root) continue; in findNextFocusInAbsoluteDirection()
367 focusable.getFocusedRect(mOtherRect); in findNextFocusInAbsoluteDirection()
368 root.offsetDescendantRectToMyCoords(focusable, mOtherRect); in findNextFocusInAbsoluteDirection()
372 closest = focusable; in findNextFocusInAbsoluteDirection()
DInputWindowHandle.java75 public boolean focusable; field in InputWindowHandle
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java1046 void setInnerFocusable(boolean focusable) { in setInnerFocusable() argument
1047 setFocusableInTouchMode(focusable); in setInnerFocusable()
1048 setFocusable(focusable); in setInnerFocusable()
1049 setCursorVisible(focusable); in setInnerFocusable()
1051 if (focusable) { in setInnerFocusable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotController.java978 private void setWindowFocusable(boolean focusable) { in setWindowFocusable() argument
980 Log.d(TAG, "setWindowFocusable: " + focusable); in setWindowFocusable()
983 if (focusable) { in setWindowFocusable()
990 Log.d(TAG, "setWindowFocusable: skipping, already " + focusable); in setWindowFocusable()
/frameworks/native/include/input/
DInputWindow.h181 bool focusable = false; member
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DFaceAuthScreenBrightnessController.kt167 whiteOverlay.focusable = FLAG_NOT_FOCUSABLE in attach()
/frameworks/native/services/inputflinger/dispatcher/
DFocusResolver.cpp152 if (!window->getInfo()->focusable) { in isTokenFocusable()
/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.cpp150 proto->set_focusable(inputInfo.focusable); in writeToProto()
/frameworks/base/core/java/android/window/
DWindowContainerTransaction.java209 @NonNull WindowContainerToken container, boolean focusable) { in setFocusable() argument
211 chg.mFocusable = focusable; in setFocusable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationShadeWindowControllerImpl.java534 public void setNotificationShadeFocusable(boolean focusable) { in setNotificationShadeFocusable() argument
535 mCurrentState.mNotificationShadeFocusable = focusable; in setNotificationShadeFocusable()
/frameworks/native/services/inputflinger/benchmarks/
DInputDispatcher_benchmarks.cpp201 mInfo.focusable = true; in updateInfo()
/frameworks/native/services/surfaceflinger/layerproto/
Dlayers.proto202 bool focusable = 8; field

12