Searched defs:pos (Results 126 - 150 of 195) sorted by relevance

12345678

/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp39 const char* pos = exts; local
40 while ((pos = strstr(pos, name)) != NULL) {
41 if (pos[len] == '\0' || pos[len] == ' ')
43 pos += len;
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduComposer.java187 protected void arraycopy(byte[] buf, int pos, int length) { argument
188 mMessage.write(buf, pos, length);
/frameworks/support/media-compat/api21/android/support/v4/media/session/
H A DMediaControllerCompatApi21.java135 public static void seekTo(Object controlsObj, long pos) { argument
136 ((MediaController.TransportControls)controlsObj).seekTo(pos);
/frameworks/opt/setupwizard/tools/docs/
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp855 const NALPosition &pos = nals.itemAt(i); local
857 unsigned nalType = mBuffer->data()[pos.nalOffset] & 0x1f;
859 if (nalType == 6 && pos.nalSize > 0) {
866 seiPos.nalSize = pos.nalSize;
881 mBuffer->data() + pos.nalOffset,
882 pos.nalSize);
884 dstOffset += pos.nalSize + 4;
891 const NALPosition &pos = nals.itemAt(nals.size() - 1); local
892 size_t nextScan = pos.nalOffset + pos
918 NALPosition pos; local
[all...]
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp504 int pos = c - '0'; // Position in the character list local
505 if (pos < 0 || pos > 10) {
513 int left = pos * DIGIT_WIDTH;
/frameworks/base/core/java/android/content/res/
H A DXmlBlock.java117 public String getNamespacePrefix(int pos) throws XmlPullParserException { argument
132 public String getNamespaceUri(int pos) throws XmlPullParserException { argument
/frameworks/base/core/java/android/widget/
H A DAdapterViewAnimator.java349 int modulo(int pos, int size) { argument
351 return (size + (pos % size)) % size;
H A DExpandableListView.java375 PositionMetadata pos;
408 pos = mConnector.getUnflattenedPos(childFlPos);
415 if (pos.position.type != lastItemType) {
416 if (pos.position.type == ExpandableListPosition.CHILD) {
438 lastItemType = pos.position.type;
453 indicator = getIndicator(pos);
460 pos.recycle();
472 * @param pos The flat list position of the item whose indicator
476 private Drawable getIndicator(PositionMetadata pos) { argument
479 if (pos
[all...]
H A DGridView.java288 * Fills the list from pos down to the end of the list view.
290 * @param pos The first position to put in the list
292 * @param nextTop The location where the top of the item associated with pos
298 private View fillDown(int pos, int nextTop) { argument
306 while (nextTop < end && pos < mItemCount) {
307 View temp = makeRow(pos, nextTop, true);
316 pos += mNumColumns;
360 for (int pos = startPos; pos < last; pos
397 fillUp(int pos, int nextBottom) argument
[all...]
H A DRemoteViewsAdapter.java638 private int getFarthestPositionFrom(int pos, int[] visibleWindow) { argument
646 int dist = Math.abs(index-pos);
H A DListView.java683 * Fills the list from pos down to the end of the list view.
685 * @param pos The first position to put in the list
687 * @param nextTop The location where the top of the item associated with pos
693 private View fillDown(int pos, int nextTop) { argument
701 while (nextTop < end && pos < mItemCount) {
703 boolean selected = pos == mSelectedPosition;
704 View child = makeAndAddView(pos, nextTop, true, mListPadding.left, selected);
710 pos++;
718 * Fills the list from pos up to the top of the list view.
720 * @param pos Th
727 fillUp(int pos, int nextBottom) argument
[all...]
/frameworks/base/media/java/android/media/session/
H A DMediaController.java793 * @param pos Position to move to, in milliseconds.
795 public void seekTo(long pos) { argument
797 mSessionBinder.seekTo(pos);
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java953 int pos = 0;
966 while (pos < bytes) {
967 int length = readInt(settings, pos);
968 pos += INTEGER_BYTE_COUNT;
969 String dataKey = length > 0 ? new String(settings, pos, length) : null;
970 pos += length;
971 length = readInt(settings, pos);
972 pos += INTEGER_BYTE_COUNT;
973 String dataValue = length > 0 ? new String(settings, pos, length) : null;
974 pos
1341 writeInt(byte[] out, int pos, int value) argument
1349 writeBytes(byte[] out, int pos, byte[] value) argument
1354 readInt(byte[] in, int pos) argument
[all...]
/frameworks/base/services/net/java/android/net/apf/
H A DApfFilter.java350 // position pos in the packet.
351 private String IPv6AddresstoString(int pos) { argument
356 if (pos < 0 || pos + 16 > array.length || pos + 16 < pos) {
359 byte[] addressBytes = Arrays.copyOfRange(array, pos, pos + 16);
/frameworks/base/tools/aapt/
H A DResourceTable.h135 status_t addPublic(const SourcePos& pos,
141 status_t addEntry(const SourcePos& pos,
152 status_t startBag(const SourcePos& pos,
162 status_t addBag(const SourcePos& pos,
199 void canAddEntry(const SourcePos& pos,
291 void setCurrentXmlPos(const SourcePos& pos) { mCurrentXmlPos = pos; } argument
297 Item(const SourcePos& pos,
332 Entry(const String16& name, const SourcePos& pos) argument
334 mItemFormat(ResTable_map::TYPE_ANY), mNameIndex(-1), mPos(pos)
408 ConfigList(const String16& name, const SourcePos& pos) argument
427 setPublicSourcePos(const SourcePos& pos) argument
449 Public(const SourcePos& pos, const String16& _comment, uint32_t _ident) argument
472 Type(const String16& name, const SourcePos& pos) argument
[all...]
/frameworks/base/tools/aapt2/
H A DResourceParser.cpp1007 size_t pos = styleName.find_last_of(u'.'); local
1008 if (pos != std::string::npos) {
1011 styleName.substr(0, pos)));
/frameworks/native/libs/binder/tests/
H A DbinderLibTest.cpp205 size_t pos; local
213 pos = source->dataPosition();
214 if (Parcel::appendFrom(source, pos, bundleLen))
216 source->setDataPosition(pos + bundleLen);
/frameworks/rs/cpu_ref/
H A DrsCpuCore.cpp496 int pos = 2; local
500 sprintf(*outBuf + pos, (i % 4 ? "." : "|"));
501 ++pos;
503 sprintf(*outBuf + pos, "%02x", inBuf[i]);
504 pos += 2;
507 strcpy(*outBuf + pos, "...");
/frameworks/support/media-compat/java/android/support/v4/media/session/
H A DMediaControllerCompat.java716 * @param pos Position to move to, in milliseconds.
718 public abstract void seekTo(long pos); argument
1195 public void seekTo(long pos) { argument
1197 mBinder.seekTo(pos);
1432 public void seekTo(long pos) { argument
1433 MediaControllerCompatApi21.TransportControls.seekTo(mControlsObj, pos);
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/
H A DAdapterHelperTest.java1005 boolean isItemLaidOut(int pos) { argument
1007 if (viewHolder.mOldPosition == pos) {
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java398 int pos = anchorInfo.mPosition;
400 while (pos < indexLimit) {
401 int next = getSpanIndex(recycler, state, pos + 1);
403 pos += 1;
409 anchorInfo.mPosition = pos;
465 private int getSpanIndex(RecyclerView.Recycler recycler, RecyclerView.State state, int pos) { argument
467 return mSpanSizeLookup.getCachedSpanIndex(pos, mSpanCount);
469 final int cached = mPreLayoutSpanIndexCache.get(pos, -1);
473 final int adapterPosition = recycler.convertPreLayoutPositionToPostLayout(pos);
477 + " not cached, not in the adapter. Pos:" + pos);
486 getSpanSize(RecyclerView.Recycler recycler, RecyclerView.State state, int pos) argument
[all...]
/frameworks/av/media/libstagefright/
H A DOggExtractor.cpp426 off64_t pos = timeUs * bps / 8000000ll; local
428 ALOGV("seeking to offset %lld", (long long)pos);
429 return seekToOffset(pos);
/frameworks/av/media/libstagefright/httplive/
H A DPlaylistFetcher.cpp1846 size_t pos = 0; local
1849 if (buffer->size() >= pos + 3 &&
1850 !memcmp("\xef\xbb\xbf", buffer->data() + pos, 3)) {
1851 pos += 3;
1855 if (buffer->size() < pos + 6 ||
1856 memcmp("WEBVTT", buffer->data() + pos, 6)) {
1859 pos += 6;
1861 if (buffer->size() == pos) {
1865 uint8_t sep = buffer->data()[pos];
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp302 long long pos; local
309 res = mCluster->Parse(pos, len);
327 mCluster, nextCluster, pos, len);
343 res = mCluster->Parse(pos, len);
410 long len; long long pos; local
411 pSegment->ParseCues(pEntry->pos, pos, len);
806 long long pos; local
807 if (ebmlHeader.Parse(mReader, pos) < 0) {
816 mkvparser::Segment::CreateInstance(mReader, pos, mSegmen
1376 long long pos; local
[all...]

Completed in 892 milliseconds

12345678