Searched refs:pos (Results 126 - 150 of 323) sorted by path

1234567891011>>

/frameworks/base/include/androidfw/
H A DResourceTypes.h775 void getPosition(ResXMLPosition* pos) const;
776 void setPosition(const ResXMLPosition& pos);
/frameworks/base/libs/androidfw/
H A DBackupData.cpp322 int pos = lseek(m_fd, m_dataEndPos, SEEK_SET); local
323 if (pos == -1) {
326 m_pos = pos;
H A DResourceTypes.cpp1519 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 DGradientCache.cpp251 float pos = x / float(width - 1); local
252 if (pos > positions[currentPos]) {
262 float amount = (pos - startPos) / distance;
H A DJankTracker.cpp297 int pos = percentile * data->totalFrameCount / 100; local
298 int remaining = data->totalFrameCount - pos;
H A DSkiaCanvasProxy.cpp297 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 DSkiaCanvasProxy.h78 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
/frameworks/base/libs/hwui/font/
H A DFont.cpp136 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 DFont.h130 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 DCanvas.cpp82 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 DCanvasContext.h132 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 Dmain.cpp240 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 DCea708CaptionRenderer.java267 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 DExifInterface.java1740 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 DMetadata.java544 final int pos = mKeyToPosMap.get(key);
546 mParcel.setDataPosition(pos);
H A DMiniThumbFile.java154 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 DRemoteControlClient.java939 public void onSeekTo(long pos) {
940 RemoteControlClient.this.onSeekTo(mCurrentClientGenId, pos);
H A DTimedText.java619 CharPos pos = new CharPos(startChar, endChar);
624 mHighlightPosList.add(pos);
H A DWebVttRenderer.java192 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("&amp;", "&", pos) ||
[all...]
/frameworks/base/media/java/android/media/session/
H A DISessionCallback.aidl47 void onSeekTo(long pos);
H A DISessionController.aidl68 void seekTo(long pos);
H A DMediaController.java793 * @param pos Position to move to, in milliseconds.
795 public void seekTo(long pos) { argument
797 mSessionBinder.seekTo(pos);
H A DMediaSession.java591 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 DMediaSessionLegacyHelper.java540 public void onSeekTo(long pos) { argument
542 mRccListener.onSeekTo(pos);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DRoundRobinScheduler.java45 int pos = 0;
50 if (pos <= mLastPos) {
54 firstNdx = pos;
58 mLastPos = pos;
62 pos ++;

Completed in 983 milliseconds

1234567891011>>