Home
last modified time | relevance | path

Searched refs:xrp (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DXmlKeyboardLoader.java303 KeyCommonAttributes(XmlResourceParser xrp) { in KeyCommonAttributes() argument
304 mXrp = xrp; in KeyCommonAttributes()
332 XmlResourceParser xrp = r.getXml(resourceId); in loadSkbTemplate() local
334 KeyCommonAttributes attrDef = new KeyCommonAttributes(xrp); in loadSkbTemplate()
335 KeyCommonAttributes attrKey = new KeyCommonAttributes(xrp); in loadSkbTemplate()
343 mXmlEventType = xrp.next(); in loadSkbTemplate()
347 String attribute = xrp.getName(); in loadSkbTemplate()
349 Drawable skbBg = getDrawable(xrp, XMLATTR_SKB_BG, null); in loadSkbTemplate()
350 Drawable balloonBg = getDrawable(xrp, in loadSkbTemplate()
352 Drawable popupBg = getDrawable(xrp, XMLATTR_POPUP_BG, in loadSkbTemplate()
[all …]
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/
DPolarClockWallpaper.java60 public static ClockPalette parseXmlPaletteTag(XmlResourceParser xrp) { in parseXmlPaletteTag() argument
61 String kind = xrp.getAttributeValue(null, "kind"); in parseXmlPaletteTag()
63 return CyclingClockPalette.parseXmlPaletteTag(xrp); in parseXmlPaletteTag()
65 return FixedClockPalette.parseXmlPaletteTag(xrp); in parseXmlPaletteTag()
114 public static ClockPalette parseXmlPaletteTag(XmlResourceParser xrp) { in parseXmlPaletteTag() argument
116 pal.mId = xrp.getAttributeValue(null, "id"); in parseXmlPaletteTag()
118 if ((val = xrp.getAttributeValue(null, "background")) != null) in parseXmlPaletteTag()
120 if ((val = xrp.getAttributeValue(null, "second")) != null) in parseXmlPaletteTag()
122 if ((val = xrp.getAttributeValue(null, "minute")) != null) in parseXmlPaletteTag()
124 if ((val = xrp.getAttributeValue(null, "hour")) != null) in parseXmlPaletteTag()
[all …]
/packages/apps/Settings/src/com/android/settings/
DZonePicker.java213 XmlResourceParser xrp = context.getResources().getXml(R.xml.timezones); in getZones() local
214 while (xrp.next() != XmlResourceParser.START_TAG) in getZones()
216 xrp.next(); in getZones()
217 while (xrp.getEventType() != XmlResourceParser.END_TAG) { in getZones()
218 while (xrp.getEventType() != XmlResourceParser.START_TAG) { in getZones()
219 if (xrp.getEventType() == XmlResourceParser.END_DOCUMENT) { in getZones()
222 xrp.next(); in getZones()
224 if (xrp.getName().equals(XMLTAG_TIMEZONE)) { in getZones()
225 String id = xrp.getAttributeValue(0); in getZones()
226 String displayName = xrp.nextText(); in getZones()
[all …]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DSymbolList.java126 private String getXmlAttribute(XmlResourceParser xrp, String name) { in getXmlAttribute() argument
127 int resId = xrp.getAttributeResourceValue(null, name, 0); in getXmlAttribute()
129 return xrp.getAttributeValue(null, name); in getXmlAttribute()
144 XmlResourceParser xrp = mWnn.getResources().getXml(id); in getXmlfile() local
147 while ((xmlEventType = xrp.next()) != XmlResourceParser.END_DOCUMENT) { in getXmlfile()
149 String attribute = xrp.getName(); in getXmlfile()
151 String value = getXmlAttribute(xrp, "value"); in getXmlfile()
158 xrp.close(); in getXmlfile()