Home
last modified time | relevance | path

Searched refs:inputConfig (Results 1 – 21 of 21) sorted by relevance

/aosp14/frameworks/base/core/java/android/view/
H A DInputWindowHandle.java122 public int inputConfig; field in InputWindowHandle
194 inputConfig = other.inputConfig; in InputWindowHandle()
219 .append(", isClone=").append((inputConfig & InputConfig.CLONE) != 0) in toString()
274 public void setInputConfig(@InputConfigFlags int inputConfig, boolean value) { in setInputConfig() argument
276 this.inputConfig |= inputConfig; in setInputConfig()
279 this.inputConfig &= ~inputConfig; in setInputConfig()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DInputWindowHandleWrapper.java73 return (mHandle.inputConfig & InputConfig.NOT_FOCUSABLE) == 0; in isFocusable()
77 return (mHandle.inputConfig & InputConfig.PAUSE_DISPATCHING) != 0; in isPaused()
81 return (mHandle.inputConfig & InputConfig.TRUSTED_OVERLAY) != 0; in isTrustedOverlay()
85 return (mHandle.inputConfig & InputConfig.DUPLICATE_TOUCH_TO_WALLPAPER) in hasWallpaper()
282 void setInputConfigMasked(@InputConfigFlags int inputConfig, @InputConfigFlags int mask) { in setInputConfigMasked() argument
283 final int inputConfigMasked = inputConfig & mask; in setInputConfigMasked()
284 if (inputConfigMasked == (mHandle.inputConfig & mask)) { in setInputConfigMasked()
287 mHandle.inputConfig &= ~mask; in setInputConfigMasked()
288 mHandle.inputConfig |= inputConfigMasked; in setInputConfigMasked()
H A DInputConfigAdapter.java38 FlagMapping(int flag, int inputConfig, boolean inverted) { in FlagMapping() argument
40 mInputConfig = inputConfig; in FlagMapping()
120 int inputConfig = 0; in applyMapping() local
124 inputConfig |= mapping.mInputConfig; in applyMapping()
127 return inputConfig; in applyMapping()
H A DActivityRecordInputSink.java109 inputWindowHandle.inputConfig = InputConfig.NOT_FOCUSABLE | InputConfig.NO_INPUT_CHANNEL; in createInputWindowHandle()
H A DInputConsumerImpl.java77 mWindowHandle.inputConfig = InputConfig.NOT_FOCUSABLE | InputConfig.TRUSTED_OVERLAY; in InputConsumerImpl()
H A DAccessibilityWindowsPopulator.java161 final boolean visible = (window.inputConfig & InputConfig.NOT_VISIBLE) == 0; in onWindowInfosChangedInternal()
162 final boolean isNotClone = (window.inputConfig & InputConfig.CLONE) == 0; in onWindowInfosChangedInternal()
683 instance.mInputConfig = inputWindowHandle.inputConfig; in initializeData()
H A DInputMonitor.java230 consumer.mWindowHandle.inputConfig |= InputConfig.DUPLICATE_TOUCH_TO_WALLPAPER; in createInputConsumer()
236 consumer.mWindowHandle.inputConfig &= ~InputConfig.NOT_FOCUSABLE; in createInputConsumer()
H A DLetterbox.java319 mWindowHandle.inputConfig = InputConfig.NOT_FOCUSABLE | InputConfig.SLIPPERY; in InputInterceptor()
H A DTaskPositioner.java231 mDragWindowHandle.inputConfig = InputConfig.NOT_FOCUSABLE; in register()
H A DDragState.java383 mDragWindowHandle.inputConfig = InputConfig.TRUSTED_OVERLAY; in InputInterceptor()
H A DWindowManagerService.java8841 h.inputConfig = InputConfigAdapter.getInputConfigFromWindowParams( in updateInputChannel()
8846 h.inputConfig |= InputConfig.NOT_FOCUSABLE; in updateInputChannel()
8851 h.inputConfig |= InputConfig.TRUSTED_OVERLAY; in updateInputChannel()
/aosp14/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraDeviceImpl.java448 checkInputConfiguration(inputConfig); in configureStreamsChecked()
485 (inputConfig == null || !inputConfig.equals(currentInputConfig))) { in configureStreamsChecked()
491 if (inputConfig != null) { in configureStreamsChecked()
493 inputConfig.getHeight(), inputConfig.getFormat(), in configureStreamsChecked()
592 if (inputConfig == null) { in createReprocessableCaptureSession()
614 if (inputConfig == null) { in createReprocessableCaptureSessionByConfigurations()
1471 int inputFormat = inputConfig.getFormat(); in checkInputConfigurationWithStreamConfigurationsAs()
1534 if (inputConfig == null) { in checkInputConfiguration()
1537 int inputFormat = inputConfig.getFormat(); in checkInputConfiguration()
1538 if (inputConfig.isMultiResolution()) { in checkInputConfiguration()
[all …]
/aosp14/frameworks/base/core/java/android/window/
H A DWindowInfosListenerForTest.java84 @NonNull Rect bounds, int inputConfig) { in WindowInfo() argument
89 this.isTrustedOverlay = (inputConfig & InputConfig.TRUSTED_OVERLAY) != 0; in WindowInfo()
90 this.isVisible = (inputConfig & InputConfig.NOT_VISIBLE) == 0; in WindowInfo()
176 bounds, handle.inputConfig)); in buildWindowInfos()
/aosp14/frameworks/base/core/jni/
H A Dandroid_hardware_input_InputWindowHandle.cpp71 jfieldID inputConfig; member
161 mInfo.inputConfig = static_cast<gui::WindowInfo::InputConfig>( in updateInfo()
162 env->GetIntField(obj, gInputWindowHandleClassInfo.inputConfig)); in updateInfo()
318 const auto inputConfig = windowInfo.inputConfig.get(); in android_view_InputWindowHandle_fromWindowInfo() local
319 static_assert(sizeof(inputConfig) == sizeof(int32_t)); in android_view_InputWindowHandle_fromWindowInfo()
320 env->SetIntField(inputWindowHandle, gInputWindowHandleClassInfo.inputConfig, in android_view_InputWindowHandle_fromWindowInfo()
321 static_cast<int32_t>(inputConfig)); in android_view_InputWindowHandle_fromWindowInfo()
435 GET_FIELD_ID(gInputWindowHandleClassInfo.inputConfig, clazz, "inputConfig", "I"); in register_android_view_InputWindowHandle()
/aosp14/frameworks/base/core/java/android/hardware/camera2/
H A DCameraDevice.java295 public abstract void createReprocessableCaptureSession(@NonNull InputConfiguration inputConfig, in createReprocessableCaptureSession() argument
313 @NonNull InputConfiguration inputConfig, in createReprocessableCaptureSessionByConfigurations()
492 InputConfiguration inputConfig, in createCustomCaptureSession() argument
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/
H A DHandwritingEventReceiverSurface.java56 mWindowHandle.inputConfig = in HandwritingEventReceiverSurface()
80 mWindowHandle.inputConfig &= ~InputConfig.SPY; in startIntercepting()
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCamera2ReprocessCaptureTest.java887 InputConfiguration inputConfig = new InputConfiguration(mFirstImageReader.getWidth(), in setupReprocessableSession() local
889 String inputConfigString = inputConfig.toString(); in setupReprocessableSession()
894 inputConfig.getWidth(), inputConfig.getHeight(), inputConfig.getFormat(), in setupReprocessableSession()
897 inputConfig.getWidth() == mFirstImageReader.getWidth() && in setupReprocessableSession()
898 inputConfig.getHeight() == mFirstImageReader.getHeight() && in setupReprocessableSession()
899 inputConfig.getFormat() == mFirstImageReader.getImageFormat()); in setupReprocessableSession()
902 mSession = configureReprocessableCameraSession(mCamera, inputConfig, outSurfaces, in setupReprocessableSession()
/aosp14/frameworks/base/services/core/java/com/android/server/input/
H A DGestureMonitorSpyWindow.java65 mWindowHandle.inputConfig = in GestureMonitorSpyWindow()
/aosp14/frameworks/base/media/jni/audioeffect/
H A DVisualizer.cpp420 audio_config_base_t inputConfig, outputConfig; in initSampleRate() local
421 status_t status = getConfigs(&inputConfig, &outputConfig); in initSampleRate()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowManagerServiceTests.java912 argThat(h -> (h.inputConfig & InputConfig.SPY) == InputConfig.SPY)); in testGrantInputChannel_allowSpyWindowForInputMonitorPermission()
933 argThat(h -> (h.inputConfig & InputConfig.SPY) == 0)); in testUpdateInputChannel_sanitizeSpyWindowForApplications()
959 argThat(h -> (h.inputConfig & InputConfig.SPY) == 0)); in testUpdateInputChannel_allowSpyWindowForInputMonitorPermission()
966 argThat(h -> (h.inputConfig & InputConfig.SPY) == InputConfig.SPY)); in testUpdateInputChannel_allowSpyWindowForInputMonitorPermission()
H A DWindowStateTests.java882 assertTrue(testFlag(handle.inputConfig, InputConfig.WATCH_OUTSIDE_TOUCH)); in testUpdateInputWindowHandle()
883 assertFalse(testFlag(handle.inputConfig, InputConfig.PREVENT_SPLITTING)); in testUpdateInputWindowHandle()
884 assertTrue(testFlag(handle.inputConfig, InputConfig.DISABLE_USER_ACTIVITY)); in testUpdateInputWindowHandle()
921 assertTrue(testFlag(handle.inputConfig, InputConfig.NO_INPUT_CHANNEL)); in testUpdateInputWindowHandle()