Home
last modified time | relevance | path

Searched refs:sreader (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterVignetteRepresentation.java209 public void deSerializeRepresentation(JsonReader sreader) throws IOException { in deSerializeRepresentation() argument
210 sreader.beginObject(); in deSerializeRepresentation()
212 while (sreader.hasNext()) { in deSerializeRepresentation()
213 String name = sreader.nextName(); in deSerializeRepresentation()
215 sreader.beginArray(); in deSerializeRepresentation()
216 sreader.hasNext(); in deSerializeRepresentation()
217 mCenterX = (float) sreader.nextDouble(); in deSerializeRepresentation()
218 sreader.hasNext(); in deSerializeRepresentation()
219 mCenterY = (float) sreader.nextDouble(); in deSerializeRepresentation()
220 sreader.hasNext(); in deSerializeRepresentation()
[all …]
DFilterChanSatRepresentation.java183 public void deSerializeRepresentation(JsonReader sreader) throws IOException { in deSerializeRepresentation() argument
184 sreader.beginObject(); in deSerializeRepresentation()
186 while (sreader.hasNext()) { in deSerializeRepresentation()
187 String name = sreader.nextName(); in deSerializeRepresentation()
189 sreader.beginArray(); in deSerializeRepresentation()
190 sreader.hasNext(); in deSerializeRepresentation()
191 setValue(MODE_MASTER, sreader.nextInt()); in deSerializeRepresentation()
192 sreader.hasNext(); in deSerializeRepresentation()
193 setValue(MODE_RED, sreader.nextInt()); in deSerializeRepresentation()
194 sreader.hasNext(); in deSerializeRepresentation()
[all …]
DFilterGradRepresentation.java459 public void deSerializeRepresentation(JsonReader sreader) throws IOException { in deSerializeRepresentation() argument
460 sreader.beginObject(); in deSerializeRepresentation()
463 while (sreader.hasNext()) { in deSerializeRepresentation()
464 String name = sreader.nextName(); in deSerializeRepresentation()
467 sreader.beginArray(); in deSerializeRepresentation()
470 sreader.hasNext(); in deSerializeRepresentation()
471 p.xPos1 = sreader.nextInt(); in deSerializeRepresentation()
472 sreader.hasNext(); in deSerializeRepresentation()
473 p.yPos1 = sreader.nextInt(); in deSerializeRepresentation()
474 sreader.hasNext(); in deSerializeRepresentation()
[all …]
DFilterCurvesRepresentation.java142 public void deSerializeRepresentation(JsonReader sreader) throws IOException { in deSerializeRepresentation() argument
143 sreader.beginObject(); in deSerializeRepresentation()
145 while (sreader.hasNext()) { in deSerializeRepresentation()
146 String name = sreader.nextName(); in deSerializeRepresentation()
148 setName(sreader.nextString()); in deSerializeRepresentation()
152 sreader.beginArray(); in deSerializeRepresentation()
153 while (sreader.hasNext()) { in deSerializeRepresentation()
154 sreader.beginArray(); in deSerializeRepresentation()
155 sreader.hasNext(); in deSerializeRepresentation()
156 float x = (float) sreader.nextDouble(); in deSerializeRepresentation()
[all …]
DFilterDrawRepresentation.java347 public void deSerializeRepresentation(JsonReader sreader) throws IOException { in deSerializeRepresentation() argument
348 sreader.beginObject(); in deSerializeRepresentation()
351 while (sreader.hasNext()) { in deSerializeRepresentation()
352 sreader.nextName(); in deSerializeRepresentation()
353 sreader.beginObject(); in deSerializeRepresentation()
356 while (sreader.hasNext()) { in deSerializeRepresentation()
357 String name = sreader.nextName(); in deSerializeRepresentation()
359 stroke.mColor = sreader.nextInt(); in deSerializeRepresentation()
361 stroke.mRadius = (float) sreader.nextDouble(); in deSerializeRepresentation()
363 stroke.mType = (byte) sreader.nextInt(); in deSerializeRepresentation()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DImagePreset.java674 StringReader sreader = new StringReader(filterString); in readJsonFromString() local
676 JsonReader reader = new JsonReader(sreader); in readJsonFromString()
697 public boolean readJson(JsonReader sreader) throws IOException { in readJson() argument
698 sreader.beginObject(); in readJson()
700 while (sreader.hasNext()) { in readJson()
701 String name = sreader.nextName(); in readJson()
707 filter.deSerializeRepresentation(sreader); in readJson()
710 sreader.endObject(); in readJson()