Home
last modified time | relevance | path

Searched refs:focusEvent (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/jni/
Dandroid_view_InputEventReceiver.cpp314 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/
DInputPublisherAndConsumer_test.cpp300 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/
DEndToEndNativeInputTest.cpp134 FocusEvent *focusEvent = static_cast<FocusEvent *>(ev); in assertFocusChange() local
135 EXPECT_EQ(hasFocus, focusEvent->getHasFocus()); in assertFocusChange()
/frameworks/native/libs/input/
DInputTransport.cpp737 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/
DInputDispatcher_test.cpp709 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()