HomeSort by relevance Sort by last modified time
    Searched refs:pgmLength (Results 1 - 7 of 7) sorted by null

  /frameworks/base/graphics/java/android/renderscript/
ScriptC.java 68 int pgmLength;
73 pgmLength = 0;
75 int bytesLeft = pgm.length - pgmLength;
80 bytesLeft = pgm.length - pgmLength;
82 int bytesRead = is.read(pgm, pgmLength, bytesLeft);
86 pgmLength += bytesRead;
98 return rs.nScriptCCreate(resName, rs.mCachePath, pgm, pgmLength);
  /gdk/samples/bitmap-plasma-llvm/src/com/example/plasma/llvm/
Plasma.java 83 private int pgmLength;
102 pgmLength = 0;
104 int bytesLeft = pgm.length - pgmLength;
109 bytesLeft = pgm.length - pgmLength;
111 int bytesRead = is.read(pgm, pgmLength, bytesLeft);
115 pgmLength += bytesRead;
131 int frameRate = nativeRenderPlasma(mBitmap, System.currentTimeMillis() - mStartTime, pgm, pgmLength, mode);
  /gdk/samples/quake/src/com/android/quake/llvm/
QuakeLib.java 140 public QuakeLib(byte[] pgm, int pgmLength) {
141 compile_bc(pgm, pgmLength);
144 private native boolean compile_bc(byte[] pgm, int pgmLength);
QuakeActivity.java 57 int pgmLength;
64 pgmLength = 0;
67 int bytesLeft = pgm.length - pgmLength;
72 bytesLeft = pgm.length - pgmLength;
74 int bytesRead = is.read(pgm, pgmLength, bytesLeft);
78 pgmLength += bytesRead;
89 mQuakeLib = new QuakeLib(pgm, pgmLength);
QuakeView.java 221 int pgmLength;
  /gdk/samples/PhotoEditor/src/com/android/photoeditor/
PhotoEditor.java 48 int pgmLength;
55 pgmLength = 0;
58 int bytesLeft = pgm.length - pgmLength;
63 bytesLeft = pgm.length - pgmLength;
65 int bytesRead = is.read(pgm, pgmLength, bytesLeft);
69 pgmLength += bytesRead;
71 ImageUtils.init(pgm, pgmLength);
  /gdk/samples/PhotoEditor/src/com/android/photoeditor/filters/
ImageUtils.java 32 public static native boolean init(byte[] pgm, int pgmLength);

Completed in 110 milliseconds