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

1234

/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.cpp209 const unsigned int off = 0xffffffff; local
212 on, off, on, off, on, off, on, off,
213 off, on, off, on, off, on, off, on,
214 on, off, o
[all...]
/frameworks/native/opengl/tests/gl_basic/
H A Dgl_basic.cpp316 const unsigned int off = 0xffffffff;
319 on, off, on, off, on, off, on, off,
320 off, on, off, on, off, on, off, on,
321 on, off, o
[all...]
/frameworks/av/cmds/screenrecord/
H A DTextRenderer.cpp97 // It's guaranteed to be a power-of-two wide, but we cut off the height
217 size_t off = i * quadCoords;
218 vertices[off + 0] = vertLeft;
219 vertices[off + 1] = vertBottom;
220 vertices[off + 2] = vertRight;
221 vertices[off + 3] = vertBottom;
222 vertices[off + 4] = vertLeft;
223 vertices[off + 5] = vertTop;
224 vertices[off + 6] = vertLeft;
225 vertices[off
[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/binder/
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/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/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/java/android/net/
H A DLocalSocketImpl.java92 public int read(byte[] b, int off, int len) throws IOException { argument
97 if (off < 0 || len < 0 || (off + len) > b.length ) {
101 int ret = readba_native(b, off, len, myFd);
127 public void write (byte[] b, int off, int len) throws IOException { argument
132 if (off < 0 || len < 0 || (off + len) > b.length ) {
135 writeba_native(b, off, len, myFd);
172 private native int readba_native(byte[] b, int off, int len, argument
174 private native void writeba_native(byte[] b, int off, in argument
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocation.java832 private void data1DChecks(int off, int count, int len, int dataSize, boolean usePadding) { argument
834 if(off < 0) {
840 if((off + count) > mCurrentCount) {
842 ", got " + count + " at offset " + off + ".");
869 private void copy1DRangeFromUnchecked(int off, int count, Object array, argument
877 data1DChecks(off, count, arrayLen * dt.mSize, dataSize, usePadding);
878 mRS.nAllocationData1D(getIDSafe(), off, mSelectedLOD, count, array, dataSize, dt,
886 * @param off The offset of the first element to be copied.
890 public void copy1DRangeFromUnchecked(int off, int count, Object array) { argument
891 copy1DRangeFromUnchecked(off, coun
904 copy1DRangeFromUnchecked(int off, int count, int[] d) argument
916 copy1DRangeFromUnchecked(int off, int count, short[] d) argument
928 copy1DRangeFromUnchecked(int off, int count, byte[] d) argument
940 copy1DRangeFromUnchecked(int off, int count, float[] d) argument
954 copy1DRangeFrom(int off, int count, Object array) argument
969 copy1DRangeFrom(int off, int count, int[] d) argument
983 copy1DRangeFrom(int off, int count, short[] d) argument
997 copy1DRangeFrom(int off, int count, byte[] d) argument
1011 copy1DRangeFrom(int off, int count, float[] d) argument
1025 copy1DRangeFrom(int off, int count, Allocation data, int dataOff) argument
1419 copy1DRangeToUnchecked(int off, int count, Object array, Element.DataType dt, int arrayLen) argument
1440 copy1DRangeToUnchecked(int off, int count, Object array) argument
1454 copy1DRangeToUnchecked(int off, int count, int[] d) argument
1466 copy1DRangeToUnchecked(int off, int count, short[] d) argument
1478 copy1DRangeToUnchecked(int off, int count, byte[] d) argument
1490 copy1DRangeToUnchecked(int off, int count, float[] d) argument
1504 copy1DRangeTo(int off, int count, Object array) argument
1519 copy1DRangeTo(int off, int count, int[] d) argument
1533 copy1DRangeTo(int off, int count, short[] d) argument
1547 copy1DRangeTo(int off, int count, byte[] d) argument
1561 copy1DRangeTo(int off, int count, float[] d) 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/compile/mclinker/lib/Target/Hexagon/
H A DHexagonRelocationFunctions.h26 size_t off = 0; local
29 const bool valBit = (pData >> off) & 1;
33 ++off;
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A DCube.java65 private static String fs(float[] f, int off, int n) { argument
68 for (int i = off; i < off + n; i++) {
71 if (i != off) {
/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/base/rs/java/android/renderscript/
H A DAllocation.java882 private void data1DChecks(int off, int count, int len, int dataSize, boolean usePadding) { argument
884 if(off < 0) {
890 if((off + count) > mCurrentCount) {
892 ", got " + count + " at offset " + off + ".");
919 private void copy1DRangeFromUnchecked(int off, int count, Object array, argument
929 data1DChecks(off, count, arrayLen * dt.mSize, dataSize, usePadding);
930 mRS.nAllocationData1D(getIDSafe(), off, mSelectedLOD, count, array, dataSize, dt,
941 * @param off The offset of the first element to be copied.
945 public void copy1DRangeFromUnchecked(int off, int count, Object array) { argument
946 copy1DRangeFromUnchecked(off, coun
959 copy1DRangeFromUnchecked(int off, int count, int[] d) argument
971 copy1DRangeFromUnchecked(int off, int count, short[] d) argument
983 copy1DRangeFromUnchecked(int off, int count, byte[] d) argument
995 copy1DRangeFromUnchecked(int off, int count, float[] d) argument
1009 copy1DRangeFrom(int off, int count, Object array) argument
1024 copy1DRangeFrom(int off, int count, int[] d) argument
1038 copy1DRangeFrom(int off, int count, short[] d) argument
1052 copy1DRangeFrom(int off, int count, byte[] d) argument
1066 copy1DRangeFrom(int off, int count, float[] d) argument
1080 copy1DRangeFrom(int off, int count, Allocation data, int dataOff) argument
1552 copy1DRangeToUnchecked(int off, int count, Object array, Element.DataType dt, int arrayLen) argument
1578 copy1DRangeToUnchecked(int off, int count, Object array) argument
1592 copy1DRangeToUnchecked(int off, int count, int[] d) argument
1604 copy1DRangeToUnchecked(int off, int count, short[] d) argument
1616 copy1DRangeToUnchecked(int off, int count, byte[] d) argument
1628 copy1DRangeToUnchecked(int off, int count, float[] d) argument
1642 copy1DRangeTo(int off, int count, Object array) argument
1657 copy1DRangeTo(int off, int count, int[] d) argument
1671 copy1DRangeTo(int off, int count, short[] d) argument
1685 copy1DRangeTo(int off, int count, byte[] d) argument
1699 copy1DRangeTo(int off, int count, float[] d) argument
[all...]
/frameworks/av/media/libstagefright/webm/
H A DWebmElement.cpp114 off64_t off = ::lseek64(fd, (size - 1), SEEK_CUR) - (size - 1); local
117 off64_t curOff = off + size;
118 off64_t alignedOff = off & ~(::sysconf(_SC_PAGE_SIZE) - 1);
120 off64_t pageOff = off - alignedOff;
247 uint64_t off = 0; local
251 child->serializeInto(buf + off);
252 off += child->totalSize();
258 sp<WebmElement> WebmElement::CuePointEntry(uint64_t time, int track, uint64_t off) { argument
261 cuePointEntryFields.push_back(new WebmUnsigned(kMkvCueClusterPosition, off));
270 sp<WebmElement> WebmElement::SeekEntry(uint64_t id, uint64_t off) { argument
[all...]
H A DWebmWriter.cpp111 off_t off = 0; local
114 codecPrivateData[off++] = 2;
116 off += XiphLaceEnc(codecPrivateData + off, headerSize1);
117 off += XiphLaceEnc(codecPrivateData + off, headerSize2);
119 memcpy(codecPrivateData + off, headerData1, headerSize1);
120 off += headerSize1;
121 memcpy(codecPrivateData + off, headerData2, headerSize2);
122 off
[all...]

Completed in 827 milliseconds

1234