Home
last modified time | relevance | path

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

1234567

/frameworks/native/opengl/tests/gl_jni/jni/
Dgl_code.cpp121 const unsigned int off = 0xffffffff; in create_texture() local
124 on, off, on, off, on, off, on, off, in create_texture()
125 off, on, off, on, off, on, off, on, in create_texture()
126 on, off, on, off, on, off, on, off, in create_texture()
127 off, on, off, on, off, on, off, on, in create_texture()
128 on, off, on, off, on, off, on, off, in create_texture()
129 off, on, off, on, off, on, off, on, in create_texture()
130 on, off, on, off, on, off, on, off, in create_texture()
131 off, on, off, on, off, on, off, on, in create_texture()
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp205 const unsigned int off = 0xffffffff; in create_texture() local
208 on, off, on, off, on, off, on, off, in create_texture()
209 off, on, off, on, off, on, off, on, in create_texture()
210 on, off, on, off, on, off, on, off, in create_texture()
211 off, on, off, on, off, on, off, on, in create_texture()
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()
/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/native/opengl/tests/gl_basic/
Dgl_basic.cpp314 const unsigned int off = 0xffffffff; in create_texture() local
317 on, off, on, off, on, off, on, off, in create_texture()
318 off, on, off, on, off, on, off, on, in create_texture()
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()
/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.java91 public char charAt(int off) { in charAt() argument
92 if (off >= mStart && off < mEnd) in charAt()
93 return mChars[off - mStart]; in charAt()
95 return mSource.charAt(off); in charAt()
107 public void getChars(int start, int end, char[] dest, int off) { in getChars() argument
108 TextUtils.getChars(mSource, start, end, dest, off); in getChars()
114 System.arraycopy(mChars, start - mStart, dest, off, end - start); in getChars()
DAutoText.java141 int off = mTrie[here + TRIE_OFF]; in lookup() local
142 int len = mText.charAt(off); in lookup()
144 return mText.substring(off + 1, off + 1 + len); in lookup()
184 char off; in init() local
187 off = ooff; in init()
189 off = (char) right.length(); in init()
194 add(src, off); in init()
211 private void add(String src, char off) { in add() argument
228 mTrie[mTrie[herep] + TRIE_OFF] = off; in add()
255 mTrie[mTrie[herep] + TRIE_OFF] = off; in add()
/frameworks/rs/support/java/src/androidx/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/base/core/java/android/net/
DLocalSocketImpl.java104 public int read(byte[] b, int off, int len) throws IOException { in read() argument
109 if (off < 0 || len < 0 || (off + len) > b.length ) { in read()
113 int ret = readba_native(b, off, len, myFd); in read()
139 public void write (byte[] b, int off, int len) throws IOException { in write() argument
144 if (off < 0 || len < 0 || (off + len) > b.length ) { in write()
147 writeba_native(b, off, len, myFd); in write()
163 private native int readba_native(byte[] b, int off, int len, in readba_native() argument
165 private native void writeba_native(byte[] b, int off, int len, in writeba_native() argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DREADME.txt30 state information (screen on/off, battery state, sleep policy) go as input into
36 … tethering toggle, scan mode toggle) and provides API to figure if wifi should be turned on or off.
46 Scan-only mode with Wi-Fi turned off:
48off Wi-Fi from settings or from a third party app will show up a dialog reminding the user that sc…
49 …- In the scan mode, the device continues to allow scanning from any app with Wi-Fi turned off. Thi…
/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.cpp273 jbyteArray buffer, jint off, jint len, jobject fileDescriptor) in socket_readba() argument
284 if (off < 0 || len < 0 || (off + len) > env->GetArrayLength(buffer)) { in socket_readba()
308 fd, byteBuffer + off, len); in socket_readba()
340 jbyteArray buffer, jint off, jint len, jobject fileDescriptor) in socket_writeba() argument
351 if (off < 0 || len < 0 || (off + len) > env->GetArrayLength(buffer)) { in socket_writeba()
370 byteBuffer + off, len); in socket_writeba()
/frameworks/base/core/java/android/text/method/
DMultiTapKeyListener.java75 int off = cap.ordinal() * 2 + (autotext ? 1 : 0); in getInstance() local
77 if (sInstance[off] == null) { in getInstance()
78 sInstance[off] = new MultiTapKeyListener(cap, autotext); in getInstance()
81 return sInstance[off]; in getInstance()
178 int off = 0; in onKeyDown() local
183 off = i; in onKeyDown()
196 content.replace(selStart, selEnd, val, off, off + 1); in onKeyDown()
DTextKeyListener.java89 int off = cap.ordinal() * 2 + (autotext ? 1 : 0); in getInstance() local
91 if (sInstance[off] == null) { in getInstance()
92 sInstance[off] = new TextKeyListener(cap, autotext); in getInstance()
95 return sInstance[off]; in getInstance()
116 public static boolean shouldCap(Capitalize cap, CharSequence cs, int off) { in shouldCap() argument
127 return TextUtils.getCapsMode(cs, off, cap == Capitalize.WORDS in shouldCap()
/frameworks/base/core/java/android/util/
DBase64OutputStream.java101 public void write(byte[] b, int off, int len) throws IOException { in write() argument
104 internalWrite(b, off, len, false); in write()
141 private void internalWrite(byte[] b, int off, int len, boolean finish) throws IOException { in internalWrite() argument
143 if (!coder.process(b, off, len, finish)) { in internalWrite()
/frameworks/av/media/libstagefright/webm/
DWebmWriter.cpp167 off_t off = 0; in audioTrack() local
171 memcpy(codecPrivateData + off, (uint8_t*)header_data, headerSize); in audioTrack()
197 off_t off = 0; in audioTrack() local
200 codecPrivateData[off++] = 2; in audioTrack()
202 off += XiphLaceEnc(codecPrivateData + off, headerSize1); in audioTrack()
203 off += XiphLaceEnc(codecPrivateData + off, headerSize2); in audioTrack()
205 memcpy(codecPrivateData + off, headerData1, headerSize1); in audioTrack()
206 off += headerSize1; in audioTrack()
207 memcpy(codecPrivateData + off, headerData2, headerSize2); in audioTrack()
208 off += headerSize2; in audioTrack()
[all …]
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/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/tests/java_api/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/layoutlib/remote/common/src/com/android/layout/remote/util/
DStreamUtil.java46 public int read(byte[] b, int off, int len) throws IOException { in getInputStream() argument
48 byte[] read = is.read(off, len); in getInputStream()
50 System.arraycopy(read, 0, b, off, actualLength); in getInputStream()
/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/base/core/proto/android/os/
Denums.proto124 // will be allowed to go off.
128 // backlight will be allowed to go off. If the user presses the power
130 // the system, causing both the screen and the CPU to be turned off.
134 // backlight will be allowed to go off. If the user presses the power
136 // by the system, causing both the screen and the CPU to be turned off.
142 // both the screen and the CPU to be turned off.
145 // Turns the screen off when the proximity sensor activates. If the
147 // off immediately. Shortly after the object moves away, the screen
154 // turned off by the proximity sensor because it effectively counts as

1234567