Home
last modified time | relevance | path

Searched refs:getEventType (Results 1 – 25 of 84) sorted by relevance

1234

/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/impl/
DLayoutParserWrapperTest.java44 assertEquals("Expected START_TAG", START_TAG, parser.getEventType()); in testDataBindingLayout()
56 assertNotSame("Unexpected end of document", END_DOCUMENT, parser.getEventType()); in testDataBindingLayout()
69 assertEquals("Expected START_TAG", START_TAG, parser.getEventType()); in testNonDataBindingLayout()
81 assertNotSame("Unexpected end of document", END_DOCUMENT, parser.getEventType()); in testNonDataBindingLayout()
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageLogActivity.java111 final int eventType = getItem(position).getEventType(); in getItemViewType()
126 if (event.getEventType() == UsageEvents.Event.CONFIGURATION_CHANGE) { in getView()
146 holder.state.setText(eventToString(event.getEventType())); in getView()
150 event.getEventType() == UsageEvents.Event.CONFIGURATION_CHANGE) { in getView()
/frameworks/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/
DAELogger.java49 final String eventType = AccessibilityEvent.eventTypeToString(event.getEventType()); in onAccessibilityEvent()
61 if (0 != (TOAST_EVENT_TYPES & event.getEventType())) { in onAccessibilityEvent()
/frameworks/base/graphics/java/android/graphics/
DFontListParser.java107 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFamilies()
127 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFamily()
152 if (parser.getEventType() == XmlPullParser.TEXT) { in readFont()
155 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFont()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DStackOverflowXmlParser.java54 if (parser.getEventType() != XmlPullParser.START_TAG) { in readFeed()
91 if (parser.getEventType() != XmlPullParser.START_TAG) { in readEntry()
154 if (parser.getEventType() != XmlPullParser.START_TAG) { in skip()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/
DZoneGetter.java177 while (xrp.getEventType() != XmlResourceParser.END_TAG) { in readTimezonesToDisplay()
178 while (xrp.getEventType() != XmlResourceParser.START_TAG) { in readTimezonesToDisplay()
179 if (xrp.getEventType() == XmlResourceParser.END_DOCUMENT) { in readTimezonesToDisplay()
188 while (xrp.getEventType() != XmlResourceParser.END_TAG) { in readTimezonesToDisplay()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayoutParserWrapper.java108 mEventType = mDelegate.getEventType(); in peekNext()
154 public int getEventType() throws XmlPullParserException { in getEventType() method in LayoutParserWrapper
155 return mPeeked ? mEventType : mDelegate.getEventType(); in getEventType()
/frameworks/base/services/core/java/com/android/server/pm/
DSELinuxMMAC.java120 if (parser.getEventType() != XmlPullParser.START_TAG) { in readInstallPolicy()
198 if (parser.getEventType() != XmlPullParser.START_TAG) { in readSignerOrThrow()
241 if (parser.getEventType() != XmlPullParser.START_TAG) { in readPackageOrThrow()
269 if (p.getEventType() != XmlPullParser.START_TAG) { in skip()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DInteractionController.java82 if ((t.getEventType() & mMask) != 0) { in accept()
108 if ((t.getEventType() & mMask) != 0) { in accept()
131 if ((t.getEventType() & mMask) != 0) { in accept()
133 mMask &= ~t.getEventType(); in accept()
403 if (event.getEventType() == type)
/frameworks/base/services/tests/servicestests/src/com/android/server/
DMockAccessibilityService.java195 TestCase.assertEquals("eventType has incorrect value", expectedEvent.getEventType(), in assertEqualsAccessiblityEvent()
196 receivedEvent.getEventType()); in assertEqualsAccessiblityEvent()
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java827 int eventType = parser.getEventType(); in readThisMapXml()
856 int eventType = parser.getEventType(); in readThisArrayMapXml()
913 int eventType = parser.getEventType(); in readThisListXml()
978 int eventType = parser.getEventType(); in readThisSetXml()
1031 int eventType = parser.getEventType(); in readThisIntArrayXml()
1098 int eventType = parser.getEventType(); in readThisLongArrayXml()
1158 int eventType = parser.getEventType(); in readThisDoubleArrayXml()
1218 int eventType = parser.getEventType(); in readThisStringArrayXml()
1278 int eventType = parser.getEventType(); in readThisBooleanArrayXml()
1327 int eventType = parser.getEventType(); in readValueXml()
/frameworks/base/location/lib/java/com/android/location/provider/
DActivityRecognitionEvent.java37 public int getEventType() { in getEventType() method in ActivityRecognitionEvent
DActivityRecognitionProvider.java121 reportingEvent.getEventType(), in onActivityChanged()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeXmlBlockParser.java200 public int getEventType() { in getEventType() method in BridgeXmlBlockParser
353 if (type != getEventType() in require()
362 if (getEventType() != START_TAG) { in nextText()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DAccessibleDateAnimator.java41 if (event.getEventType() == AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED) { in dispatchPopulateAccessibilityEvent()
/frameworks/base/core/java/android/hardware/location/
DActivityRecognitionEvent.java42 public int getEventType() { in getEventType() method in ActivityRecognitionEvent
/frameworks/base/tools/aapt2/flatten/
DXmlFlattener_test.cpp202 ASSERT_NE(tree.getEventType(), android::ResXMLTree::BAD_DOCUMENT); in TEST_F()
203 ASSERT_NE(tree.getEventType(), android::ResXMLTree::END_DOCUMENT); in TEST_F()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMapFolderListing.java46 int event = xpp.getEventType(); in parse()
DBluetoothMapMessagesListing.java48 int event = xpp.getEventType(); in parse()
DBluetoothMapEventReport.java191 int event = xpp.getEventType(); in fromStream()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/
DVendorConfig.java187 if (parser.getEventType() != XmlPullParser.START_TAG) { in readTagList()
263 if (parser.getEventType() != XmlPullParser.START_TAG) { in readVendorConfig()
/frameworks/base/core/java/android/content/res/
DXmlBlock.java148 public int getEventType() throws XmlPullParserException { in getEventType() method in XmlBlock.Parser
268 if (type != getEventType() in require()
274 if(getEventType() != START_TAG) { in nextText()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DObscureSpeechDelegate.java66 if ((event.getEventType() != AccessibilityEvent.TYPE_ANNOUNCEMENT) in onPopulateAccessibilityEvent()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DSimpleInflater.java65 int eventType = parser.getEventType(); in parseMenu()
/frameworks/base/media/java/android/media/
DTtmlRenderer.java402 int eventType = mParser.getEventType(); in parseTtml()
448 int eventType = mParser.getEventType(); in parseNode()
502 return (mParser.getEventType() == XmlPullParser.END_DOCUMENT); in isEndOfDoc()

1234