Home
last modified time | relevance | path

Searched refs:mScratch (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/util/
DProfileData.java51 private byte mScratch[] = new byte[4]; // scratch space for writeInt() field in ProfileData
161 mScratch[0] = (byte) v; in writeInt()
162 mScratch[1] = (byte) (v >> 8); in writeInt()
163 mScratch[2] = (byte) (v >> 16); in writeInt()
164 mScratch[3] = (byte) (v >> 24); in writeInt()
165 mOut.write(mScratch); in writeInt()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/util/
DProfileTest.java114 private byte[] mScratch = new byte[4]; // scratch buffer for readInt field in ParsedProfile
173 mIn.read(mScratch, 0, 4); in readInt()
174 return (mScratch[0] & 0xff) | in readInt()
175 ((mScratch[1] & 0xff) << 8) | in readInt()
176 ((mScratch[2] & 0xff) << 16) | in readInt()
177 ((mScratch[3] & 0xff) << 24); in readInt()