Searched refs:off (Results 1 - 25 of 64) sorted by relevance

123

/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/native/opengl/tests/gl_basic/
H A Dgl_basic.cpp315 const unsigned int off = 0xffffffff;
318 on, off, on, off, on, off, on, off,
319 off, on, off, on, off, on, off, on,
320 on, off, o
[all...]
/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/native/libs/utils/
H A DDebug.cpp35 ssize_t off = sizeof(indentStr)-1-(indentLevel*2); local
36 return indentStr + (off < 0 ? 0 : off);
/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...]
/frameworks/base/graphics/java/android/renderscript/
H A DAllocationAdapter.java53 public void subData1D(int off, int count, int[] d) { argument
54 super.copy1DRangeFrom(off, count, d);
59 public void subData1D(int off, int count, short[] d) { argument
60 super.copy1DRangeFrom(off, count, d);
65 public void subData1D(int off, int count, byte[] d) { argument
66 super.copy1DRangeFrom(off, count, d);
71 public void subData1D(int off, int count, float[] d) { argument
72 super.copy1DRangeFrom(off, count, d);
H A DAllocation.java620 private void data1DChecks(int off, int count, int len, int dataSize) { argument
622 if(off < 0) {
628 if((off + count) > mCurrentCount) {
630 ", got " + count + " at offset " + off + ".");
656 * @param off The offset of the first element to be copied.
660 public void copy1DRangeFromUnchecked(int off, int count, int[] d) { argument
662 data1DChecks(off, count, d.length * 4, dataSize);
663 mRS.nAllocationData1D(getIDSafe(), off, mSelectedLOD, count, d, dataSize);
670 * @param off The offset of the first element to be copied.
674 public void copy1DRangeFromUnchecked(int off, in argument
688 copy1DRangeFromUnchecked(int off, int count, byte[] d) argument
702 copy1DRangeFromUnchecked(int off, int count, float[] d) argument
717 copy1DRangeFrom(int off, int count, int[] d) argument
731 copy1DRangeFrom(int off, int count, short[] d) argument
745 copy1DRangeFrom(int off, int count, byte[] d) argument
759 copy1DRangeFrom(int off, int count, float[] d) argument
773 copy1DRangeFrom(int off, int count, Allocation data, int dataOff) argument
[all...]
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DAllocationAdapter.java53 public void subData1D(int off, int count, int[] d) { argument
54 super.copy1DRangeFrom(off, count, d);
59 public void subData1D(int off, int count, short[] d) { argument
60 super.copy1DRangeFrom(off, count, d);
65 public void subData1D(int off, int count, byte[] d) { argument
66 super.copy1DRangeFrom(off, count, d);
71 public void subData1D(int off, int count, float[] d) { argument
72 super.copy1DRangeFrom(off, count, d);
H A DAllocation.java512 private void data1DChecks(int off, int count, int len, int dataSize) { argument
514 if(off < 0) {
520 if((off + count) > mCurrentCount) {
522 ", got " + count + " at offset " + off + ".");
548 * @param off The offset of the first element to be copied.
552 public void copy1DRangeFromUnchecked(int off, int count, int[] d) { argument
554 data1DChecks(off, count, d.length * 4, dataSize);
555 mRS.nAllocationData1D(getIDSafe(), off, mSelectedLOD, count, d, dataSize);
562 * @param off The offset of the first element to be copied.
566 public void copy1DRangeFromUnchecked(int off, in argument
580 copy1DRangeFromUnchecked(int off, int count, byte[] d) argument
594 copy1DRangeFromUnchecked(int off, int count, float[] d) argument
609 copy1DRangeFrom(int off, int count, int[] d) argument
623 copy1DRangeFrom(int off, int count, short[] d) argument
637 copy1DRangeFrom(int off, int count, byte[] d) argument
651 copy1DRangeFrom(int off, int count, float[] d) argument
665 copy1DRangeFrom(int off, int count, Allocation data, int dataOff) argument
[all...]
/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/rs/cpp/
H A DAllocation.cpp227 void Allocation::copy1DRangeFromUnchecked(uint32_t off, size_t count, const void *data, argument
234 if((off + count) > mCurrentCount) {
235 ALOGE("Overflow, Available count %zu, got %zu at offset %zu.", mCurrentCount, count, off);
243 rsAllocation1DData(mRS->mContext, getIDSafe(), off, mSelectedLOD, count, data, dataLen);
246 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, const int32_t *d, size_t dataLen) { argument
248 copy1DRangeFromUnchecked(off, count, d, dataLen);
251 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, const int16_t *d, size_t dataLen) { argument
253 copy1DRangeFromUnchecked(off, count, d, dataLen);
256 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, const int8_t *d, size_t dataLen) { argument
258 copy1DRangeFromUnchecked(off, coun
261 copy1DRangeFrom(uint32_t off, size_t count, const float *d, size_t dataLen) argument
266 copy1DRangeFrom(uint32_t off, size_t count, const Allocation *data, uint32_t dataOff) argument
[all...]
H A DAllocation.h89 void copy1DRangeFromUnchecked(uint32_t off, size_t count, const void *data, size_t dataLen);
90 void copy1DRangeFrom(uint32_t off, size_t count, const int32_t* d, size_t dataLen);
91 void copy1DRangeFrom(uint32_t off, size_t count, const int16_t* d, size_t dataLen);
92 void copy1DRangeFrom(uint32_t off, size_t count, const int8_t* d, size_t dataLen);
93 void copy1DRangeFrom(uint32_t off, size_t count, const float* d, size_t dataLen);
94 void copy1DRangeFrom(uint32_t off, size_t count, const Allocation *data, uint32_t dataOff);
/frameworks/base/core/java/android/net/
H A DLocalSocketImpl.java83 public int read(byte[] b, int off, int len) throws IOException { argument
88 if (off < 0 || len < 0 || (off + len) > b.length ) {
92 int ret = readba_native(b, off, len, myFd);
118 public void write (byte[] b, int off, int len) throws IOException { argument
123 if (off < 0 || len < 0 || (off + len) > b.length ) {
126 writeba_native(b, off, len, myFd);
144 private native int readba_native(byte[] b, int off, int len, argument
146 private native void writeba_native(byte[] b, int off, in argument
[all...]
/frameworks/base/core/java/android/view/
H A DGravity.java323 int off = 0;
324 if (inoutObj.top < display.top) off = display.top-inoutObj.top;
325 else if (inoutObj.bottom > display.bottom) off = display.bottom-inoutObj.bottom;
326 if (off != 0) {
331 inoutObj.top += off;
332 inoutObj.bottom += off;
341 int off = 0;
342 if (inoutObj.left < display.left) off = display.left-inoutObj.left;
343 else if (inoutObj.right > display.right) off = display.right-inoutObj.right;
344 if (off !
[all...]
/frameworks/base/media/java/android/drm/mobile1/
H A DDrmRawContent.java324 public int read(byte[] b, int off, int len) throws IOException { argument
327 if (off < 0 || len < 0 || off + len > b.length)
335 len = nativeReadContent(b, off, len, offset);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dwin_asm.bat1 echo off
/frameworks/base/core/java/android/text/method/
H A DMultiTapKeyListener.java72 int off = cap.ordinal() * 2 + (autotext ? 1 : 0);
74 if (sInstance[off] == null) {
75 sInstance[off] = new MultiTapKeyListener(cap, autotext);
78 return sInstance[off];
175 int off = 0;
180 off = i;
193 content.replace(selStart, selEnd, val, off, off + 1);
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 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/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
/frameworks/compile/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationPanelView.java85 final int off = (int) (getHeight() - mHandleBarHeight - getPaddingBottom());
86 canvas.translate(0, off);
89 canvas.translate(0, -off);

Completed in 313 milliseconds

123