Searched refs:mPrevEvent (Results 1 – 1 of 1) sorted by relevance
177 private SelectionEvent mPrevEvent; field in TextClassificationSession.SelectionEventHelper217 if (mPrevEvent != null) { in sanitizeEvent()218 event.setEntityType(mPrevEvent.getEntityType()); in sanitizeEvent()222 if (mPrevEvent != null in sanitizeEvent()223 && mPrevEvent.getAbsoluteStart() == event.getAbsoluteStart() in sanitizeEvent()224 && mPrevEvent.getAbsoluteEnd() == event.getAbsoluteEnd()) { in sanitizeEvent()246 if (mPrevEvent != null) { in sanitizeEvent()247 event.setDurationSincePreviousEvent(now - mPrevEvent.getEventTime()) in sanitizeEvent()248 .setEventIndex(mPrevEvent.getEventIndex() + 1); in sanitizeEvent()250 mPrevEvent = event; in sanitizeEvent()[all …]