Searched refs:focusEvent (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/jni/ |
D | android_view_InputEventReceiver.cpp | 314 FocusEvent* focusEvent = static_cast<FocusEvent*>(inputEvent); in consumeEvents() local 317 getInputChannelName().c_str(), toString(focusEvent->getHasFocus()), in consumeEvents() 318 toString(focusEvent->getInTouchMode())); in consumeEvents() 321 jboolean(focusEvent->getHasFocus()), in consumeEvents() 322 jboolean(focusEvent->getInTouchMode())); in consumeEvents()
|
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 300 FocusEvent* focusEvent = static_cast<FocusEvent*>(event); in PublishAndConsumeFocusEvent() local 302 EXPECT_EQ(eventId, focusEvent->getId()); in PublishAndConsumeFocusEvent() 303 EXPECT_EQ(hasFocus, focusEvent->getHasFocus()); in PublishAndConsumeFocusEvent() 304 EXPECT_EQ(inTouchMode, focusEvent->getInTouchMode()); in PublishAndConsumeFocusEvent()
|
/frameworks/native/libs/gui/tests/ |
D | EndToEndNativeInputTest.cpp | 134 FocusEvent *focusEvent = static_cast<FocusEvent *>(ev); in assertFocusChange() local 135 EXPECT_EQ(hasFocus, focusEvent->getHasFocus()); in assertFocusChange()
|
/frameworks/native/libs/input/ |
D | InputTransport.cpp | 737 FocusEvent* focusEvent = factory->createFocusEvent(); in consume() local 738 if (!focusEvent) return NO_MEMORY; in consume() 740 initializeFocusEvent(focusEvent, &mMsg); in consume() 742 *outEvent = focusEvent; in consume()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 709 FocusEvent* focusEvent = static_cast<FocusEvent*>(event); in consumeFocusEvent() local 710 EXPECT_EQ(hasFocus, focusEvent->getHasFocus()); in consumeFocusEvent() 711 EXPECT_EQ(inTouchMode, focusEvent->getInTouchMode()); in consumeFocusEvent() 728 FocusEvent& focusEvent = static_cast<FocusEvent&>(*event); in assertNoEvents() local 730 << (focusEvent.getHasFocus() ? "true" : "false"); in assertNoEvents()
|