/frameworks/base/core/jni/ |
H A D | android_util_StringBlock.cpp | 112 const ResStringPool_span* pos = spans; local 114 while (pos->name.index != ResStringPool_span::END) { 116 pos++;
|
H A D | android_backup_BackupHelperDispatcher.cpp | 146 int pos; local 161 pos = lseek(fd, 0, SEEK_CUR); 165 return (jint) pos; 169 writeHeader_native(JNIEnv* env, jobject clazz, jobject headerObj, jobject fdObj, jint pos) argument 187 header.dataSize = prevPos - (pos + header.headerSize); 189 lseek(fd, pos, SEEK_SET);
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
H A D | Decoder.java | 93 public DecoderException(byte seen, int pos) { argument 94 super(String.format("Unexpected byte %c seen at position %d", (char)seen, pos));
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Gradient_Delegate.java | 124 * <var>pos</var> can be anything, even < 0 or > > 1, as the gradient 127 protected int getGradientColor(float pos) { argument 128 if (pos < 0.f) { 132 pos = 0.f; 137 pos = pos - (float)Math.floor(pos); 142 pos = Math.abs(pos); 145 int intPart = (int)Math.floor(pos); [all...] |
H A D | PathMeasure_Delegate.java | 80 /*package*/ static boolean native_getPosTan(long native_instance, float distance, float pos[], argument
|
/frameworks/compile/mclinker/unittests/ |
H A D | BinTreeTest.cpp | 43 BinaryTree<int>::iterator pos = m_pTestee->root(); local 44 m_pTestee->join<TreeIteratorBase::Rightward>(pos, 0); 45 --pos; 46 m_pTestee->join<TreeIteratorBase::Rightward>(pos, 1); 47 m_pTestee->join<TreeIteratorBase::Leftward>(pos, 1); 48 --pos; 49 m_pTestee->join<TreeIteratorBase::Rightward>(pos, 2); 50 m_pTestee->join<TreeIteratorBase::Leftward>(pos, 2); 59 m_pTestee->merge<TreeIteratorBase::Rightward>(pos, *mergeTree); 66 BinaryTree<int>::iterator pos local 84 BinaryTree<int>::iterator pos = m_pTestee->root(); local 103 BinaryTree<int>::iterator pos = m_pTestee->root(); local 117 BinaryTree<int>::iterator pos = m_pTestee->root(); local 145 BinaryTree<int>::iterator pos = m_pTestee->root(); local 173 BinaryTree<int>::iterator pos = m_pTestee->root(); local 187 BinaryTree<int>::iterator pos = m_pTestee->root(); local 217 BinaryTree<int>::iterator pos = m_pTestee->root(); local 245 BinaryTree<int>::iterator pos = m_pTestee->root(); local 259 BinaryTree<int>::iterator pos = m_pTestee->root(); local [all...] |
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/ |
H A D | BmsgTokenizer.java | 84 throw new ParseException("Property or empty line expected", pos()); 105 public int pos() { method in class:BmsgTokenizer
|
/frameworks/support/compat/java/android/support/v4/util/ |
H A D | TimeUtils.java | 56 static private int printField(char[] formatStr, int amt, char suffix, int pos, argument 59 final int startPos = pos; 62 formatStr[pos] = (char)(dig + '0'); 63 pos++; 66 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) { 68 formatStr[pos] = (char)(dig + '0'); 69 pos++; 72 formatStr[pos] = (char)(amt + '0'); 73 pos++; 74 formatStr[pos] [all...] |
/frameworks/support/frameworks/support/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/ |
H A D | AppNavHomeActivity.java | 45 protected void onListItemClick(ListView lv, View v, int pos, long id) { argument 46 SampleInfo info = (SampleInfo) getListAdapter().getItem(pos);
|
/frameworks/support/media-compat/java/android/support/v4/media/ |
H A D | TransportPerformer.java | 60 * @param pos New position to move to, in milliseconds. 62 public abstract void onSeekTo(long pos); argument
|
/frameworks/support/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/ |
H A D | AppNavHomeActivity.java | 45 protected void onListItemClick(ListView lv, View v, int pos, long id) { argument 46 SampleInfo info = (SampleInfo) getListAdapter().getItem(pos);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
H A D | TileList.java | 39 public T getItemAt(int pos) { argument 40 if (mLastAccessedTile == null || !mLastAccessedTile.containsPosition(pos)) { 41 final int startPosition = pos - (pos % mTileSize); 48 return mLastAccessedTile.getByPosition(pos); 97 boolean containsPosition(int pos) { argument 98 return mStartPosition <= pos && pos < mStartPosition + mItemCount; 101 T getByPosition(int pos) { argument 102 return mItems[pos [all...] |
/frameworks/av/include/media/ |
H A D | RingBuffer.h | 49 iterator(T* ptr, size_t size, size_t pos, size_t ctr); 75 const_iterator(const T* ptr, size_t size, size_t pos, size_t ctr); 177 RingBuffer<T>::iterator::iterator(T* ptr, size_t size, size_t pos, size_t ctr) : argument 178 mPtr{ptr}, mSize{size}, mPos{pos}, mCtr{ctr} {} 221 RingBuffer<T>::const_iterator::const_iterator(const T* ptr, size_t size, size_t pos, size_t ctr) : argument 222 mPtr{ptr}, mSize{size}, mPos{pos}, mCtr{ctr} {} 332 size_t pos = (index >= mFrontIdx) ? local 334 return mBuffer[pos]; 341 size_t pos = (index >= mFrontIdx) ? local 343 return mBuffer[pos]; [all...] |
/frameworks/av/media/libmedia/ |
H A D | Metadata.cpp | 148 size_t pos = mData->dataPosition(); local 159 mData->setDataPosition(pos + size);
|
/frameworks/av/media/libstagefright/ |
H A D | VBRISeeker.cpp | 42 off64_t pos = post_id3_pos; local 45 ssize_t n = source->readAt(pos, header, sizeof(header)); 58 pos += sizeof(header) + 32; 61 n = source->readAt(pos, vbriHeader, sizeof(vbriHeader)); 89 n = source->readAt(pos + sizeof(vbriHeader), buffer, totalEntrySize); 151 bool VBRISeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) { argument 159 *pos = mBasePos; 163 *pos += mSegments.itemAt(segmentIndex++); 166 ALOGV("getOffsetForTime %lld us => 0x%016llx", (long long)*timeUs, (long long)*pos);
|
H A D | XINGSeeker.cpp | 46 bool XINGSeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) { argument 73 *pos = (int)((1.0f/256.0f)*fx*mSizeBytes) + mFirstFramePos;
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | set_sign.cpp | 178 Word16 pos = 0; //initialization only needed to keep gcc silent 211 pos = j; 215 dn2[pos] = -1; 253 Word16 pos = 0; /* initialization only needed to keep gcc silent */ local 288 pos = j; 292 dn2[pos] = -1; 369 Word16 pos = 0; // initialization only needed to keep gcc silent 428 pos = j; 432 pos_max[i] = pos; 447 pos 504 Word16 pos = 0; /* initialization only needed to keep gcc silent */ local [all...] |
/frameworks/base/core/java/android/text/ |
H A D | MeasuredText.java | 93 void setPos(int pos) { argument 94 mPos = pos - mTextStart;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | PathMeasure.java | 82 * @param pos If not null, eturns the sampled position (x==[0], y==[1]) 86 public boolean getPosTan(float distance, float pos[], float tan[]) { argument 87 if (pos != null && pos.length < 2 || 91 return native_getPosTan(native_instance, distance, pos, tan); 163 private static native boolean native_getPosTan(long native_instance, float distance, float pos[], float tan[]); argument
|
/frameworks/base/libs/hwui/tests/macrobench/ |
H A D | main.cpp | 240 auto pos = TestScene::testMap().find(test); local 241 if (pos == TestScene::testMap().end()) { 245 gRunTests.push_back(pos->second);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
H A D | PageRangeUtils.java | 160 * Return the next position after {@code pos} that is not a space character. 163 * @param pos The starting position 167 private static int readWhiteSpace(CharSequence s, int pos) { argument 168 while (pos < s.length() && s.charAt(pos) == ' ') { 169 pos++; 172 return pos; 179 * @param pos The starting position 183 private static Pair<Integer, Integer> readNumber(CharSequence s, int pos) { argument 185 while (pos < 216 readChar(CharSequence s, int pos, char expectedChar) argument 234 readRange(CharSequence s, int pos, int maxPageNumber) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_am_BatteryStatsService.cpp | 113 char* pos = reasonline; local 117 int irq = (int)strtol(pos, &endPos, 10); 118 if (pos != endPos) { 124 if (strncmp(pos, "Abort:", abortPrefixLen) != 0) { 132 endPos = pos + abortPrefixLen; 134 pos = endPos; 142 while (*pos == ' ') { 143 pos++; 147 char* endpos = pos; 156 len = snprintf(mergedreasonpos, remainreasonlen, ":%s", pos); [all...] |
/frameworks/compile/mclinker/lib/Support/ |
H A D | Path.cpp | 166 size_t pos = m_PathName.find_last_of(separator); local 167 if (pos != StringType::npos) { 168 ++pos; 169 return Path(m_PathName.substr(pos)); 182 size_t pos = m_PathName.find_last_of('.'); local 183 if (pos == StringType::npos) 185 return Path(m_PathName.substr(pos));
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/pos/ |
H A D | AutoFocusStateMachine.java | 16 package com.android.ex.camera2.pos;
|
/frameworks/minikin/sample/ |
H A D | example_skia.cpp | 83 SkPoint *pos = new SkPoint[nGlyphs]; local 93 pos[i].fX = x + layout->getX(i); 94 pos[i].fY = y + layout->getY(i); 97 canvas->drawPosText(glyphs + start, (i - start) << 1, pos + start, *paint); 103 canvas->drawPosText(glyphs + start, (nGlyphs - start) << 1, pos + start, *paint); 105 delete[] pos;
|