/frameworks/base/include/androidfw/ |
H A D | ResourceTypes.h | 775 void getPosition(ResXMLPosition* pos) const; 776 void setPosition(const ResXMLPosition& pos);
|
/frameworks/base/libs/androidfw/ |
H A D | BackupData.cpp | 322 int pos = lseek(m_fd, m_dataEndPos, SEEK_SET); local 323 if (pos == -1) { 326 m_pos = pos;
|
H A D | ResourceTypes.cpp | 1519 void ResXMLParser::getPosition(ResXMLParser::ResXMLPosition* pos) const 1521 pos->eventCode = mEventCode; 1522 pos->curNode = mCurNode; 1523 pos->curExt = mCurExt; 1526 void ResXMLParser::setPosition(const ResXMLParser::ResXMLPosition& pos) argument 1528 mEventCode = pos.eventCode; 1529 mCurNode = pos.curNode; 1530 mCurExt = pos.curExt; 3843 ALOGV("Chunk: type=0x%x, headerSize=0x%x, size=0x%x, pos=%p\n", 4311 uint32_t pos local 5536 const char16_t* pos = s; local [all...] |
/frameworks/base/libs/hwui/ |
H A D | GradientCache.cpp | 251 float pos = x / float(width - 1); local 252 if (pos > positions[currentPos]) { 262 float amount = (pos - startPos) / distance;
|
H A D | JankTracker.cpp | 297 int pos = percentile * data->totalFrameCount / 100; local 298 int remaining = data->totalFrameCount - pos;
|
H A D | SkiaCanvasProxy.cpp | 297 void SkiaCanvasProxy::onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], argument 309 posArray = pos; 311 x = pos[0].fX; 312 y = pos[0].fY; 315 pointStorage[i].fX = pos[i].fX - x; 316 pointStorage[i].fY = pos[i].fY - y; 329 glyphBounds.offset(pos[i].fX, pos[i].fY);
|
H A D | SkiaCanvasProxy.h | 78 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 136 uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos) { 158 uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos) { 177 uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos) { 207 uint32_t bitmapWidth, uint32_t bitmapHeight, Rect* bounds, const float* pos) { 135 measureCachedGlyph(CachedGlyphInfo *glyph, int x, int y, uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos) argument 157 drawCachedGlyph(CachedGlyphInfo* glyph, int x, int y, uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos) argument 176 drawCachedGlyphTransformed(CachedGlyphInfo* glyph, int x, int y, uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos) argument 206 drawCachedGlyphBitmap(CachedGlyphInfo* glyph, int x, int y, uint8_t* bitmap, uint32_t bitmapWidth, uint32_t bitmapHeight, Rect* bounds, const float* pos) argument
|
H A D | Font.h | 130 Rect* bounds, const float* pos); 133 Rect* bounds, const float* pos); 136 Rect* bounds, const float* pos); 139 Rect* bounds, const float* pos);
|
/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/libs/hwui/renderthread/ |
H A D | CanvasContext.h | 132 int pos = placeFront ? 0 : static_cast<int>(mRenderNodes.size()); local 133 mRenderNodes.emplace(mRenderNodes.begin() + pos, node);
|
/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/media/java/android/media/ |
H A D | Cea708CaptionRenderer.java | 267 int pos = 0; 268 while (pos < data.length) { 269 pos = parseServiceBlockData(data, pos); 277 private int parseServiceBlockData(byte[] data, int pos) { argument 279 mCommand = data[pos] & 0xff; 280 ++pos; 285 pos = parseExt1(data, pos); 291 pos 314 parseC0(byte[] data, int pos) argument 368 parseC1(byte[] data, int pos) argument 624 parseG0(byte[] data, int pos) argument 637 parseG1(byte[] data, int pos) argument 646 parseExt1(byte[] data, int pos) argument 666 parseC2(byte[] data, int pos) argument 686 parseC3(byte[] data, int pos) argument 700 parseG2(byte[] data, int pos) argument 720 parseG3(byte[] data, int pos) argument [all...] |
H A D | ExifInterface.java | 1740 ParsePosition pos = new ParsePosition(0); 1744 Date datetime = sFormatter.parse(dateTimeString, pos); 1782 ParsePosition pos = new ParsePosition(0); 1784 Date datetime = sFormatter.parse(dateTimeString, pos);
|
H A D | Metadata.java | 544 final int pos = mKeyToPosMap.get(key); 546 mParcel.setDataPosition(pos);
|
H A D | MiniThumbFile.java | 154 long pos = id * BYTES_PER_MINTHUMB; 160 lock = mChannel.lock(pos, 1 + 8, true); 163 if (mChannel.read(mBuffer, pos) == 9) { 192 long pos = id * BYTES_PER_MINTHUMB; 207 lock = mChannel.lock(pos, BYTES_PER_MINTHUMB, false); 208 mChannel.write(mBuffer, pos); 239 long pos = id * BYTES_PER_MINTHUMB; 243 lock = mChannel.lock(pos, BYTES_PER_MINTHUMB, true); 244 int size = mChannel.read(mBuffer, pos);
|
H A D | RemoteControlClient.java | 939 public void onSeekTo(long pos) { 940 RemoteControlClient.this.onSeekTo(mCurrentClientGenId, pos);
|
H A D | TimedText.java | 619 CharPos pos = new CharPos(startChar, endChar); 624 mHighlightPosList.add(pos);
|
H A D | WebVttRenderer.java | 192 private boolean replaceEscape(String escape, String replacement, int pos) { argument 193 if (mLine.startsWith(escape, pos)) { 194 mData.append(mLine.substring(mHandledLen, pos)); 196 mHandledLen = pos + escape.length(); 197 pos = mHandledLen - 1; 206 for (int pos = mHandledLen; pos < mLine.length(); pos++) { 207 if (mLine.charAt(pos) == '&') { 208 if (replaceEscape("&", "&", pos) || [all...] |
/frameworks/base/media/java/android/media/session/ |
H A D | ISessionCallback.aidl | 47 void onSeekTo(long pos);
|
H A D | ISessionController.aidl | 68 void seekTo(long pos);
|
H A D | MediaController.java | 793 * @param pos Position to move to, in milliseconds. 795 public void seekTo(long pos) { argument 797 mSessionBinder.seekTo(pos);
|
H A D | MediaSession.java | 591 private void dispatchSeekTo(long pos) { argument 592 postToCallback(CallbackMessageHandler.MSG_SEEK_TO, pos); 951 * @param pos New position to move to, in milliseconds. 953 public void onSeekTo(long pos) { argument 1130 public void onSeekTo(long pos) { argument 1133 session.dispatchSeekTo(pos);
|
H A D | MediaSessionLegacyHelper.java | 540 public void onSeekTo(long pos) { argument 542 mRccListener.onSeekTo(pos);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | RoundRobinScheduler.java | 45 int pos = 0; 50 if (pos <= mLastPos) { 54 firstNdx = pos; 58 mLastPos = pos; 62 pos ++;
|