Searched defs:pos (Results 151 - 175 of 261) sorted by relevance

1234567891011

/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/media/
H A DSessionManager.java137 public PlaylistItem seek(String iid, long pos) { argument
139 log("seek: iid=" + iid +", pos=" + pos);
146 if (pos != item.getPosition()) {
147 item.setPosition(pos);
247 public void suspend(long pos) { argument
254 log("suspend: item=" + item + ", pos=" + pos);
260 item.setPosition(pos);
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DDefaultItemAnimatorTest.java378 private ViewHolder createViewHolder(final int pos) throws Throwable { argument
383 mAdapter.bindViewHolder(vh, pos);
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DAdapterHelper.java243 // handle each pos 1 by 1 to ensure continuity. If it breaks, dispatch partial
247 Log.d(TAG, "pos:" + op.positionStart + ",updatedPos:" + tmpStart);
263 final int pos = op.positionStart + (positionMultiplier * p);
264 int updatedPos = updatePositionWithPostponed(pos, op.cmd);
266 Log.d(TAG, "pos:" + pos + ",updatedPos:" + updatedPos);
329 private int updatePositionWithPostponed(int pos, int cmd) { argument
342 if (pos >= start && pos <= end) {
351 pos
[all...]
H A DDiffUtil.java677 for (int pos = curX - 1; pos >= endX; pos--) {
678 if (mCallback.areItemsTheSame(pos, myItemPos)) {
680 final boolean theSame = mCallback.areContentsTheSame(pos, myItemPos);
683 mNewItemStatuses[myItemPos] = (pos << FLAG_OFFSET) | FLAG_IGNORE;
684 mOldItemStatuses[pos] = (myItemPos << FLAG_OFFSET) | changeFlag;
690 for (int pos = curY - 1; pos >= endY; pos
794 removePostponedUpdate(List<PostponedUpdate> updates, int pos, boolean removal) argument
[all...]
/frameworks/av/media/extractors/mp3/
H A DMP3Extractor.cpp93 off64_t pos = *inout_pos; local
106 if (pos >= (off64_t)(*inout_pos + kMaxBytesChecked)) {
108 ALOGV("giving up at offset %lld", (long long)pos);
124 totalBytesRead = source->readAt(pos + remainingBytes,
141 ++pos;
152 ++pos;
158 ALOGV("found possible 1st frame at %lld (header = 0x%08x)", (long long)pos, header);
163 off64_t test_pos = pos + frame_size;
195 *inout_pos = pos;
204 ++pos;
250 off64_t pos; member in struct:android::Mp3Meta
263 off64_t pos = 0; local
568 off64_t pos = mCurrentPos; local
682 off64_t pos = 0; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dc4t64fx.c103 Word16 nb_pos_ix, /* (i) nb of pos for pulse 1 (1..8) */
136 Word16 st, ix, iy, pos, index, track, nb_pulse, nbiter, j_temp; local
300 pos = 0;
311 pos = j;
314 dn2[pos] = (k - NB_MAX); /* dn2 < 0 when position is selected */
317 pos_max[i] = pos;
412 pos = MSIZE - 1;
417 p3 = &rrixiy[2][pos];
418 p2 = &rrixiy[1][pos];
419 p1 = &rrixiy[0][pos];
844 Word32 i, j, pos, corr; local
916 Word32 i, j, pos, corr; local
987 Word32 x, y, pos, thres_ix; local
[all...]
/frameworks/av/packages/MediaComponents/tests/src/com/android/media/
H A DSessionPlaylistAgentTest.java151 public void seekTo(long pos) { argument
393 // Test next play pos after setting repeat mode none.
/frameworks/base/cmds/statsd/src/
H A DStatsLogProcessor.cpp347 size_t pos = 0; local
351 std::memcpy(&((*outData)[pos]), iter.readBuffer(), toRead);
352 pos += toRead;
/frameworks/base/core/java/android/database/
H A DCursorWindow.java240 * @param pos The new zero-based start position.
242 public void setStartPosition(int pos) { argument
243 mStartPos = pos;
/frameworks/base/core/java/android/os/
H A DParcelFileDescriptor.java639 public long seekTo(long pos) throws IOException { argument
641 return mWrapped.seekTo(pos);
644 return Os.lseek(mFd, pos, SEEK_SET);
/frameworks/base/core/java/android/widget/
H A DMediaController.java412 int pos = setProgress();
414 postDelayed(mShowProgress, 1000 - (pos % 1000));
443 long pos = 1000L * position / duration;
444 mProgress.setProgress( (int) pos);
647 int pos = mPlayer.getCurrentPosition();
648 pos -= 5000; // milliseconds
649 mPlayer.seekTo(pos);
659 int pos = mPlayer.getCurrentPosition();
660 pos += 15000; // milliseconds
661 mPlayer.seekTo(pos);
702 seekTo(int pos) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_Parcel.cpp130 static void android_os_Parcel_setDataPosition(jlong nativePtr, jint pos) argument
134 parcel->setDataPosition(pos);
/frameworks/base/libs/hwui/
H A DSkiaCanvasProxy.cpp340 void SkiaCanvasProxy::onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], argument
351 x = pos[0].fX;
352 y = pos[0].fY;
363 glyphBounds.offset(pos[i].fX, pos[i].fY);
371 memcpy(positions, pos, 2 * glyphs.count * sizeof(float));
374 positions[posIndex++] = pos[i].fX - x;
375 positions[posIndex++] = pos[i].fY - y;
434 pts[i].set(x + offset.x() + it.pos()[i], y + offset.y());
444 pts[i].set(x + offset.x() + it.pos()[xInde
[all...]
/frameworks/base/libs/hwui/font/
H A DFont.cpp136 uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos) {
158 uint32_t bitmapH, Rect* bounds, const float* pos) {
177 const float* pos) {
206 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
175 drawCachedGlyphTransformed(CachedGlyphInfo* glyph, int x, int y, uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos) argument
204 drawCachedGlyphBitmap(CachedGlyphInfo* glyph, int x, int y, uint8_t* bitmap, uint32_t bitmapWidth, uint32_t bitmapHeight, Rect* bounds, const float* pos) argument
/frameworks/base/media/java/android/media/
H A DMediaController2.java438 * @param pos Position to move to, in milliseconds.
440 public void seekTo(long pos) { argument
441 mProvider.seekTo_impl(pos);
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DVideoDumpView.java251 public void seekTo (int pos) { argument
252 mMediaPlayer.seekTo(pos);
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java605 int pos = 0;
622 while (pos < bytes) {
623 int length = readInt(settings, pos);
624 pos += INTEGER_BYTE_COUNT;
625 String dataKey = length >= 0 ? new String(settings, pos, length) : null;
626 pos += length;
627 length = readInt(settings, pos);
628 pos += INTEGER_BYTE_COUNT;
631 dataValue = new String(settings, pos, length);
632 pos
931 writeInt(byte[] out, int pos, int value) argument
939 writeBytes(byte[] out, int pos, byte[] value) argument
944 readInt(byte[] in, int pos) argument
[all...]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeXmlBlockParser.java151 public String getNamespacePrefix(int pos) throws XmlPullParserException { argument
176 public String getNamespaceUri(int pos) throws XmlPullParserException { argument
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java280 public void drawPosText(char[] text, int index, int count, float[] pos, Paint paint) { argument
284 public void drawPosText(String text, float[] pos, Paint paint) { argument
/frameworks/native/cmds/lshal/
H A DListCommand.cpp172 auto pos = line.rfind(proc); local
173 if (pos != std::string::npos) {
174 for (const std::string &pidStr : split(line.substr(pos + proc.size()), ' ')) {
/frameworks/native/libs/vr/libpdx_uds/
H A Dipc_helper.cpp432 size_t pos = endpoint_path.find('/', 1); local
433 while (pos != std::string::npos) {
434 separators.push_back(pos);
435 pos = endpoint_path.find('/', pos + 1);
440 pos = 1;
443 while (pos < separators.size() && links <= MAXSYMLINKS) {
445 current = endpoint_path.substr(0, separators[pos]);
454 separators[pos - 1] + 1, separators[pos]
[all...]
H A Dservice_endpoint.cpp380 auto pos = channel_context.find(suffix); local
381 if (pos != std::string::npos) {
382 channel_context.replace(pos, suffix.size(), "_channel_socket");
/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/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DMediaSessionService.java542 public void onSeekTo(long pos) { argument
545 seekTo((int) pos);
/frameworks/support/media/api21/android/support/v4/media/session/
H A DMediaControllerCompatApi21.java150 public static void seekTo(Object controlsObj, long pos) { argument
151 ((MediaController.TransportControls)controlsObj).seekTo(pos);

Completed in 864 milliseconds

1234567891011