/frameworks/native/libs/gui/include/gui/ |
D | WindowInfo.h | 141 enum class InputConfig : uint32_t { enum 144 static_cast<uint32_t>(os::InputConfig::DEFAULT), 146 static_cast<uint32_t>(os::InputConfig::NO_INPUT_CHANNEL), 148 static_cast<uint32_t>(os::InputConfig::NOT_VISIBLE), 150 static_cast<uint32_t>(os::InputConfig::NOT_FOCUSABLE), 152 static_cast<uint32_t>(os::InputConfig::NOT_TOUCHABLE), 154 static_cast<uint32_t>(os::InputConfig::PREVENT_SPLITTING), 156 static_cast<uint32_t>(os::InputConfig::DUPLICATE_TOUCH_TO_WALLPAPER), 158 static_cast<uint32_t>(os::InputConfig::IS_WALLPAPER), 160 static_cast<uint32_t>(os::InputConfig::PAUSE_DISPATCHING), [all …]
|
/frameworks/base/core/java/android/view/ |
D | InputWindowHandle.java | 28 import android.os.InputConfig; 56 InputConfig.DEFAULT, 57 InputConfig.NO_INPUT_CHANNEL, 58 InputConfig.NOT_FOCUSABLE, 59 InputConfig.NOT_TOUCHABLE, 60 InputConfig.PREVENT_SPLITTING, 61 InputConfig.DUPLICATE_TOUCH_TO_WALLPAPER, 62 InputConfig.IS_WALLPAPER, 63 InputConfig.PAUSE_DISPATCHING, 64 InputConfig.WATCH_OUTSIDE_TOUCH, [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | InputConfigAdapter.java | 19 import android.os.InputConfig; 51 InputConfig.NO_INPUT_CHANNEL, false /* inverted */), 54 InputConfig.DISABLE_USER_ACTIVITY, false /* inverted */), 57 InputConfig.SPY, false /* inverted */), 60 InputConfig.SENSITIVE_FOR_PRIVACY, false /* inverted */) 77 InputConfig.NOT_TOUCHABLE, false /* inverted */), 80 InputConfig.PREVENT_SPLITTING, true /* inverted */), 83 InputConfig.WATCH_OUTSIDE_TOUCH, false /* inverted */), 86 InputConfig.SLIPPERY, false /* inverted */) 100 | InputConfig.IS_WALLPAPER; in getMask() [all …]
|
D | InputWindowHandleWrapper.java | 23 import android.os.InputConfig; 72 return (mHandle.inputConfig & InputConfig.NOT_FOCUSABLE) == 0; in isFocusable() 76 return (mHandle.inputConfig & InputConfig.PAUSE_DISPATCHING) != 0; in isPaused() 80 return (mHandle.inputConfig & InputConfig.TRUSTED_OVERLAY) != 0; in isTrustedOverlay() 84 return (mHandle.inputConfig & InputConfig.DUPLICATE_TOUCH_TO_WALLPAPER) in hasWallpaper() 160 mHandle.setInputConfig(InputConfig.NOT_FOCUSABLE, !focusable); in setFocusable() 176 mHandle.setInputConfig(InputConfig.DUPLICATE_TOUCH_TO_WALLPAPER, in setHasWallpaper() 185 mHandle.setInputConfig(InputConfig.PAUSE_DISPATCHING, paused); in setPaused() 193 mHandle.setInputConfig(InputConfig.TRUSTED_OVERLAY, trustedOverlay); in setTrustedOverlay()
|
D | ActivityRecordInputSink.java | 21 import android.os.InputConfig; 92 mInputWindowHandleWrapper.setInputConfigMasked(InputConfig.NOT_TOUCHABLE, in getInputWindowHandleWrapper() 93 InputConfig.NOT_TOUCHABLE); in getInputWindowHandleWrapper() 96 mInputWindowHandleWrapper.setInputConfigMasked(0, InputConfig.NOT_TOUCHABLE); in getInputWindowHandleWrapper() 110 inputWindowHandle.inputConfig = InputConfig.NOT_FOCUSABLE | InputConfig.NO_INPUT_CHANNEL; in createInputWindowHandle()
|
D | InputConsumerImpl.java | 25 import android.os.InputConfig; 78 mWindowHandle.inputConfig = InputConfig.NOT_FOCUSABLE; in InputConsumerImpl()
|
D | AccessibilityWindowsPopulator.java | 32 import android.os.InputConfig; 165 final boolean visible = (window.inputConfig & InputConfig.NOT_VISIBLE) == 0; in onWindowInfosChangedInternal() 166 final boolean isNotClone = (window.inputConfig & InputConfig.CLONE) == 0; in onWindowInfosChangedInternal() 806 return (mInputConfig & InputConfig.TRUSTED_OVERLAY) != 0; in isTrustedOverlay() 813 return (mInputConfig & InputConfig.NOT_TOUCHABLE) == 0; in isTouchable() 895 & InputConfig.WATCH_OUTSIDE_TOUCH) != 0; in getWindowInfoForWindowlessWindows()
|
D | Letterbox.java | 29 import android.os.InputConfig; 329 mWindowHandle.inputConfig = InputConfig.NOT_FOCUSABLE | InputConfig.SLIPPERY; in InputInterceptor()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | HandwritingEventReceiverSurface.java | 22 import android.os.InputConfig; 57 InputConfig.NOT_FOCUSABLE in HandwritingEventReceiverSurface() 58 | InputConfig.NOT_TOUCHABLE in HandwritingEventReceiverSurface() 59 | InputConfig.SPY in HandwritingEventReceiverSurface() 60 | InputConfig.INTERCEPTS_STYLUS; in HandwritingEventReceiverSurface() 80 mWindowHandle.inputConfig &= ~InputConfig.SPY; in startIntercepting() 90 mWindowHandle.inputConfig |= InputConfig.NOT_TOUCHABLE; in setNotTouchable() 92 mWindowHandle.inputConfig &= ~InputConfig.NOT_TOUCHABLE; in setNotTouchable()
|
/frameworks/native/services/inputflinger/tests/ |
D | FakeWindows.h | 110 using InputConfig = gui::WindowInfo::InputConfig; variable 128 mInfo.setInputConfig(InputConfig::NOT_TOUCHABLE, !touchable); in setTouchable() 132 mInfo.setInputConfig(InputConfig::NOT_FOCUSABLE, !focusable); in setFocusable() 136 mInfo.setInputConfig(InputConfig::NOT_VISIBLE, !visible); in setVisible() 144 mInfo.setInputConfig(InputConfig::PAUSE_DISPATCHING, paused); in setPaused() 148 mInfo.setInputConfig(InputConfig::PREVENT_SPLITTING, preventSplitting); in setPreventSplitting() 152 mInfo.setInputConfig(InputConfig::SLIPPERY, slippery); in setSlippery() 156 mInfo.setInputConfig(InputConfig::WATCH_OUTSIDE_TOUCH, watchOutside); in setWatchOutsideTouch() 159 inline void setSpy(bool spy) { mInfo.setInputConfig(InputConfig::SPY, spy); } in setSpy() 168 mInfo.setInputConfig(InputConfig::SENSITIVE_FOR_PRIVACY, secure); in setSecure() [all …]
|
D | FakeWindows.cpp | 272 mInfo.inputConfig = InputConfig::DEFAULT; in FakeWindowHandle() 320 if (mInputReceiver == nullptr && mInfo.inputConfig.test(InputConfig::NO_INPUT_CHANNEL)) { in assertNoEvents()
|
/frameworks/base/core/java/android/window/ |
D | WindowInfosListenerForTest.java | 28 import android.os.InputConfig; 129 this.isTrustedOverlay = (inputConfig & InputConfig.TRUSTED_OVERLAY) != 0; in WindowInfo() 130 this.isVisible = (inputConfig & InputConfig.NOT_VISIBLE) == 0; in WindowInfo() 132 this.isTouchable = (inputConfig & InputConfig.NOT_TOUCHABLE) == 0; in WindowInfo() 133 this.isFocusable = (inputConfig & InputConfig.NOT_FOCUSABLE) == 0; in WindowInfo() 135 & InputConfig.PREVENT_SPLITTING) != 0; in WindowInfo() 137 & InputConfig.DUPLICATE_TOUCH_TO_WALLPAPER) != 0; in WindowInfo() 139 & InputConfig.WATCH_OUTSIDE_TOUCH) != 0; in WindowInfo()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | GestureMonitorSpyWindow.java | 22 import android.os.InputConfig; 65 mWindowHandle.inputConfig = InputConfig.NOT_FOCUSABLE | InputConfig.SPY; in GestureMonitorSpyWindow()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerSnapshotTest.cpp | 1172 gui::WindowInfo::InputConfig::TRUSTED_OVERLAY)); in TEST_F() 1230 gui::WindowInfo::InputConfig::SENSITIVE_FOR_PRIVACY)); in TEST_F() 1232 gui::WindowInfo::InputConfig::SENSITIVE_FOR_PRIVACY)); in TEST_F() 1234 gui::WindowInfo::InputConfig::SENSITIVE_FOR_PRIVACY)); in TEST_F() 1236 gui::WindowInfo::InputConfig::SENSITIVE_FOR_PRIVACY)); in TEST_F() 1238 gui::WindowInfo::InputConfig::SENSITIVE_FOR_PRIVACY)); in TEST_F() 1243 inputInfo.inputConfig |= gui::WindowInfo::InputConfig::SENSITIVE_FOR_PRIVACY; in TEST_F() 1249 gui::WindowInfo::InputConfig::SENSITIVE_FOR_PRIVACY)); in TEST_F() 1251 gui::WindowInfo::InputConfig::SENSITIVE_FOR_PRIVACY)); in TEST_F() 1253 gui::WindowInfo::InputConfig::SENSITIVE_FOR_PRIVACY)); in TEST_F() [all …]
|
/frameworks/native/libs/gui/ |
D | WindowInfo.cpp | 64 void WindowInfo::setInputConfig(ftl::Flags<InputConfig> config, bool value) { in setInputConfig() 77 return !inputConfig.test(InputConfig::PREVENT_SPLITTING); in supportsSplitTouch() 81 return inputConfig.test(InputConfig::SPY); in isSpy() 85 return inputConfig.test(InputConfig::INTERCEPTS_STYLUS); in interceptsStylus() 221 inputConfig = ftl::Flags<InputConfig>(inputConfigInt); in readFromParcel()
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerSnapshotBuilder.cpp | 198 if (snapshot.inputInfo.inputConfig.test(gui::WindowInfo::InputConfig::NO_INPUT_CHANNEL)) { in handleDropInputMode() 205 snapshot.inputInfo.inputConfig |= gui::WindowInfo::InputConfig::DROP_INPUT; in handleDropInputMode() 217 snapshot.inputInfo.inputConfig |= gui::WindowInfo::InputConfig::DROP_INPUT; in handleDropInputMode() 225 snapshot.inputInfo.inputConfig |= gui::WindowInfo::InputConfig::DROP_INPUT_IF_OBSCURED; in handleDropInputMode() 237 snapshot.inputInfo.inputConfig |= gui::WindowInfo::InputConfig::DROP_INPUT; in handleDropInputMode() 245 snapshot.inputInfo.inputConfig |= gui::WindowInfo::InputConfig::DROP_INPUT_IF_OBSCURED; in handleDropInputMode() 277 snapshot.inputInfo.setInputConfig(gui::WindowInfo::InputConfig::NOT_VISIBLE, !visibleForInput); in updateVisibility() 297 gui::WindowInfo::InputConfig::NO_INPUT_CHANNEL); in needsInputInfo() 1050 using InputConfig = gui::WindowInfo::InputConfig; in updateInput() typedef 1082 parentSnapshot.inputInfo.inputConfig.test(InputConfig::SENSITIVE_FOR_PRIVACY)) { in updateInput() [all …]
|
/frameworks/native/libs/input/android/os/ |
D | InputConfig.aidl | 25 enum InputConfig { enum
|
/frameworks/native/services/surfaceflinger/ |
D | LayerProtoHelper.cpp | 203 using InputConfig = gui::WindowInfo::InputConfig; in writeToProto() typedef 204 proto->set_visible(!inputInfo.inputConfig.test(InputConfig::NOT_VISIBLE)); in writeToProto() 205 proto->set_focusable(!inputInfo.inputConfig.test(InputConfig::NOT_FOCUSABLE)); in writeToProto() 206 proto->set_has_wallpaper(inputInfo.inputConfig.test(InputConfig::DUPLICATE_TOUCH_TO_WALLPAPER)); in writeToProto()
|
/frameworks/native/libs/gui/tests/ |
D | EndToEndNativeInputTest.cpp | 115 mInputInfo.setInputConfig(WindowInfo::InputConfig::NO_INPUT_CHANNEL, true); in InputSurface() 844 nonTouchableSurface->mInputInfo.setInputConfig(WindowInfo::InputConfig::NOT_TOUCHABLE, true); in TEST_F() 864 nonTouchableSurface->mInputInfo.setInputConfig(WindowInfo::InputConfig::NOT_TOUCHABLE, true); in TEST_F() 865 parentSurface->mInputInfo.setInputConfig(WindowInfo::InputConfig::NOT_TOUCHABLE, true); in TEST_F() 888 nonTouchableSurface->mInputInfo.setInputConfig(WindowInfo::InputConfig::NOT_TOUCHABLE, true); in TEST_F() 889 parentSurface->mInputInfo.setInputConfig(WindowInfo::InputConfig::NOT_TOUCHABLE, true); in TEST_F() 909 bufferSurface->mInputInfo.setInputConfig(WindowInfo::InputConfig::NOT_TOUCHABLE, true); in TEST_F() 924 bufferSurface->mInputInfo.setInputConfig(WindowInfo::InputConfig::NOT_TOUCHABLE, true); in TEST_F() 973 obscuringSurface->mInputInfo.setInputConfig(WindowInfo::InputConfig::NOT_TOUCHABLE, true); in TEST_F() 992 obscuringSurface->mInputInfo.setInputConfig(WindowInfo::InputConfig::NOT_TOUCHABLE, true); in TEST_F()
|
D | WindowInfo_test.cpp | 66 i.inputConfig = WindowInfo::InputConfig::NOT_FOCUSABLE; in TEST()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | FocusResolver.cpp | 168 if (!window->getInfo()->inputConfig.test(gui::WindowInfo::InputConfig::NOT_VISIBLE)) { in isTokenFocusable() 172 if (window->getInfo()->inputConfig.test(gui::WindowInfo::InputConfig::NOT_FOCUSABLE)) { in isTokenFocusable()
|
D | TouchState.cpp | 205 WindowInfo::InputConfig::SLIPPERY)) { in isSlippery() 220 gui::WindowInfo::InputConfig::IS_WALLPAPER)) { in getWallpaperWindow()
|
D | InputDispatcher.cpp | 580 inputConfig.test(WindowInfo::InputConfig::NOT_VISIBLE)) { in windowAcceptsTouchAt() 584 if (inputConfig.test(WindowInfo::InputConfig::NOT_TOUCHABLE) && !windowCanInterceptTouch) { in windowAcceptsTouchAt() 628 return !info.inputConfig.test(gui::WindowInfo::InputConfig::NOT_TOUCHABLE) && !info.isSpy(); in canReceiveForegroundTouches() 769 WindowInfo::InputConfig::TRUSTED_OVERLAY)) { in filterUntrustedTargets() 805 gui::WindowInfo::InputConfig::IS_WALLPAPER)) { in shouldSplitTouch() 1454 if (info.inputConfig.test(WindowInfo::InputConfig::WATCH_OUTSIDE_TOUCH)) { in findOutsideTargetsLocked() 2332 WindowInfo::InputConfig::PAUSE_DISPATCHING)) { in findFocusedWindowTargetLocked() 2560 gui::WindowInfo::InputConfig::DUPLICATE_TOUCH_TO_WALLPAPER)) { in findTouchedWindowTargetsLocked() 3098 if (otherInfo->inputConfig.test(WindowInfo::InputConfig::NOT_VISIBLE)) { in canBeObscuredBy() 3101 otherInfo->inputConfig.test(WindowInfo::InputConfig::NOT_TOUCHABLE)) { in canBeObscuredBy() [all …]
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Credentials_test.cpp | 376 return !foundWindowInfo->inputConfig.test(WindowInfo::InputConfig::TRUSTED_OVERLAY); in TEST_F() 392 return foundWindowInfo->inputConfig.test(WindowInfo::InputConfig::TRUSTED_OVERLAY); in TEST_F()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowManagerServiceTests.java | 83 import android.os.InputConfig; 1180 argThat(h -> (h.inputConfig & InputConfig.SPY) == InputConfig.SPY)); in testGrantInputChannel_allowSpyWindowForInputMonitorPermission() 1199 argThat(h -> (h.inputConfig & InputConfig.SPY) == 0)); in testUpdateInputChannel_sanitizeSpyWindowForApplications() 1223 argThat(h -> (h.inputConfig & InputConfig.SPY) == 0)); in testUpdateInputChannel_allowSpyWindowForInputMonitorPermission() 1230 argThat(h -> (h.inputConfig & InputConfig.SPY) == InputConfig.SPY)); in testUpdateInputChannel_allowSpyWindowForInputMonitorPermission() 1250 argThat(h -> (h.inputConfig & InputConfig.SENSITIVE_FOR_PRIVACY) == 0)); in testUpdateInputChannel_sanitizeInputFeatureSensitive_forUntrustedWindows() 1258 argThat(h -> (h.inputConfig & InputConfig.SENSITIVE_FOR_PRIVACY) != 0)); in testUpdateInputChannel_sanitizeInputFeatureSensitive_forUntrustedWindows()
|