Home
last modified time | relevance | path

Searched refs:InputWindowInfo (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/native/services/inputflinger/tests/
DInputFlingerService_test.cpp61 static constexpr Flags<InputWindowInfo::Flag> TestInfoFlags = InputWindowInfo::Flag::NOT_FOCUSABLE;
62 static constexpr InputWindowInfo::Type TestInfoType = InputWindowInfo::Type::INPUT_METHOD;
82 static constexpr InputWindowInfo::Feature TestInfoInputFeatures =
83 InputWindowInfo::Feature::NO_INPUT_CHANNEL;
105 void setInputWindowsByInfos(const std::vector<InputWindowInfo>& infos);
110 void verifyInputWindowInfo(const InputWindowInfo& info) const;
111 InputWindowInfo& getInfo() const { return const_cast<InputWindowInfo&>(mInfo); } in getInfo()
119 InputWindowInfo mInfo;
139 binder::Status getInputWindows(std::vector<::android::InputWindowInfo>* inputHandles);
146 const std::vector<InputWindowInfo>& handles,
[all …]
DIInputFlingerQuery.aidl19 import android.InputWindowInfo;
26 void getInputWindows(out InputWindowInfo[] inputHandles); in getInputWindows()
DInputDispatcher_test.cpp917 mInfo.type = InputWindowInfo::Type::APPLICATION; in FakeWindowHandle()
967 void addFlags(Flags<InputWindowInfo::Flag> flags) { mInfo.flags |= flags; } in addFlags()
969 void setFlags(Flags<InputWindowInfo::Flag> flags) { mInfo.flags = flags; } in setFlags()
971 void setInputFeatures(InputWindowInfo::Feature features) { mInfo.inputFeatures = features; } in setInputFeatures()
1105 mInfo.inputFeatures.test(InputWindowInfo::Feature::NO_INPUT_CHANNEL)) { in assertNoEvents()
1413 window->setFlags(InputWindowInfo::Flag::NOT_TOUCH_MODAL); in TEST_F()
1436 window->setFlags(InputWindowInfo::Flag::NOT_TOUCH_MODAL); in TEST_F()
1472 windowLeft->setFlags(InputWindowInfo::Flag::NOT_TOUCH_MODAL); in TEST_F()
1476 windowRight->setFlags(InputWindowInfo::Flag::NOT_TOUCH_MODAL); in TEST_F()
1583 window->setFlags(InputWindowInfo::Flag::NOT_TOUCH_MODAL); in TEST_F()
[all …]
/frameworks/native/libs/input/
DInputWindow.cpp32 void InputWindowInfo::addTouchableRegion(const Rect& region) { in addTouchableRegion()
36 bool InputWindowInfo::touchableRegionContainsPoint(int32_t x, int32_t y) const { in touchableRegionContainsPoint()
40 bool InputWindowInfo::frameContainsPoint(int32_t x, int32_t y) const { in frameContainsPoint()
45 bool InputWindowInfo::supportsSplitTouch() const { in supportsSplitTouch()
49 bool InputWindowInfo::overlaps(const InputWindowInfo* other) const { in overlaps()
54 bool InputWindowInfo::operator==(const InputWindowInfo& info) const { in operator ==()
72 status_t InputWindowInfo::writeToParcel(android::Parcel* parcel) const { in writeToParcel()
89 parcel->writeInt32(static_cast<std::underlying_type_t<InputWindowInfo::Type>>(type)) ?: in writeToParcel()
125 status_t InputWindowInfo::readFromParcel(const android::Parcel* parcel) { in readFromParcel()
203 InputWindowHandle::InputWindowHandle(const InputWindowInfo& other) : mInfo(other) {} in InputWindowHandle()
/frameworks/native/libs/input/tests/
DInputWindow_test.cpp30 TEST(InputWindowInfo, ParcellingWithoutToken) { in TEST() argument
31 InputWindowInfo i, i2; in TEST()
41 TEST(InputWindowInfo, Parcelling) { in TEST() argument
43 InputWindowInfo i; in TEST()
47 i.flags = InputWindowInfo::Flag::SLIPPERY; in TEST()
48 i.type = InputWindowInfo::Type::INPUT_METHOD; in TEST()
68 i.inputFeatures = InputWindowInfo::Feature::DISABLE_USER_ACTIVITY; in TEST()
80 InputWindowInfo i2; in TEST()
/frameworks/native/include/input/
DInputWindow.h41 struct InputWindowInfo : public Parcelable { struct
42 InputWindowInfo() = default;
209 bool overlaps(const InputWindowInfo* other) const; argument
211 bool operator==(const InputWindowInfo& inputChannel) const;
228 InputWindowHandle(const InputWindowInfo& other);
230 inline const InputWindowInfo* getInfo() const { return &mInfo; } in getInfo()
275 InputWindowInfo mInfo;
/frameworks/native/libs/input/android/os/
DIInputFlinger.aidl21 import android.InputWindowInfo;
31 oneway void setInputWindows(in InputWindowInfo[] inputHandles, in setInputWindows()
/frameworks/native/libs/gui/tests/
DEndToEndNativeInputTest.cpp224 mInputInfo.flags = InputWindowInfo::Flag::NOT_TOUCH_MODAL; in populateInputInfo()
225 mInputInfo.type = InputWindowInfo::Type::BASE_APPLICATION; in populateInputInfo()
252 InputWindowInfo mInputInfo;
689 nonTouchableSurface->mInputInfo.flags = InputWindowInfo::Flag::NOT_TOUCHABLE; in TEST_F()
709 nonTouchableSurface->mInputInfo.flags = InputWindowInfo::Flag::NOT_TOUCHABLE; in TEST_F()
710 parentSurface->mInputInfo.flags = InputWindowInfo::Flag::NOT_TOUCHABLE; in TEST_F()
733 nonTouchableSurface->mInputInfo.flags = InputWindowInfo::Flag::NOT_TOUCHABLE; in TEST_F()
734 parentSurface->mInputInfo.flags = InputWindowInfo::Flag::NOT_TOUCHABLE; in TEST_F()
754 bufferSurface->mInputInfo.flags = InputWindowInfo::Flag::NOT_TOUCHABLE; in TEST_F()
769 bufferSurface->mInputInfo.flags = InputWindowInfo::Flag::NOT_TOUCHABLE; in TEST_F()
/frameworks/native/libs/input/android/
DInputWindowInfo.aidl20 parcelable InputWindowInfo cpp_header "input/InputWindow.h";
/frameworks/native/services/inputflinger/
DInputManager.cpp115 BinderWindowHandle(const InputWindowInfo& info) { mInfo = info; } in BinderWindowHandle()
123 const std::vector<InputWindowInfo>& infos, in setInputWindows()
DInputManager.h108 const std::vector<InputWindowInfo>& handles,
/frameworks/native/services/surfaceflinger/
DLayer.h189 InputWindowInfo inputInfo;
693 InputWindowInfo::Type getWindowType() const { return mWindowType; } in getWindowType()
844 void setInputInfo(const InputWindowInfo& info);
846 InputWindowInfo fillInputInfo(const sp<DisplayDevice>& display);
1011 const InputWindowInfo::Type mWindowType;
1065 void fillTouchOcclusionMode(InputWindowInfo& info);
1068 void fillInputFrameInfo(InputWindowInfo& info, const ui::Transform& toPhysicalDisplay);
DLayerProtoHelper.h43 static void writeToProto(const InputWindowInfo& inputInfo,
DLayerProtoHelper.cpp128 const InputWindowInfo& inputInfo, const wp<Layer>& touchableRegionBounds, in writeToProto()
136 using U = std::underlying_type_t<InputWindowInfo::Type>; in writeToProto()
DLayer.cpp93 mWindowType(static_cast<InputWindowInfo::Type>( in Layer()
2003 void Layer::setInputInfo(const InputWindowInfo& info) { in setInputInfo()
2154 InputWindowInfo info; in writeToProtoCommonState()
2185 void Layer::fillInputFrameInfo(InputWindowInfo& info, const ui::Transform& toPhysicalDisplay) { in fillInputFrameInfo()
2280 void Layer::fillTouchOcclusionMode(InputWindowInfo& info) { in fillTouchOcclusionMode()
2290 InputWindowInfo Layer::fillInputInfo(const sp<DisplayDevice>& display) { in fillInputInfo()
2295 mDrawingState.inputInfo.inputFeatures = InputWindowInfo::Feature::NO_INPUT_CHANNEL; in fillInputInfo()
2296 mDrawingState.inputInfo.flags = InputWindowInfo::Flag::NOT_TOUCH_MODAL; in fillInputInfo()
2300 InputWindowInfo info = mDrawingState.inputInfo; in fillInputInfo()
2479 mDrawingState.inputInfo.flags &= ~InputWindowInfo::Flag::WATCH_OUTSIDE_TOUCH; in updateClonedInputInfo()
DBufferLayer.cpp828 InputWindowInfo tmpInputInfo = mDrawingState.inputInfo; in updateCloneBufferInfo()
/frameworks/native/services/inputflinger/host/
DInputFlinger.h47 binder::Status setInputWindows(const std::vector<InputWindowInfo>&, in setInputWindows() argument
/frameworks/base/core/jni/
Dandroid_hardware_input_InputWindowHandle.cpp118 mInfo.flags = Flags<InputWindowInfo::Flag>( in updateInfo()
120 mInfo.type = static_cast<InputWindowInfo::Type>( in updateInfo()
162 mInfo.inputFeatures = static_cast<InputWindowInfo::Feature>( in updateInfo()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp305 static bool haveSameApplicationToken(const InputWindowInfo* first, const InputWindowInfo* second) { in haveSameApplicationToken()
1008 const InputWindowInfo* windowInfo = windowHandle->getInfo(); in findTouchedWindowAtLocked()
1013 if (!flags.test(InputWindowInfo::Flag::NOT_TOUCHABLE)) { in findTouchedWindowAtLocked()
1014 bool isTouchModal = !flags.test(InputWindowInfo::Flag::NOT_FOCUSABLE) && in findTouchedWindowAtLocked()
1015 !flags.test(InputWindowInfo::Flag::NOT_TOUCH_MODAL); in findTouchedWindowAtLocked()
1032 if (addOutsideTargets && flags.test(InputWindowInfo::Flag::WATCH_OUTSIDE_TOUCH)) { in findTouchedWindowAtLocked()
1050 const InputWindowInfo* windowInfo = portalWindow->getInfo(); in findTouchedGestureMonitorsLocked()
1594 const InputWindowInfo* windowInfo = state.portalWindows[i]->getInfo(); in dispatchMotionLocked()
2242 const InputWindowInfo* info = windowHandle->getInfo(); in findTouchedWindowTargetsLocked()
2244 windowHandle->getInfo()->type == InputWindowInfo::Type::WALLPAPER) { in findTouchedWindowTargetsLocked()
[all …]
DTouchState.cpp140 !window.windowHandle->getInfo()->flags.test(InputWindowInfo::Flag::SLIPPERY)) { in isSlippery()
DInputDispatcher.h527 std::string dumpWindowForTouchOcclusion(const InputWindowInfo* info, bool isTouchWindow) const;
/frameworks/native/services/inputflinger/benchmarks/
DInputDispatcher_benchmarks.cpp191 mInfo.type = InputWindowInfo::Type::APPLICATION; in updateInfo()
/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.cpp583 layer->getWindowType() == InputWindowInfo::Type::STATUS_BAR) { in registerLayer()
585 } else if (layer->getWindowType() == InputWindowInfo::Type::WALLPAPER) { in registerLayer()
/frameworks/native/libs/gui/include/gui/
DSurfaceComposerClient.h506 Transaction& setInputWindowInfo(const sp<SurfaceControl>& sc, const InputWindowInfo& info);
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp1497 const InputWindowInfo& info) { in setInputWindowInfo()

12