/frameworks/base/libs/hwui/hwui/ |
H A D | Canvas.cpp | 82 DrawTextFunctor(const Layout& layout, Canvas* canvas, uint16_t* glyphs, float* pos, argument 87 , pos(pos) 99 pos[2 * i] = x + layout.getX(i); 100 pos[2 * i + 1] = y + layout.getY(i); 105 pos[2 * i] = layout.getX(i); 106 pos[2 * i + 1] = layout.getY(i); 122 canvas->drawGlyphs(glyphs + start, pos + (2 * start), glyphCount, outlinePaint, x, y, 129 canvas->drawGlyphs(glyphs + start, pos + (2 * start), glyphCount, innerPaint, x, y, 133 canvas->drawGlyphs(glyphs + start, pos 141 float* pos; member in class:android::DrawTextFunctor [all...] |
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
H A D | RgbPlayerActivity.java | 240 public void seekTo(int pos) { argument 241 mImageIndex = pos * mFrameRate / 1000;
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | FocusManager.java | 266 * @param pos 268 private void focusItem(final int pos) { argument 269 focusItem(pos, null); 276 * @param pos 279 private void focusItem(final int pos, @Nullable final FocusCallback callback) { argument 281 RecyclerView.ViewHolder vh = mView.findViewHolderForAdapterPosition(pos); 295 view.findViewHolderForAdapterPosition(pos); 304 Log.w(TAG, "Unable to focus position " + pos + " after scroll"); 310 mView.smoothScrollToPosition(pos); 436 for (int pos [all...] |
/frameworks/base/tools/aapt/ |
H A D | Package.cpp | 382 int pos = pathName.length() - strlen(str); local 383 if (pos < 0) { 387 if (strcasecmp(path + pos, str) == 0) {
|
H A D | StringPool.cpp | 148 ssize_t pos = vidx >= 0 ? mValues.valueAt(vidx) : -1; local 149 ssize_t eidx = pos >= 0 ? mEntryArray.itemAt(pos) : -1; 196 const bool styled = (pos >= 0 && (size_t)pos < mEntryStyleArray.size()) ? 197 mEntryStyleArray[pos].spans.size() : 0; 199 pos = mEntryArray.add(eidx); 201 vidx = mValues.add(value, pos); 204 ent.indices.add(pos); 208 printf("Adding string %s to pool: pos [all...] |
H A D | pseudolocalize.cpp | 43 size_t lastpos, pos; local 47 for (lastpos = pos = 0; pos < length; pos++) { 48 char16_t c = str[pos]; 64 if (mLastDepth != depth || pos == length - 1) { 66 size_t nextpos = pos;
|
/frameworks/base/tools/aapt2/compile/ |
H A D | Pseudolocalizer.cpp | 85 size_t lastpos, pos; local 89 for (lastpos = pos = 0; pos < length; pos++) { 90 char16_t c = str[pos]; 106 if (mLastDepth != depth || pos == length - 1) { 108 size_t nextpos = pos;
|
/frameworks/compile/libbcc/bcinfo/Wrap/ |
H A D | bitcode_wrapperer.cpp | 97 bool BitcodeWrapperer::Seek(uint32_t pos) { argument 98 if (infile_ != nullptr && infile_->Seek(pos)) {
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | GNUArchiveReader.cpp | 171 size_t pos = name_field.find_first_of('/'); local 172 member_name.assign(name_field.substr(0, pos).str());
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | SymbolCategory.cpp | 117 size_t pos = 0; local 120 pos = current->begin; 121 while (pos != current->end) { 122 if (m_OutputSymbols[pos] == &pSymbol) 124 ++pos; 130 if (current->end == pos || current->empty()) { 133 pos = current->begin; 134 while (pos != current->end) { 135 if (m_OutputSymbols[pos] == &pSymbol) { 139 ++pos; 201 size_t pos = m_pCommon->end - 1; local [all...] |
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64InsnHelpers.h | 25 static unsigned getBits(InsnType insn, int pos, int l) { argument 26 return (insn >> pos) & ((1 << l) - 1); 53 static unsigned getBit(InsnType insn, int pos) { argument 54 return getBits(insn, pos, 1);
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/ |
H A D | XmlEditor.java | 396 private static void fixPosition(ArrayList<String> lines, Position pos) { argument 397 String line = lines.get(pos.line); 398 while (pos.charIndex > line.length()) { 399 pos.charIndex--;
|
/frameworks/native/cmds/flatland/ |
H A D | Composers.cpp | 64 const float pos[] = { local 77 glVertexAttribPointer(mPosAttribLoc, 2, GL_FLOAT, GL_FALSE, 0, pos);
|
/frameworks/native/libs/binder/ |
H A D | Debug.cpp | 93 char* pos = out; local 132 if( fullContext ) *pos++ = '\''; 133 pos = appendcharornum(c[0], pos); 134 pos = appendcharornum(c[1], pos); 135 pos = appendcharornum(c[2], pos); 136 pos = appendcharornum(c[3], pos); 171 unsigned char *pos = (unsigned char *)buf; local [all...] |
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/ |
H A D | ScriptGroupTestActivity.java | 131 String getFilterName(int pos) { argument 132 return Filters.mFilterClasses[pos].getSimpleName(); 156 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { 160 pos); 169 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { 170 changeTest(pos, mTestSpinner2.getSelectedItemPosition(), 180 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { 181 changeTest(mTestSpinner1.getSelectedItemPosition(), pos,
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | PlaylistItem.java | 61 public void setPosition(long pos) { argument 62 mContentPosition = pos;
|
/frameworks/support/media-compat/java/android/support/v4/media/ |
H A D | TransportMediator.java | 307 public void seekTo(long pos) { argument 308 mCallbacks.onSeekTo(pos);
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | PlaylistItem.java | 61 public void setPosition(long pos) { argument 62 mContentPosition = pos;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | DetailsOverviewRow.java | 280 * @param pos The position to insert the Action. 285 public final void addAction(int pos, Action action) { argument 286 getArrayObjectAdapter().add(pos, action);
|
/frameworks/wilhelm/src/android/ |
H A D | MediaPlayer_to_android.cpp | 556 int pos = ANDROID_UNKNOWN_TIME; local 558 avp->mAVPlayer->getPositionMsec(&pos); 560 if (pos == ANDROID_UNKNOWN_TIME) { 563 *pPosMsec = (XAmillisecond)pos;
|
/frameworks/av/media/libstagefright/ |
H A D | MediaCodecListOverrides.cpp | 242 ssize_t pos = s.find(delimiter.c_str()); local 243 if (pos < 0) { 246 *s1 = AString(s, 0, pos); 247 *s2 = AString(s, pos + 1, s.size() - pos - 1);
|
H A D | WAVExtractor.cpp | 427 int64_t pos = 0; local 433 pos = framenumber * 65; 435 pos = (seekTimeUs * mSampleRate) / 1000000 * mNumChannels * (mBitsPerSample >> 3); 437 if (pos > (off64_t)mSize) { 438 pos = mSize; 440 mCurrentPos = pos + mOffset;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | vlc_decode.cpp | 147 int pos = (x_pos + y_pos * doubleWidth) << 1; local 183 mot_x[pos+offset] = (MOT) mvx; 184 mot_y[pos+offset] = (MOT) mvy; 212 mot_x[pos] = mot_x[pos+1] = (MOT) mvx; 213 mot_y[pos] = mot_y[pos+1] = (MOT) mvy; 214 pos += doubleWidth; 215 mot_x[pos] = mot_x[pos [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
H A D | omxVCM4P10_FilterDeblockingChroma_VerEdge_I_s.s | 117 pos RN 5 label 373 SEL pos, t1, m00 374 USUB8 neg, pos, t1 375 USUB8 t3, pos, tC 376 SEL pos, tC, pos 379 UQADD8 P_0, p_0, pos 380 UQSUB8 Q_0, q_0, pos
|
/frameworks/base/core/java/android/util/ |
H A D | JsonReader.java | 196 private int pos = 0; field in class:JsonReader 614 pos--; 618 pos--; 636 pos--; 661 pos--; 682 if ((pos < limit || fillBuffer(1)) && buffer[pos] == '>') { 683 pos++; 712 pos--; 718 * Returns true once {@code limit - pos > [all...] |