HomeSort by relevance Sort by last modified time
    Searched defs:xrp (Results 1 - 4 of 4) sorted by null

  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
Configurator.java 259 XmlResourceParser xrp = ctx.getResources().getXml(xmlFileId); local
262 while (xrp.getEventType() != XmlResourceParser.END_DOCUMENT) {
263 xrp.next();
264 String name = xrp.getName();
265 if (xrp.getEventType() == XmlResourceParser.START_TAG) {
267 for (int i = 0; i < xrp.getAttributeCount(); i++) {
268 params.put(xrp.getAttributeName(i), xrp.getAttributeValue(i));
279 xrp.close();
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
SymbolList.java 121 * @param xrp XML resource
126 private String getXmlAttribute(XmlResourceParser xrp, String name) {
127 int resId = xrp.getAttributeResourceValue(null, name, 0);
129 return xrp.getAttributeValue(null, name);
144 XmlResourceParser xrp = mWnn.getResources().getXml(id); local
147 while ((xmlEventType = xrp.next()) != XmlResourceParser.END_DOCUMENT) {
149 String attribute = xrp.getName();
151 String value = getXmlAttribute(xrp, "value");
158 xrp.close();
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/
ZoneGetter.java 167 try (XmlResourceParser xrp = context.getResources().getXml(R.xml.timezones)) {
168 while (xrp.next() != XmlResourceParser.START_TAG) {
171 xrp.next();
172 while (xrp.getEventType() != XmlResourceParser.END_TAG) {
173 while (xrp.getEventType() != XmlResourceParser.START_TAG) {
174 if (xrp.getEventType() == XmlResourceParser.END_DOCUMENT) {
177 xrp.next();
179 if (xrp.getName().equals(XMLTAG_TIMEZONE)) {
180 String olsonId = xrp.getAttributeValue(0);
183 while (xrp.getEventType() != XmlResourceParser.END_TAG)
    [all...]
  /packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/
PolarClockWallpaper.java 60 public static ClockPalette parseXmlPaletteTag(XmlResourceParser xrp) {
61 String kind = xrp.getAttributeValue(null, "kind");
63 return CyclingClockPalette.parseXmlPaletteTag(xrp);
65 return FixedClockPalette.parseXmlPaletteTag(xrp);
114 public static ClockPalette parseXmlPaletteTag(XmlResourceParser xrp) {
116 pal.mId = xrp.getAttributeValue(null, "id");
118 if ((val = xrp.getAttributeValue(null, "background")) != null)
120 if ((val = xrp.getAttributeValue(null, "second")) != null)
122 if ((val = xrp.getAttributeValue(null, "minute")) != null)
124 if ((val = xrp.getAttributeValue(null, "hour")) != null
324 XmlResourceParser xrp = getResources().getXml(R.xml.polar_clock_palettes); local
    [all...]

Completed in 295 milliseconds