/frameworks/native/services/inputflinger/tests/ |
D | FakeWindows.h | 88 void consumeFocusEvent(bool hasFocus, bool inTouchMode); 91 void consumeTouchModeEvent(bool inTouchMode); 335 inline void consumeFocusEvent(bool hasFocus, bool inTouchMode = true) { 338 mInputReceiver->consumeFocusEvent(hasFocus, inTouchMode); 354 inline void consumeTouchModeEvent(bool inTouchMode) { in consumeTouchModeEvent() argument 357 mInputReceiver->consumeTouchModeEvent(inTouchMode); in consumeTouchModeEvent()
|
D | FakeWindows.cpp | 150 void FakeInputReceiver::consumeFocusEvent(bool hasFocus, bool inTouchMode) { in consumeFocusEvent() argument 189 void FakeInputReceiver::consumeTouchModeEvent(bool inTouchMode) { in consumeTouchModeEvent() argument 198 EXPECT_EQ(inTouchMode, touchModeEvent.isInTouchMode()); in consumeTouchModeEvent()
|
D | InputDispatcher_test.cpp | 12318 void changeAndVerifyTouchModeInMainDisplayOnly(bool inTouchMode, gui::Pid pid, gui::Uid uid, in changeAndVerifyTouchModeInMainDisplayOnly() argument 12320 ASSERT_TRUE(mDispatcher->setInTouchMode(inTouchMode, pid, uid, hasPermission, in changeAndVerifyTouchModeInMainDisplayOnly() 12322 mWindow->consumeTouchModeEvent(inTouchMode); in changeAndVerifyTouchModeInMainDisplayOnly() 12323 mSecondWindow->consumeTouchModeEvent(inTouchMode); in changeAndVerifyTouchModeInMainDisplayOnly()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | Entry.cpp | 176 TouchModeEntry::TouchModeEntry(int32_t id, nsecs_t eventTime, bool inTouchMode, in TouchModeEntry() argument 179 inTouchMode(inTouchMode), in TouchModeEntry() 183 return StringPrintf("TouchModeEvent(inTouchMode=%s)", inTouchMode ? "true" : "false"); in getDescription()
|
D | Entry.h | 208 bool inTouchMode; member 211 TouchModeEntry(int32_t id, nsecs_t eventTime, bool inTouchMode, ui::LogicalDisplayId displayId);
|
D | InputDispatcher.h | 123 bool setInTouchMode(bool inTouchMode, gui::Pid pid, gui::Uid uid, bool hasPermission,
|
D | InputDispatcher.cpp | 3854 touchModeEntry.inTouchMode); in startDispatchCycleLocked() 5613 bool InputDispatcher::setInTouchMode(bool inTouchMode, gui::Pid pid, gui::Uid uid, in setInTouchMode() argument 5621 toString(inTouchMode), pid.toString().c_str(), uid.toString().c_str(), in setInTouchMode() 5628 if (touchModeIt != mTouchModePerDisplay.end() && touchModeIt->second == inTouchMode) { in setInTouchMode() 5640 mTouchModePerDisplay[displayId] = inTouchMode; in setInTouchMode() 5641 auto entry = std::make_unique<TouchModeEntry>(mIdGenerator.nextId(), now(), inTouchMode, in setInTouchMode()
|
/frameworks/native/services/inputflinger/dispatcher/include/ |
D | InputDispatcherInterface.h | 132 virtual bool setInTouchMode(bool inTouchMode, gui::Pid pid, gui::Uid uid, bool hasPermission,
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | NativeInputManagerService.java | 78 boolean setInTouchMode(boolean inTouchMode, int pid, int uid, boolean hasPermission, in setInTouchMode() argument 334 public native boolean setInTouchMode(boolean inTouchMode, int pid, int uid, in setInTouchMode() argument
|
D | InputManagerService.java | 873 public boolean setInTouchMode(boolean inTouchMode, int pid, int uid, boolean hasPermission, in setInTouchMode() argument 875 return mNative.setInTouchMode(inTouchMode, pid, uid, hasPermission, displayId); in setInTouchMode()
|
/frameworks/base/core/java/android/view/ |
D | InputEventReceiver.java | 190 public void onTouchModeChanged(boolean inTouchMode) { in onTouchModeChanged() argument
|
D | ViewTreeObserver.java | 1248 final void dispatchOnTouchModeChanged(boolean inTouchMode) { in dispatchOnTouchModeChanged() argument 1253 listener.onTouchModeChanged(inTouchMode); in dispatchOnTouchModeChanged()
|
D | ViewRootImpl.java | 4706 final boolean inTouchMode; in handleWindowTouchModeChanged() 4708 inTouchMode = mUpcomingInTouchMode; in handleWindowTouchModeChanged() 4710 ensureTouchModeLocally(inTouchMode); in handleWindowTouchModeChanged() 6965 boolean ensureTouchMode(boolean inTouchMode) { in ensureTouchMode() argument 6966 if (DBG) Log.d("touchmode", "ensureTouchMode(" + inTouchMode + "), current " in ensureTouchMode() 6968 if (mAttachInfo.mInTouchMode == inTouchMode) return false; in ensureTouchMode() 6973 windowManager.setInTouchMode(inTouchMode, getDisplayId()); in ensureTouchMode() 6979 return ensureTouchModeLocally(inTouchMode); in ensureTouchMode() 6988 private boolean ensureTouchModeLocally(boolean inTouchMode) { in ensureTouchModeLocally() argument 6989 if (DBG) Log.d("touchmode", "ensureTouchModeLocally(" + inTouchMode + "), current " in ensureTouchModeLocally() [all …]
|
D | Window.java | 2293 public void setLocalFocus(boolean hasFocus, boolean inTouchMode) { } in setLocalFocus() argument
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowManagerServiceTests.java | 774 for (boolean inTouchMode : new boolean[] { true, false }) { in testSetInTouchModeOnAllDisplays() 775 mWm.setInTouchModeOnAllDisplays(inTouchMode); in testSetInTouchModeOnAllDisplays() 780 if (dc.isInTouchMode() != inTouchMode) { in testSetInTouchModeOnAllDisplays()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewRootImplTest.java | 368 ViewTreeObserver.OnTouchModeChangeListener touchModeListener = (boolean inTouchMode) -> { in whenTouchModeChanges_viewRootIsNotified() 370 inTouchMode).isFalse(); in whenTouchModeChanges_viewRootIsNotified()
|
/frameworks/base/core/java/android/widget/ |
D | GridView.java | 1354 final boolean inTouchMode = mTouchMode > TOUCH_MODE_DOWN in layoutChildren() 1356 if (inTouchMode) { in layoutChildren()
|
D | ListView.java | 1888 final boolean inTouchMode = mTouchMode == TOUCH_MODE_TAP in layoutChildren() 1890 if (inTouchMode) { in layoutChildren()
|
D | AbsListView.java | 5526 final boolean inTouchMode = isInTouchMode(); 5527 if (inTouchMode) { 5608 if (!inTouchMode && mSelectedPosition != INVALID_POSITION) {
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PhoneWindow.java | 1932 public void setLocalFocus(boolean hasFocus, boolean inTouchMode) { in setLocalFocus() argument 1935 viewRoot.touchModeChanged(inTouchMode); in setLocalFocus()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 1938 static jboolean nativeSetInTouchMode(JNIEnv* env, jobject nativeImplObj, jboolean inTouchMode, in nativeSetInTouchMode() argument 1942 return im->getInputManager()->getDispatcher().setInTouchMode(inTouchMode, gui::Pid{pid}, in nativeSetInTouchMode()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayContent.java | 1395 boolean setInTouchMode(boolean inTouchMode) { in setInTouchMode() argument 1396 if (mInTouchMode == inTouchMode) { in setInTouchMode() 1399 mInTouchMode = inTouchMode; in setInTouchMode()
|