Home
last modified time | relevance | path

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

123456789

/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/av/cmds/screenrecord/
DTextRenderer.cpp215 size_t off = i * quadCoords; in drawString() local
216 vertices[off + 0] = vertLeft; in drawString()
217 vertices[off + 1] = vertBottom; in drawString()
218 vertices[off + 2] = vertRight; in drawString()
219 vertices[off + 3] = vertBottom; in drawString()
220 vertices[off + 4] = vertLeft; in drawString()
221 vertices[off + 5] = vertTop; in drawString()
222 vertices[off + 6] = vertLeft; in drawString()
223 vertices[off + 7] = vertTop; in drawString()
224 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/base/rs/java/android/renderscript/
DAllocationAdapter.java49 public void subData1D(int off, int count, int[] d) { in subData1D() argument
50 super.copy1DRangeFrom(off, count, d); in subData1D()
55 public void subData1D(int off, int count, short[] d) { in subData1D() argument
56 super.copy1DRangeFrom(off, count, d); in subData1D()
61 public void subData1D(int off, int count, byte[] d) { in subData1D() argument
62 super.copy1DRangeFrom(off, count, d); in subData1D()
67 public void subData1D(int off, int count, float[] d) { in subData1D() argument
68 super.copy1DRangeFrom(off, count, d); in subData1D()
DAllocation.java821 private void data1DChecks(int off, int count, int len, int dataSize) { in data1DChecks() argument
823 if(off < 0) { in data1DChecks()
829 if((off + count) > mCurrentCount) { in data1DChecks()
831 ", got " + count + " at offset " + off + "."); in data1DChecks()
852 private void copy1DRangeFromUnchecked(int off, int count, Object array, in copy1DRangeFromUnchecked() argument
856 data1DChecks(off, count, arrayLen * dt.mSize, dataSize); in copy1DRangeFromUnchecked()
857 mRS.nAllocationData1D(getIDSafe(), off, mSelectedLOD, count, array, dataSize, dt); in copy1DRangeFromUnchecked() local
869 public void copy1DRangeFromUnchecked(int off, int count, Object array) { in copy1DRangeFromUnchecked() argument
870 copy1DRangeFromUnchecked(off, count, array, in copy1DRangeFromUnchecked()
883 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/core/jni/android/graphics/
DMinikinUtils.cpp30 static int snprintfcat(char* buf, int off, int size, const char* format, ...)
32 static int snprintfcat(char* buf, int off, int size, const char* format, ...) { in snprintfcat() argument
35 int n = vsnprintf(buf + off, size - off, format, args); in snprintfcat()
36 LOG_ALWAYS_FATAL_IF(n >= size - off, "String overflow in setting layout properties"); in snprintfcat()
38 return off + n; in snprintfcat()
/frameworks/base/core/java/android/net/
DLocalSocketImpl.java92 public int read(byte[] b, int off, int len) throws IOException { in read() argument
97 if (off < 0 || len < 0 || (off + len) > b.length ) { in read()
101 int ret = readba_native(b, off, len, myFd); in read()
127 public void write (byte[] b, int off, int len) throws IOException { in write() argument
132 if (off < 0 || len < 0 || (off + len) > b.length ) { in write()
135 writeba_native(b, off, len, myFd); in write()
172 private native int readba_native(byte[] b, int off, int len, in readba_native() argument
174 private native void writeba_native(byte[] b, int off, int len, in writeba_native() argument
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DAllocationThunker.java237 public void copy1DRangeFromUnchecked(int off, int count, int[] d) { in copy1DRangeFromUnchecked() argument
239 mN.copy1DRangeFromUnchecked(off, count, d); in copy1DRangeFromUnchecked()
244 public void copy1DRangeFromUnchecked(int off, int count, short[] d) { in copy1DRangeFromUnchecked() argument
246 mN.copy1DRangeFromUnchecked(off, count, d); in copy1DRangeFromUnchecked()
251 public void copy1DRangeFromUnchecked(int off, int count, byte[] d) { in copy1DRangeFromUnchecked() argument
253 mN.copy1DRangeFromUnchecked(off, count, d); in copy1DRangeFromUnchecked()
258 public void copy1DRangeFromUnchecked(int off, int count, float[] d) { in copy1DRangeFromUnchecked() argument
260 mN.copy1DRangeFromUnchecked(off, count, d); in copy1DRangeFromUnchecked()
266 public void copy1DRangeFrom(int off, int count, int[] d) { in copy1DRangeFrom() argument
268 mN.copy1DRangeFrom(off, count, d); in copy1DRangeFrom()
[all …]
DAllocation.java687 private void data1DChecks(int off, int count, int len, int dataSize) { in data1DChecks() argument
689 if(off < 0) { in data1DChecks()
695 if((off + count) > mCurrentCount) { in data1DChecks()
697 ", got " + count + " at offset " + off + "."); in data1DChecks()
726 public void copy1DRangeFromUnchecked(int off, int count, int[] d) { in copy1DRangeFromUnchecked() argument
728 data1DChecks(off, count, d.length * 4, dataSize); in copy1DRangeFromUnchecked()
729 mRS.nAllocationData1D(getIDSafe(), off, mSelectedLOD, count, d, dataSize); in copy1DRangeFromUnchecked() local
739 public void copy1DRangeFromUnchecked(int off, int count, short[] d) { in copy1DRangeFromUnchecked() argument
741 data1DChecks(off, count, d.length * 2, dataSize); in copy1DRangeFromUnchecked()
742 mRS.nAllocationData1D(getIDSafe(), off, mSelectedLOD, count, d, dataSize); in copy1DRangeFromUnchecked() local
[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/av/media/libstagefright/webm/
DWebmElement.cpp114 off64_t off = ::lseek64(fd, (size - 1), SEEK_CUR) - (size - 1); in write() local
117 off64_t curOff = off + size; in write()
118 off64_t alignedOff = off & ~(::sysconf(_SC_PAGE_SIZE) - 1); in write()
120 off64_t pageOff = off - alignedOff; in write()
247 uint64_t off = 0; in serializePayload() local
251 child->serializeInto(buf + off); in serializePayload()
252 off += child->totalSize(); in serializePayload()
258 sp<WebmElement> WebmElement::CuePointEntry(uint64_t time, int track, uint64_t off) { in CuePointEntry() argument
261 cuePointEntryFields.push_back(new WebmUnsigned(kMkvCueClusterPosition, off)); in CuePointEntry()
270 sp<WebmElement> WebmElement::SeekEntry(uint64_t id, uint64_t off) { in SeekEntry() argument
[all …]
DWebmWriter.cpp143 off_t off = 0; in audioTrack() local
146 codecPrivateData[off++] = 2; in audioTrack()
148 off += XiphLaceEnc(codecPrivateData + off, headerSize1); in audioTrack()
149 off += XiphLaceEnc(codecPrivateData + off, headerSize2); in audioTrack()
151 memcpy(codecPrivateData + off, headerData1, headerSize1); in audioTrack()
152 off += headerSize1; in audioTrack()
153 memcpy(codecPrivateData + off, headerData2, headerSize2); in audioTrack()
154 off += headerSize2; in audioTrack()
155 memcpy(codecPrivateData + off, headerData3, headerSize3); in audioTrack()
/frameworks/base/docs/html/design/building-blocks/
Dswitches.jd6 buttons, and on/off switches.</p>
20 turn an option off or on. Instead, use an on/off switch.</p>
43 <h2 id="switches">On/off Switches</h2>
52 <p>On/off switches toggle the state of a single settings option.</p>
/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/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()
/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/cpp/
DAllocation.cpp194 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, const void *data) { in copy1DRangeFrom() argument
200 if((off + count) > mCurrentCount) { in copy1DRangeFrom()
201 ALOGE("Overflow, Available count %u, got %zu at offset %u.", mCurrentCount, count, off); in copy1DRangeFrom()
206 … tryDispatch(mRS, RS::dispatch->Allocation1DData(mRS->getContext(), getIDSafe(), off, mSelectedLOD, in copy1DRangeFrom()
210 void Allocation::copy1DRangeTo(uint32_t off, size_t count, void *data) { in copy1DRangeTo() argument
215 if((off + count) > mCurrentCount) { in copy1DRangeTo()
216 ALOGE("Overflow, Available count %u, got %zu at offset %u.", mCurrentCount, count, off); in copy1DRangeTo()
221 … tryDispatch(mRS, RS::dispatch->Allocation1DRead(mRS->getContext(), getIDSafe(), off, mSelectedLOD, in copy1DRangeTo()
225 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, sp<const Allocation> data, in copy1DRangeFrom() argument
228 tryDispatch(mRS, RS::dispatch->AllocationCopy2DRange(mRS->getContext(), getIDSafe(), off, 0, in copy1DRangeFrom()

123456789