Searched defs:off (Results 1 - 25 of 53) sorted by relevance

123

/frameworks/base/core/java/com/android/server/
H A DResettableTimeout.java43 public abstract void off(); method in class:ResettableTimeout
49 * <p>3. At the timeout, calls off()<p>
81 * Cancel the timeout and call off now.
93 off();
109 off();
125 // turn it off at this time.
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DByteBufferInputStream.java39 public int read(byte[] bytes, int off, int len) { argument
45 mBuf.get(bytes, off, len);
H A DCountedDataInputStream.java51 public int read(byte[] b, int off, int len) throws IOException { argument
52 int r = in.read(b, off, len);
82 public void readOrThrow(byte[] b, int off, int len) throws IOException { argument
83 int r = read(b, off, len);
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonRelocationFunctions.h23 size_t off = 0; local
26 const bool valBit = (pData >> off) & 1;
30 ++off;
/frameworks/base/core/java/android/util/
H A DBase64OutputStream.java98 public void write(byte[] b, int off, int len) throws IOException { argument
101 internalWrite(b, off, len, false);
136 private void internalWrite(byte[] b, int off, int len, boolean finish) throws IOException { argument
138 if (!coder.process(b, off, len, finish)) {
H A DBase64InputStream.java119 public int read(byte[] b, int off, int len) throws IOException { argument
127 System.arraycopy(coder.output, outputStart, b, off, bytes);
/frameworks/base/core/jni/
H A Dandroid_util_StringBlock.cpp36 jint off, jint len)
44 if (off < 0 || off >= bLen || len < 0 || len > bLen || (off+len) > bLen) {
50 ResStringPool* osb = new ResStringPool(b+off, len, true);
34 android_content_StringBlock_nativeCreate(JNIEnv* env, jobject clazz, jbyteArray bArray, jint off, jint len) argument
H A Dandroid_util_XmlBlock.cpp36 jint off, jint len)
44 if (off < 0 || off >= bLen || len < 0 || len > bLen || (off+len) > bLen) {
50 ResXMLTree* osb = new ResXMLTree(b+off, len, true);
34 android_content_XmlBlock_nativeCreate(JNIEnv* env, jobject clazz, jbyteArray bArray, jint off, jint len) argument
/frameworks/base/core/java/android/text/
H A DAlteredCharSequence.java89 public char charAt(int off) { argument
90 if (off >= mStart && off < mEnd)
91 return mChars[off - mStart];
93 return mSource.charAt(off);
105 public void getChars(int start, int end, char[] dest, int off) { argument
106 TextUtils.getChars(mSource, start, end, dest, off);
112 System.arraycopy(mChars, start - mStart, dest, off, end - start);
H A DAutoText.java38 // int off;
142 int off = mTrie[here + TRIE_OFF];
143 int len = mText.charAt(off);
145 return mText.substring(off + 1, off + 1 + len);
185 char off;
188 off = ooff;
190 off = (char) right.length();
195 add(src, off);
212 private void add(String src, char off) { argument
[all...]
H A DSpannableStringInternal.java69 public final void getChars(int start, int end, char[] dest, int off) { argument
70 mText.getChars(start, end, dest, off);
/frameworks/base/core/java/android/text/method/
H A DReplacementTransformationMethod.java150 public void getChars(int start, int end, char[] dest, int off) { argument
151 TextUtils.getChars(mSource, start, end, dest, off);
152 int offend = end - start + off;
155 for (int i = off; i < offend; i++) {
H A DPasswordTransformationMethod.java189 public void getChars(int start, int end, char[] dest, int off) { argument
190 TextUtils.getChars(mSource, start, end, dest, off);
227 dest[i - start + off] = DOT;
H A DTextKeyListener.java84 int off = cap.ordinal() * 2 + (autotext ? 1 : 0);
86 if (sInstance[off] == null) {
87 sInstance[off] = new TextKeyListener(cap, autotext);
90 return sInstance[off];
107 * @param off the offset into that text where the insertion is being made.
111 public static boolean shouldCap(Capitalize cap, CharSequence cs, int off) { argument
122 return TextUtils.getCapsMode(cs, off, cap == Capitalize.WORDS
/frameworks/base/graphics/java/android/renderscript/
H A DAllocationAdapter.java54 public void subData1D(int off, int count, int[] d) { argument
55 super.copy1DRangeFrom(off, count, d);
60 public void subData1D(int off, int count, short[] d) { argument
61 super.copy1DRangeFrom(off, count, d);
66 public void subData1D(int off, int count, byte[] d) { argument
67 super.copy1DRangeFrom(off, count, d);
72 public void subData1D(int off, int count, float[] d) { argument
73 super.copy1DRangeFrom(off, count, d);
/frameworks/rs/cpu_ref/linkloader/utils/
H A Dserialize.h86 void seek(off_t off, bool from_begin = false) { argument
88 cursor = buf_begin + off;
90 cursor += off;
/frameworks/base/core/tests/coretests/src/android/text/
H A DTextUtilsTest.java408 public char charAt(int off) { argument
409 return mString.charAt(off);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DSerializedFrame.java97 public final void write(byte b[], int off, int len) { argument
99 System.arraycopy(b, off, mBuffer, mOffset, len);
144 public final int read(byte[] b, int off, int len) { argument
151 System.arraycopy(mBuffer, mPos, b, off, len);
/frameworks/native/libs/binder/
H A DDebug.cpp35 ssize_t off = sizeof(indentStr)-1-(indentLevel*2); local
36 return indentStr + (off < 0 ? 0 : off);
/frameworks/native/opengl/tests/gl_jni/jni/
H A Dgl_code.cpp116 const unsigned int off = 0xffffffff; local
119 on, off, on, off, on, off, on, off,
120 off, on, off, on, off, on, off, on,
121 on, off, o
[all...]
/frameworks/native/opengl/tests/tritex/
H A Dtritex.cpp208 const unsigned int off = 0xffffffff; local
211 on, off, on, off, on, off, on, off,
212 off, on, off, on, off, on, off, on,
213 on, off, o
[all...]
/frameworks/rs/cpp/
H A DAllocation.cpp176 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, const void *data) { argument
182 if((off + count) > mCurrentCount) {
183 ALOGE("Overflow, Available count %zu, got %zu at offset %zu.", mCurrentCount, count, off);
188 tryDispatch(mRS, RS::dispatch->Allocation1DData(mRS->getContext(), getIDSafe(), off, mSelectedLOD,
192 void Allocation::copy1DRangeTo(uint32_t off, size_t count, void *data) { argument
197 if((off + count) > mCurrentCount) {
198 ALOGE("Overflow, Available count %zu, got %zu at offset %zu.", mCurrentCount, count, off);
203 tryDispatch(mRS, RS::dispatch->Allocation1DRead(mRS->getContext(), getIDSafe(), off, mSelectedLOD,
207 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, sp<const Allocation> data, argument
210 tryDispatch(mRS, RS::dispatch->AllocationCopy2DRange(mRS->getContext(), getIDSafe(), off,
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicColorMatrix.cpp336 size_t off = (target - buf - 8) >> 2; local
337 rsAssert(((off & 0xff000000) == 0) ||
338 ((off & 0xff000000) == 0xff000000));
342 op |= 0xffffff & off;
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocationThunker.java223 public void copy1DRangeFromUnchecked(int off, int count, int[] d) { argument
225 mN.copy1DRangeFromUnchecked(off, count, d);
230 public void copy1DRangeFromUnchecked(int off, int count, short[] d) { argument
232 mN.copy1DRangeFromUnchecked(off, count, d);
237 public void copy1DRangeFromUnchecked(int off, int count, byte[] d) { argument
239 mN.copy1DRangeFromUnchecked(off, count, d);
244 public void copy1DRangeFromUnchecked(int off, int count, float[] d) { argument
246 mN.copy1DRangeFromUnchecked(off, count, d);
252 public void copy1DRangeFrom(int off, int count, int[] d) { argument
254 mN.copy1DRangeFrom(off, coun
259 copy1DRangeFrom(int off, int count, short[] d) argument
266 copy1DRangeFrom(int off, int count, byte[] d) argument
273 copy1DRangeFrom(int off, int count, float[] d) argument
281 copy1DRangeFrom(int off, int count, Allocation data, int dataOff) argument
[all...]
/frameworks/base/core/java/android/net/
H A DLocalSocketImpl.java89 public int read(byte[] b, int off, int len) throws IOException { argument
94 if (off < 0 || len < 0 || (off + len) > b.length ) {
98 int ret = readba_native(b, off, len, myFd);
124 public void write (byte[] b, int off, int len) throws IOException { argument
129 if (off < 0 || len < 0 || (off + len) > b.length ) {
132 writeba_native(b, off, len, myFd);
169 private native int readba_native(byte[] b, int off, int len, argument
171 private native void writeba_native(byte[] b, int off, in argument
[all...]

Completed in 6009 milliseconds

123