Home
last modified time | relevance | path

Searched refs:eventIndex (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassifierEventTest.java67 final int eventIndex = 1; in toSelectionEvent_smartSelectionMulti() local
74 expected.setEventIndex(eventIndex); in toSelectionEvent_smartSelectionMulti()
86 .setEventIndex(eventIndex) in toSelectionEvent_smartSelectionMulti()
96 final int eventIndex = 2; in toSelectionEvent_smartSelectionSingle() local
103 expected.setEventIndex(eventIndex); in toSelectionEvent_smartSelectionSingle()
115 .setEventIndex(eventIndex) in toSelectionEvent_smartSelectionSingle()
127 final int eventIndex = 3; in toSelectionEvent_resetSelection() local
135 expected.setEventIndex(eventIndex); in toSelectionEvent_resetSelection()
149 .setEventIndex(eventIndex) in toSelectionEvent_resetSelection()
159 final int eventIndex = 4; in toSelectionEvent_modifySelection() local
[all …]
/frameworks/native/libs/gui/include/gui/
DFrameTimestamps.h188 constexpr size_t eventIndex = static_cast<size_t>(event); in setDirty() local
189 static_assert(eventIndex < FrameEvents::EVENT_COUNT, "Bad index."); in setDirty()
190 mBitset.set(eventIndex); in setDirty()
195 constexpr size_t eventIndex = static_cast<size_t>(event); in isDirty() local
196 static_assert(eventIndex < FrameEvents::EVENT_COUNT, "Bad index."); in isDirty()
197 return mBitset[eventIndex]; in isDirty()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifierEvent.java567 public T setEventIndex(int eventIndex) { in setEventIndex() argument
568 mEventIndex = eventIndex; in setEventIndex()