Home
last modified time | relevance | path

Searched refs:mEventType (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/location/lib/java/com/android/location/provider/
DActivityRecognitionEvent.java24 private final int mEventType; field in ActivityRecognitionEvent
29 mEventType = eventType; in ActivityRecognitionEvent()
38 return mEventType; in getEventType()
48 switch (mEventType) { in toString()
67 mEventType, in toString()
/frameworks/base/core/java/android/hardware/location/
DActivityRecognitionEvent.java29 private final int mEventType; field in ActivityRecognitionEvent
34 mEventType = eventType; in ActivityRecognitionEvent()
43 return mEventType; in getEventType()
75 parcel.writeInt(mEventType); in writeToParcel()
84 mEventType, in toString()
/frameworks/base/core/java/android/app/usage/
DUsageEvents.java99 public int mEventType; field in UsageEvents.Event
138 return mEventType; in getEventType()
276 p.writeInt(event.mEventType); in writeEventToParcel()
279 if (event.mEventType == Event.CONFIGURATION_CHANGE) { in writeEventToParcel()
301 eventOut.mEventType = p.readInt(); in readEventFromParcel()
305 if (eventOut.mEventType == Event.CONFIGURATION_CHANGE) { in readEventFromParcel()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityEvent.java753 private int mEventType; field in AccessibilityEvent
775 mEventType = event.mEventType; in init()
846 return mEventType; in getEventType()
888 mEventType = eventType; in setEventType()
1056 mEventType = 0; in clear()
1077 mEventType = parcel.readInt(); in initFromParcel()
1133 parcel.writeInt(mEventType); in writeToParcel()
1193 builder.append("EventType: ").append(eventTypeToString(mEventType)); in toString()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayoutParserWrapper.java46 private int mEventType; field in LayoutParserWrapper
108 mEventType = mDelegate.getEventType(); in peekNext()
110 if (mEventType == START_TAG) { in peekNext()
155 return mPeeked ? mEventType : mDelegate.getEventType(); in getEventType()
178 if (mEventType != START_TAG) { in getAttributeValue()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java108 event.mEventType = XmlUtils.readIntAttribute(parser, TYPE_ATTR); in loadEvent()
109 if (event.mEventType == UsageEvents.Event.CONFIGURATION_CHANGE) { in loadEvent()
166 XmlUtils.writeIntAttribute(xml, TYPE_ATTR, event.mEventType); in writeEvent()
168 if (event.mEventType == UsageEvents.Event.CONFIGURATION_CHANGE in writeEvent()
DUserUsageStatsService.java157 + eventToString(event.mEventType)); in reportEvent()
168 if (event.mEventType == UsageEvents.Event.CONFIGURATION_CHANGE && in reportEvent()
179 if (event.mEventType != UsageEvents.Event.SYSTEM_INTERACTION) { in reportEvent()
184 if (event.mEventType == UsageEvents.Event.CONFIGURATION_CHANGE) { in reportEvent()
187 stats.update(event.mPackage, event.mTimeStamp, event.mEventType); in reportEvent()
544 pw.printPair("type", eventToString(event.mEventType)); in printIntervalStats()
DUsageStatsService.java624 if ((event.mEventType == Event.MOVE_TO_FOREGROUND in reportEvent()
625 || event.mEventType == Event.MOVE_TO_BACKGROUND in reportEvent()
626 || event.mEventType == Event.SYSTEM_INTERACTION in reportEvent()
627 || event.mEventType == Event.USER_INTERACTION)) { in reportEvent()
1375 event.mEventType = eventType; in reportEvent()
1392 event.mEventType = eventType; in reportEvent()
1409 event.mEventType = UsageEvents.Event.CONFIGURATION_CHANGE; in reportConfigurationChange()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeXmlBlockParser.java47 private int mEventType = START_DOCUMENT; field in BridgeXmlBlockParser
201 return mEventType; in getEventType()
305 eventTypeToString(mEventType) + " -> " + eventTypeToString(ev)); in next()
317 mEventType = ev; in next()
/frameworks/base/core/java/android/content/res/
DXmlBlock.java149 return mEventType; in getEventType()
198 return mEventType == START_TAG ? nativeGetAttributeCount(mParseState) : -1; in getAttributeCount()
257 mEventType = ev; in next()
466 private int mEventType = START_DOCUMENT; field in XmlBlock.Parser
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DTouchExplorer.java1274 private final int mEventType; field in TouchExplorer.SendAccessibilityEventDelayed
1278 mEventType = eventType; in SendAccessibilityEventDelayed()
1303 sendAccessibilityEvent(mEventType); in run()