Home
last modified time | relevance | path

Searched refs:off (Results 1 – 25 of 231) sorted by relevance

12345678910

/frameworks/native/opengl/tests/gl_jni/jni/
Dgl_code.cpp116 const unsigned int off = 0xffffffff; in create_texture() local
119 on, off, on, off, on, off, on, off, in create_texture()
120 off, on, off, on, off, on, off, on, in create_texture()
121 on, off, on, off, on, off, on, off, in create_texture()
122 off, on, off, on, off, on, off, on, in create_texture()
123 on, off, on, off, on, off, on, off, in create_texture()
124 off, on, off, on, off, on, off, on, in create_texture()
125 on, off, on, off, on, off, on, off, in create_texture()
126 off, on, off, on, off, on, off, on, in create_texture()
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp209 const unsigned int off = 0xffffffff; in create_texture() local
212 on, off, on, off, on, off, on, off, in create_texture()
213 off, on, off, on, off, on, off, on, in create_texture()
214 on, off, on, off, on, off, on, off, in create_texture()
215 off, on, off, on, off, on, off, on, in create_texture()
216 on, off, on, off, on, off, on, off, in create_texture()
217 off, on, off, on, off, on, off, on, in create_texture()
218 on, off, on, off, on, off, on, off, in create_texture()
219 off, on, off, on, off, on, off, on, in create_texture()
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp316 const unsigned int off = 0xffffffff; in create_texture() local
319 on, off, on, off, on, off, on, off, in create_texture()
320 off, on, off, on, off, on, off, on, in create_texture()
321 on, off, on, off, on, off, on, off, in create_texture()
322 off, on, off, on, off, on, off, on, in create_texture()
323 on, off, on, off, on, off, on, off, in create_texture()
324 off, on, off, on, off, on, off, on, in create_texture()
325 on, off, on, off, on, off, on, off, in create_texture()
326 off, on, off, on, off, on, off, on, in create_texture()
/frameworks/base/core/java/com/android/internal/util/
DLineBreakBufferedWriter.java118 public void write(char[] buf, int off, int len) { in write() argument
125 if (buf[off + i] == '\n') { in write()
136 appendToBuffer(buf, off, nextNewLine); in write()
140 off += nextNewLine + 1; in write()
150 appendToBuffer(buf, off, rest); in write()
153 off += rest; in write()
161 appendToBuffer(buf, off, len); in write()
163 if (buf[off + i] == '\n') { in write()
172 public void write(String s, int off, int len) { in write() argument
179 if (s.charAt(off + i) == '\n') { in write()
[all …]
/frameworks/av/cmds/screenrecord/
DTextRenderer.cpp217 size_t off = i * quadCoords; in drawString() local
218 vertices[off + 0] = vertLeft; in drawString()
219 vertices[off + 1] = vertBottom; in drawString()
220 vertices[off + 2] = vertRight; in drawString()
221 vertices[off + 3] = vertBottom; in drawString()
222 vertices[off + 4] = vertLeft; in drawString()
223 vertices[off + 5] = vertTop; in drawString()
224 vertices[off + 6] = vertLeft; in drawString()
225 vertices[off + 7] = vertTop; in drawString()
226 vertices[off + 8] = vertRight; in drawString()
[all …]
/frameworks/base/core/java/android/text/
DAlteredCharSequence.java89 public char charAt(int off) { in charAt() argument
90 if (off >= mStart && off < mEnd) in charAt()
91 return mChars[off - mStart]; in charAt()
93 return mSource.charAt(off); in charAt()
105 public void getChars(int start, int end, char[] dest, int off) { in getChars() argument
106 TextUtils.getChars(mSource, start, end, dest, off); in getChars()
112 System.arraycopy(mChars, start - mStart, dest, off, end - start); in getChars()
DAutoText.java142 int off = mTrie[here + TRIE_OFF]; in lookup() local
143 int len = mText.charAt(off); in lookup()
145 return mText.substring(off + 1, off + 1 + len); in lookup()
185 char off; in init() local
188 off = ooff; in init()
190 off = (char) right.length(); in init()
195 add(src, off); in init()
212 private void add(String src, char off) { in add() argument
229 mTrie[mTrie[herep] + TRIE_OFF] = off; in add()
256 mTrie[mTrie[herep] + TRIE_OFF] = off; in add()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DAllocation.java1082 private void data1DChecks(int off, int count, int len, int dataSize, boolean usePadding) { in data1DChecks() argument
1084 if(off < 0) { in data1DChecks()
1090 if((off + count) > mCurrentCount) { in data1DChecks()
1092 ", got " + count + " at offset " + off + "."); in data1DChecks()
1119 private void copy1DRangeFromUnchecked(int off, int count, Object array, in copy1DRangeFromUnchecked() argument
1127 data1DChecks(off, count, arrayLen * dt.mSize, dataSize, usePadding); in copy1DRangeFromUnchecked()
1128 mRS.nAllocationData1D(getIDSafe(), off, mSelectedLOD, count, array, dataSize, dt, in copy1DRangeFromUnchecked() local
1154 public void copy1DRangeFromUnchecked(int off, int count, Object array) { in copy1DRangeFromUnchecked() argument
1155 copy1DRangeFromUnchecked(off, count, array, in copy1DRangeFromUnchecked()
1182 public void copy1DRangeFromUnchecked(int off, int count, int[] d) { in copy1DRangeFromUnchecked() argument
[all …]
/frameworks/base/core/java/android/view/
DGravity.java323 int off = 0; in applyDisplay() local
324 if (inoutObj.top < display.top) off = display.top-inoutObj.top; in applyDisplay()
325 else if (inoutObj.bottom > display.bottom) off = display.bottom-inoutObj.bottom; in applyDisplay()
326 if (off != 0) { in applyDisplay()
331 inoutObj.top += off; in applyDisplay()
332 inoutObj.bottom += off; in applyDisplay()
341 int off = 0; in applyDisplay() local
342 if (inoutObj.left < display.left) off = display.left-inoutObj.left; in applyDisplay()
343 else if (inoutObj.right > display.right) off = display.right-inoutObj.right; in applyDisplay()
344 if (off != 0) { in applyDisplay()
[all …]
/frameworks/base/rs/java/android/renderscript/
DAllocation.java1100 private void data1DChecks(int off, int count, int len, int dataSize, boolean usePadding) { in data1DChecks() argument
1102 if(off < 0) { in data1DChecks()
1108 if((off + count) > mCurrentCount) { in data1DChecks()
1110 ", got " + count + " at offset " + off + "."); in data1DChecks()
1137 private void copy1DRangeFromUnchecked(int off, int count, Object array, in copy1DRangeFromUnchecked() argument
1147 data1DChecks(off, count, arrayLen * dt.mSize, dataSize, usePadding); in copy1DRangeFromUnchecked()
1148 mRS.nAllocationData1D(getIDSafe(), off, mSelectedLOD, count, array, dataSize, dt, in copy1DRangeFromUnchecked() local
1178 public void copy1DRangeFromUnchecked(int off, int count, Object array) { in copy1DRangeFromUnchecked() argument
1179 copy1DRangeFromUnchecked(off, count, array, in copy1DRangeFromUnchecked()
1206 public void copy1DRangeFromUnchecked(int off, int count, int[] d) { in copy1DRangeFromUnchecked() argument
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DREADME.txt13 …Manager 3rd party API. The API and the device state information (screen on/off, battery state, sle…
17 … tethering toggle, scan mode toggle) and provides API to figure if wifi should be turned on or off.
27 Scan-only mode with Wi-Fi turned off:
29off Wi-Fi from settings or from a third party app will show up a dialog reminding the user that sc…
30 …- In the scan mode, the device continues to allow scanning from any app with Wi-Fi turned off. Thi…
/frameworks/base/core/java/android/net/
DLocalSocketImpl.java101 public int read(byte[] b, int off, int len) throws IOException { in read() argument
106 if (off < 0 || len < 0 || (off + len) > b.length ) { in read()
110 int ret = readba_native(b, off, len, myFd); in read()
136 public void write (byte[] b, int off, int len) throws IOException { in write() argument
141 if (off < 0 || len < 0 || (off + len) > b.length ) { in write()
144 writeba_native(b, off, len, myFd); in write()
194 private native int readba_native(byte[] b, int off, int len, in readba_native() argument
196 private native void writeba_native(byte[] b, int off, int len, in writeba_native() argument
/frameworks/base/core/java/android/text/method/
DMultiTapKeyListener.java72 int off = cap.ordinal() * 2 + (autotext ? 1 : 0); in getInstance() local
74 if (sInstance[off] == null) { in getInstance()
75 sInstance[off] = new MultiTapKeyListener(cap, autotext); in getInstance()
78 return sInstance[off]; in getInstance()
175 int off = 0; in onKeyDown() local
180 off = i; in onKeyDown()
193 content.replace(selStart, selEnd, val, off, off + 1); in onKeyDown()
DTextKeyListener.java84 int off = cap.ordinal() * 2 + (autotext ? 1 : 0); in getInstance() local
86 if (sInstance[off] == null) { in getInstance()
87 sInstance[off] = new TextKeyListener(cap, autotext); in getInstance()
90 return sInstance[off]; in getInstance()
111 public static boolean shouldCap(Capitalize cap, CharSequence cs, int off) { in shouldCap() argument
122 return TextUtils.getCapsMode(cs, off, cap == Capitalize.WORDS in shouldCap()
DReplacementTransformationMethod.java150 public void getChars(int start, int end, char[] dest, int off) { in getChars() argument
151 TextUtils.getChars(mSource, start, end, dest, off); in getChars()
152 int offend = end - start + off; in getChars()
155 for (int i = off; i < offend; i++) { in getChars()
/frameworks/base/core/jni/
Dandroid_util_StringBlock.cpp36 jint off, jint len) in android_content_StringBlock_nativeCreate() argument
44 if (off < 0 || off >= bLen || len < 0 || len > bLen || (off+len) > bLen) { in android_content_StringBlock_nativeCreate()
50 ResStringPool* osb = new ResStringPool(b+off, len, true); in android_content_StringBlock_nativeCreate()
Dandroid_net_LocalSocketImpl.cpp354 jbyteArray buffer, jint off, jint len, jobject fileDescriptor) in socket_readba() argument
365 if (off < 0 || len < 0 || (off + len) > env->GetArrayLength(buffer)) { in socket_readba()
389 fd, byteBuffer + off, len); in socket_readba()
421 jbyteArray buffer, jint off, jint len, jobject fileDescriptor) in socket_writeba() argument
432 if (off < 0 || len < 0 || (off + len) > env->GetArrayLength(buffer)) { in socket_writeba()
451 byteBuffer + off, len); in socket_writeba()
/frameworks/base/core/java/android/util/
DBase64OutputStream.java98 public void write(byte[] b, int off, int len) throws IOException { in write() argument
101 internalWrite(b, off, len, false); in write()
136 private void internalWrite(byte[] b, int off, int len, boolean finish) throws IOException { in internalWrite() argument
138 if (!coder.process(b, off, len, finish)) { in internalWrite()
/frameworks/base/core/java/com/android/server/
DResettableTimeout.java43 public abstract void off(); in off() method in ResettableTimeout
93 off(); in cancel()
109 off(); in run()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DCountedDataInputStream.java51 public int read(byte[] b, int off, int len) throws IOException { in read() argument
52 int r = in.read(b, off, len); in read()
82 public void readOrThrow(byte[] b, int off, int len) throws IOException { in readOrThrow() argument
83 int r = read(b, off, len); in readOrThrow()
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
DCube.java65 private static String fs(float[] f, int off, int n) { in fs() argument
68 for (int i = off; i < off + n; i++) { in fs()
71 if (i != off) { in fs()
/frameworks/av/media/libstagefright/webm/
DWebmWriter.cpp136 off_t off = 0; in audioTrack() local
139 codecPrivateData[off++] = 2; in audioTrack()
141 off += XiphLaceEnc(codecPrivateData + off, headerSize1); in audioTrack()
142 off += XiphLaceEnc(codecPrivateData + off, headerSize2); in audioTrack()
144 memcpy(codecPrivateData + off, headerData1, headerSize1); in audioTrack()
145 off += headerSize1; in audioTrack()
146 memcpy(codecPrivateData + off, headerData2, headerSize2); in audioTrack()
147 off += headerSize2; in audioTrack()
148 memcpy(codecPrivateData + off, headerData3, headerSize3); in audioTrack()
DWebmElement.cpp116 off64_t off = ::lseek64(fd, (size - 1), SEEK_CUR) - (size - 1); in write() local
119 off64_t curOff = off + size; in write()
120 off64_t alignedOff = off & ~(::sysconf(_SC_PAGE_SIZE) - 1); in write()
122 off64_t pageOff = off - alignedOff; in write()
249 uint64_t off = 0; in serializePayload() local
253 child->serializeInto(buf + off); in serializePayload()
254 off += child->totalSize(); in serializePayload()
260 sp<WebmElement> WebmElement::CuePointEntry(uint64_t time, int track, uint64_t off) { in CuePointEntry() argument
263 cuePointEntryFields.push_back(new WebmUnsigned(kMkvCueClusterPosition, off)); in CuePointEntry()
272 sp<WebmElement> WebmElement::SeekEntry(uint64_t id, uint64_t off) { in SeekEntry() argument
[all …]
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreSignatureSpiBase.java254 protected final void engineUpdate(byte[] b, int off, int len) throws SignatureException { in engineUpdate() argument
271 output = mMessageStreamer.update(b, off, len); in engineUpdate()
290 int off; in engineUpdate() local
294 off = input.arrayOffset() + input.position(); in engineUpdate()
298 off = 0; in engineUpdate()
303 engineUpdate(b, off, len); in engineUpdate()
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonRelocationFunctions.h26 size_t off = 0; in ApplyMask() local
29 const bool valBit = (pData >> off) & 1; in ApplyMask()
33 ++off; in ApplyMask()

12345678910