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

1234

/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/av/media/libstagefright/
H A DMPEG4Writer.cpp392 off64_t off = lseek64(mFd, 0, SEEK_SET); local
393 if (off < 0) {
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dwin_asm.bat1 echo off
/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 DWebmElement.h66 static sp<WebmElement> SeekEntry(uint64_t id, uint64_t off);
67 static sp<WebmElement> CuePointEntry(uint64_t time, int track, uint64_t off);
H A DWebmFrameThread.cpp66 const uint64_t& off,
71 mSegmentDataStart(off),
80 const uint64_t& off,
85 mSegmentDataStart(off),
64 WebmFrameSinkThread( const int& fd, const uint64_t& off, sp<WebmFrameSourceThread> videoThread, sp<WebmFrameSourceThread> audioThread, List<sp<WebmElement> >& cues) argument
78 WebmFrameSinkThread( const int& fd, const uint64_t& off, LinkedBlockingQueue<const sp<WebmFrame> >& videoSource, LinkedBlockingQueue<const sp<WebmFrame> >& audioSource, List<sp<WebmElement> >& cues) argument
H A DWebmFrameThread.h61 const uint64_t& off,
68 const uint64_t& off,
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...]
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java582 public final int read(byte[] b, int off, int len) throws IOException { argument
583 return readAsset(mAsset, b, off, len);
726 private native final int readAsset(long asset, byte[] b, int off, int len); argument
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java1731 final int off = mExtractedText.startOffset;
1733 newSelStart -= off;
1734 newSelEnd -= off;
2275 * turn off the extract area since there is no text to be shown.
2296 * <p>The standard implementation turns on or off its accessory area
2300 * {@link InputType#TYPE_TEXT_VARIATION_FILTER} input type will turn off the
/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/base/core/java/android/os/
H A DParcel.java2339 int off = dataPosition() - 4;
2341 "Parcel " + this + ": Unmarshalling unknown type code " + type + " at offset " + 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...]
H A DLayout.java1285 // if walking off line, look at the line we're headed to
1914 public char charAt(int off) { argument
1916 getChars(off, off + 1, buf, 0);
H A DSpannableStringInternal.java71 public final void getChars(int start, int end, char[] dest, int off) { argument
72 mText.getChars(start, end, dest, off);
H A DStaticLayout.java876 int off = j * mColumns;
877 int want = off + mColumns + TOP;
953 lines[off + START] = start;
954 lines[off + TOP] = v;
955 lines[off + DESCENT] = below + extra;
958 lines[off + mColumns + START] = end;
959 lines[off + mColumns + TOP] = v;
963 lines[off + TAB] |= flags & TAB_MASK;
964 lines[off + HYPHEN] = flags;
966 lines[off
[all...]
H A DTextUtils.java549 public char charAt(int off) { argument
550 return AndroidCharacter.getMirror(mSource.charAt(mEnd - 1 - off));
1424 int off = 0;
1429 copySpansFrom((Spanned) text[i], 0, len, Object.class, ss, off);
1432 off += len;
1538 * @param off Location in the text at which to check.
1548 public static int getCapsMode(CharSequence cs, int off, int reqModes) { argument
1549 if (off < 0) {
1566 for (i = off; i > 0; i--) {
/frameworks/base/core/java/android/text/method/
H A DLinkMovementMethod.java211 int off = layout.getOffsetForHorizontal(line, x);
213 ClickableSpan[] link = buffer.getSpans(off, off, ClickableSpan.class);
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 DPasswordTransformationMethod.java188 public void getChars(int start, int end, char[] dest, int off) { argument
189 TextUtils.getChars(mSource, start, end, dest, off);
226 dest[i - start + off] = DOT;
H A DQwertyKeyListener.java59 int off = cap.ordinal() * 2 + (autoText ? 1 : 0);
61 if (sInstance[off] == null) {
62 sInstance[off] = new QwertyKeyListener(cap, autoText);
65 return sInstance[off];
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/java/android/util/
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);

Completed in 479 milliseconds

1234