Home
last modified time | relevance | path

Searched refs:configParser (Results 1 – 8 of 8) sorted by relevance

/pdk/apps/TestingCamera2/src/com/android/testingcamera2/
DPaneLayout.java120 public void readConfig(TestingCamera21 tc, XmlPullParser configParser) in readConfig() argument
123 configParser.require(XmlPullParser.START_TAG, XmlPullParser.NO_NAMESPACE, mPaneXmlName); in readConfig()
124 int eventType = configParser.next(); in readConfig()
128 T pane = readControlPane(tc, configParser); in readConfig()
132 eventType = configParser.next(); in readConfig()
134 configParser.require(XmlPullParser.END_TAG, XmlPullParser.NO_NAMESPACE, mPaneXmlName); in readConfig()
177 protected abstract T readControlPane(TestingCamera21 tc, XmlPullParser configParser) in readControlPane() argument
191 protected TargetControlPane readControlPane(TestingCamera21 tc, XmlPullParser configParser) in readControlPane() argument
193 return new TargetControlPane(tc, configParser, this); in readControlPane()
208 protected CameraControlPane readControlPane(TestingCamera21 tc, XmlPullParser configParser) in readControlPane() argument
[all …]
DBurstControlPane.java41 public BurstControlPane(TestingCamera21 tc, XmlPullParser configParser, StatusListener listener) in BurstControlPane() argument
47 configParser.require(XmlPullParser.START_TAG, in BurstControlPane()
50 configParser.next(); in BurstControlPane()
51 configParser.require(XmlPullParser.END_TAG, in BurstControlPane()
DUtilControlPane.java40 public UtilControlPane(TestingCamera21 tc, XmlPullParser configParser, StatusListener listener) in UtilControlPane() argument
46 configParser.require(XmlPullParser.START_TAG, in UtilControlPane()
49 configParser.next(); in UtilControlPane()
50 configParser.require(XmlPullParser.END_TAG, in UtilControlPane()
DControlPane.java155 protected static int getAttributeInt(XmlPullParser configParser, in getAttributeInt() argument
157 String value = configParser.getAttributeValue(null, attributeName); in getAttributeInt()
165 configParser, e); in getAttributeInt()
175 XmlPullParser configParser, in getAttributeString() argument
177 String value = configParser.getAttributeValue(null, attributeName); in getAttributeString()
DTestingCamera21.java222 private void readConfig(XmlPullParser configParser) { in readConfig() argument
226 while (configParser.getEventType() != XmlPullParser.END_DOCUMENT) { in readConfig()
227 int eventType = configParser.next(); in readConfig()
231 configParser.require(XmlPullParser.START_TAG, XmlPullParser.NO_NAMESPACE, in readConfig()
236 if (configParser.getName().equals(paneLayout.getXmlName())) { in readConfig()
237 paneLayout.readConfig(this, configParser); in readConfig()
244 configParser.require(XmlPullParser.END_TAG, XmlPullParser.NO_NAMESPACE, in readConfig()
DTargetControlPane.java105 … public TargetControlPane(TestingCamera21 tc, XmlPullParser configParser, StatusListener listener) in TargetControlPane() argument
109 configParser.require(XmlPullParser.START_TAG, XmlPullParser.NO_NAMESPACE, PANE_NAME); in TargetControlPane()
111 int paneId = getAttributeInt(configParser, PANE_ID, -1); in TargetControlPane()
121 configParser.next(); in TargetControlPane()
122 configParser.require(XmlPullParser.END_TAG, XmlPullParser.NO_NAMESPACE, PANE_NAME); in TargetControlPane()
DRequestControlPane.java100 public RequestControlPane(TestingCamera21 tc, XmlPullParser configParser, in RequestControlPane() argument
106 configParser.require(XmlPullParser.START_TAG, XmlPullParser.NO_NAMESPACE, PANE_NAME); in RequestControlPane()
108 int paneId = getAttributeInt(configParser, PANE_ID, -1); in RequestControlPane()
118 configParser.next(); in RequestControlPane()
119 configParser.require(XmlPullParser.END_TAG, XmlPullParser.NO_NAMESPACE, PANE_NAME); in RequestControlPane()
DCameraControlPane.java177 … public CameraControlPane(TestingCamera21 tc, XmlPullParser configParser, StatusListener listener) in CameraControlPane() argument
181 configParser.require(XmlPullParser.START_TAG, XmlPullParser.NO_NAMESPACE, PANE_NAME); in CameraControlPane()
183 int paneId = getAttributeInt(configParser, PANE_ID, -1); in CameraControlPane()
193 String cameraId = getAttributeString(configParser, CAMERA_ID, null); in CameraControlPane()
195 configParser.next(); in CameraControlPane()
196 configParser.require(XmlPullParser.END_TAG, XmlPullParser.NO_NAMESPACE, PANE_NAME); in CameraControlPane()