Home
last modified time | relevance | path

Searched refs:InputWindowHandle (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/native/services/inputflinger/dispatcher/
DTouchState.h25 class InputWindowHandle; variable
40 std::vector<sp<android::InputWindowHandle>> portalWindows;
48 void addOrUpdateWindow(const sp<android::InputWindowHandle>& windowHandle, int32_t targetFlags,
50 void addPortalWindow(const sp<android::InputWindowHandle>& windowHandle);
52 void removeWindow(const sp<android::InputWindowHandle>& windowHandle);
56 sp<InputWindowHandle> getFirstForegroundWindowHandle() const;
DInputDispatcher.h99 const std::vector<sp<InputWindowHandle>>& inputWindowHandles, int32_t displayId,
170 sp<InputWindowHandle> findTouchedWindowAtLocked(int32_t displayId, int32_t x, int32_t y,
254 std::unordered_map<int32_t, std::vector<sp<InputWindowHandle>>> mWindowHandlesByDisplay
257 std::vector<sp<InputWindowHandle>> getWindowHandlesLocked(int32_t displayId) const
259 sp<InputWindowHandle> getWindowHandleLocked(const sp<IBinder>& windowHandleToken) const
262 bool hasWindowHandleLocked(const sp<InputWindowHandle>& windowHandle) const REQUIRES(mLock);
265 std::unordered_map<int32_t, sp<InputWindowHandle>> mFocusedWindowHandlesByDisplay
309 sp<InputWindowHandle> mLastHoverWindowHandle GUARDED_BY(mLock);
314 const sp<InputWindowHandle>& windowHandle,
335 int32_t displayId, const std::vector<sp<InputWindowHandle>>& portalWindows)
[all …]
DTouchState.cpp23 using android::InputWindowHandle;
54 void TouchState::addOrUpdateWindow(const sp<InputWindowHandle>& windowHandle, int32_t targetFlags, in addOrUpdateWindow()
79 void TouchState::addPortalWindow(const sp<InputWindowHandle>& windowHandle) { in addPortalWindow()
96 void TouchState::removeWindow(const sp<InputWindowHandle>& windowHandle) { in removeWindow()
133 sp<InputWindowHandle> TouchState::getFirstForegroundWindowHandle() const { in getFirstForegroundWindowHandle()
DTouchedWindow.h22 class InputWindowHandle; variable
28 sp<android::InputWindowHandle> windowHandle;
DInputDispatcher.cpp465 sp<InputWindowHandle> touchedWindowHandle = in enqueueInboundEventLocked()
491 sp<InputWindowHandle> InputDispatcher::findTouchedWindowAtLocked(int32_t displayId, int32_t x, in findTouchedWindowAtLocked()
495 const std::vector<sp<InputWindowHandle>> windowHandles = getWindowHandlesLocked(displayId); in findTouchedWindowAtLocked()
496 for (const sp<InputWindowHandle>& windowHandle : windowHandles) { in findTouchedWindowAtLocked()
534 int32_t displayId, const std::vector<sp<InputWindowHandle>>& portalWindows) { in findTouchedGestureMonitorsLocked()
539 for (const sp<InputWindowHandle>& portalWindow : portalWindows) { in findTouchedGestureMonitorsLocked()
826 sp<InputWindowHandle> focusedWindowHandle = in dispatchKeyLocked()
1024 const sp<InputWindowHandle>& windowHandle, nsecs_t* nextWakeupTime, const char* reason) { in handleTargetsNotReadyLocked()
1176 sp<InputWindowHandle> focusedWindowHandle = in findFocusedWindowTargetsLocked()
1258 sp<InputWindowHandle> newHoverWindowHandle; in findTouchedWindowTargetsLocked()
[all …]
/frameworks/native/libs/input/
DInputWindow.cpp156 InputWindowHandle::InputWindowHandle() { in InputWindowHandle() function in android::InputWindowHandle
159 InputWindowHandle::~InputWindowHandle() { in ~InputWindowHandle()
162 void InputWindowHandle::releaseChannel() { in releaseChannel()
166 sp<IBinder> InputWindowHandle::getToken() const { in getToken()
170 void InputWindowHandle::updateFrom(sp<InputWindowHandle> handle) { in updateFrom()
/frameworks/native/services/inputflinger/
DInputManager.cpp97 class BinderWindowHandle : public InputWindowHandle {
110 std::unordered_map<int32_t, std::vector<sp<InputWindowHandle>>> handlesPerDisplay; in setInputWindows()
112 std::vector<sp<InputWindowHandle>> handles; in setInputWindows()
114 handlesPerDisplay.emplace(info.displayId, std::vector<sp<InputWindowHandle>>()); in setInputWindows()
/frameworks/native/include/input/
DInputWindow.h198 class InputWindowHandle : public RefBase {
233 void updateFrom(const sp<InputWindowHandle> handle);
242 explicit InputWindowHandle();
243 virtual ~InputWindowHandle();
/frameworks/native/services/inputflinger/dispatcher/include/
DInputDispatcherInterface.h27 class InputWindowHandle; variable
89 const std::vector<sp<InputWindowHandle> >& inputWindowHandles, int32_t displayId,
/frameworks/base/core/java/android/view/
DInputWindowHandle.java32 public final class InputWindowHandle { class
123 public InputWindowHandle(InputApplicationHandle inputApplicationHandle, in InputWindowHandle() method in InputWindowHandle
DSurfaceControl.java192 InputWindowHandle handle); in nativeSetInputWindowInfo()
2244 public Transaction setInputWindowInfo(SurfaceControl sc, InputWindowHandle handle) { in setInputWindowInfo()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp441 class FakeWindowHandle : public InputWindowHandle, public FakeInputReceiver {
497 InputWindowHandle::releaseChannel(); in releaseChannel()
595 std::vector<sp<InputWindowHandle>> inputWindowHandles; in TEST_F()
615 std::vector<sp<InputWindowHandle>> inputWindowHandles; in TEST_F()
641 std::vector<sp<InputWindowHandle>> inputWindowHandles; in TEST_F()
667 std::vector<sp<InputWindowHandle>> inputWindowHandles; in TEST_F()
693 std::vector<sp<InputWindowHandle>> inputWindowHandles; in TEST_F()
719 std::vector<sp<InputWindowHandle>> inputWindowHandles; in SetUp()
730 std::vector<sp<InputWindowHandle>> inputWindowHandles_Second; in SetUp()
786 std::vector<sp<InputWindowHandle>> noWindows; in TEST_F()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DInputMonitor.java47 import android.view.InputWindowHandle;
69 private InputWindowHandle mFocusedInputWindowHandle;
250 void populateInputWindowHandle(final InputWindowHandle inputWindowHandle, in populateInputWindowHandle()
416 final InputWindowHandle mInvalidInputWindow = new InputWindowHandle(null, null, mDisplayId);
458 final InputWindowHandle inputWindowHandle = w.mInputWindowHandle; in accept()
DTaskPositioningController.java32 import android.view.InputWindowHandle;
58 InputWindowHandle getDragWindowHandleLocked() { in getDragWindowHandleLocked()
88 final InputWindowHandle h = getDragWindowHandleLocked(); in showInputSurface()
DInputConsumerImpl.java28 import android.view.InputWindowHandle;
38 final InputWindowHandle mWindowHandle;
75 mWindowHandle = new InputWindowHandle(mApplicationHandle, null, displayId); in InputConsumerImpl()
DLetterbox.java27 import android.view.InputWindowHandle;
167 final InputWindowHandle mWindowHandle;
182 mWindowHandle = new InputWindowHandle(null /* inputApplicationHandle */, in InputInterceptor()
DDragState.java51 import android.view.InputWindowHandle;
162 final InputWindowHandle h = getInputWindowHandle(); in showInputSurface()
263 InputWindowHandle mDragWindowHandle;
278 mDragWindowHandle = new InputWindowHandle(mDragApplicationHandle, null, in InputInterceptor()
337 InputWindowHandle getInputWindowHandle() { in getInputWindowHandle()
DTaskPositioner.java51 import android.view.InputWindowHandle;
128 InputWindowHandle mDragWindowHandle;
274 mDragWindowHandle = new InputWindowHandle(mDragApplicationHandle, null, in register()
DRecentsAnimationController.java51 import android.view.InputWindowHandle;
710 boolean updateInputConsumerForApp(InputWindowHandle inputWindowHandle, in updateInputConsumerForApp()
DWindowState.java194 import android.view.InputWindowHandle;
507 final InputWindowHandle mInputWindowHandle;
820 mInputWindowHandle = new InputWindowHandle( in WindowState()
2293 int getSurfaceTouchableRegion(InputWindowHandle inputWindowHandle, int flags) { in getSurfaceTouchableRegion()
3116 private void setTouchableRegionCropIfNeeded(InputWindowHandle handle) { in setTouchableRegionCropIfNeeded()
DDisplayContent.java188 import android.view.InputWindowHandle;
580 private InputWindowHandle mPortalWindowHandle;
5381 private InputWindowHandle createPortalWindowHandle(String name) { in createPortalWindowHandle()
5384 final InputWindowHandle portalWindowHandle = new InputWindowHandle( in createPortalWindowHandle()
/frameworks/base/core/jni/
Dandroid_hardware_input_InputWindowHandle.h27 class NativeInputWindowHandle : public InputWindowHandle {
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DStubTransaction.java24 import android.view.InputWindowHandle;
95 InputWindowHandle handle) { in setInputWindowInfo()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp771 std::vector<sp<InputWindowHandle> > windowHandles; in setInputWindows()
781 sp<InputWindowHandle> windowHandle = in setInputWindows()
796 const sp<InputWindowHandle>& windowHandle = windowHandles[i]; in setInputWindows()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java81 import android.view.InputWindowHandle;
221 private static native void nativeSetInputWindows(long ptr, InputWindowHandle[] windowHandles, in nativeSetInputWindows()

12