HomeSort by relevance Sort by last modified time
    Searched refs:pgmLength (Results 1 - 5 of 5) 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);
  /frameworks/support/renderscript/v8/java/src/android/support/v8/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 Log.v(TAG, "Create script for resource = " + resName + ", " + pgmLength + ", " + pgm);
100 return rs.nScriptCCreate(resName, cachePath, pgm, pgmLength);
  /gdk/samples/bitmap-plasma-llvm/src/com/example/plasma/llvm/
Plasma.java 84 private int pgmLength;
107 pgmLength = 0;
109 int bytesLeft = pgm.length - pgmLength;
114 bytesLeft = pgm.length - pgmLength;
116 int bytesRead = is.read(pgm, pgmLength, bytesLeft);
120 pgmLength += bytesRead;
138 int frameRate = nativeRenderPlasma(mBitmap, System.currentTimeMillis() - mStartTime, pgm, pgmLength, llvm_mode);
  /gdk/samples/PhotoEditor/src/com/android/photoeditor/
PhotoEditor.java 50 int pgmLength;
57 pgmLength = 0;
60 int bytesLeft = pgm.length - pgmLength;
65 bytesLeft = pgm.length - pgmLength;
67 int bytesRead = is.read(pgm, pgmLength, bytesLeft);
71 pgmLength += bytesRead;
73 ImageUtils.init(pgm, pgmLength);
  /gdk/samples/PhotoEditor/src/com/android/photoeditor/filters/
ImageUtils.java 33 public static native boolean init(byte[] pgm, int pgmLength);

Completed in 94 milliseconds