Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
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()