/frameworks/base/core/java/android/widget/ |
H A D | ExpandableListConnector.java | 96 * Translates a flat list position to either a) group pos if the specified 97 * flat list position corresponds to a group, or b) child pos if it 99 * groups list to find the flat list pos if it is an exp group, otherwise 100 * finds where the flat list pos fits in between the exp groups. 121 * either), so flPos must be a group and its group pos will be the 172 * specified flat list pos to get the child's position within 216 * one, and then adds it to the prior group's group pos 232 * Subtracts this group's flat list pos from the group after's flat 235 * pos to get this group's pos 258 getFlattenedPos(final ExpandableListPosition pos) argument [all...] |
H A D | MediaController.java | 412 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/android/graphics/ |
H A D | Shader.cpp | 120 SkScalar* pos = autoPos.ptr(); local 126 reinterpret_cast<const SkColor*>(colorValues), pos, count, 164 SkScalar* pos = autoPos.ptr(); local 170 reinterpret_cast<const SkColor*>(colorValues), pos, count, 203 SkScalar* pos = autoPos.ptr(); local 209 reinterpret_cast<const SkColor*>(colors), pos, count);
|
/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/media/java/android/media/session/ |
H A D | MediaSessionLegacyHelper.java | 540 public void onSeekTo(long pos) { argument 542 mRccListener.onSeekTo(pos);
|
/frameworks/compile/mclinker/tools/mcld/ |
H A D | Main.cpp | 690 const size_t pos = value.find('='); local 692 value.substr(pos + 1).getAsInteger(0, addr); 695 script_.addressMap().insert(value.substr(0, pos), exist);
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | SessionManager.java | 136 public PlaylistItem seek(String iid, long pos) { argument 138 log("seek: iid=" + iid +", pos=" + pos); 145 if (pos != item.getPosition()) { 146 item.setPosition(pos); 246 public void suspend(long pos) { argument 253 log("suspend: item=" + item + ", pos=" + pos); 259 item.setPosition(pos);
|
/frameworks/support/media-compat/api21/android/support/v4/media/session/ |
H A D | MediaSessionCompatApi21.java | 220 public void onSeekTo(long pos) { argument 221 mCallback.onSeekTo(pos);
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | SessionManager.java | 136 public PlaylistItem seek(String iid, long pos) { argument 138 log("seek: iid=" + iid +", pos=" + pos); 145 if (pos != item.getPosition()) { 146 item.setPosition(pos); 246 public void suspend(long pos) { argument 253 log("suspend: item=" + item + ", pos=" + pos); 259 item.setPosition(pos);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | StreamingTextView.java | 168 int pos = getStreamPosition(); 170 int animLen = totalLen - pos; 177 mStreamingAnimation.setIntValues(pos, totalLen); 238 public DottySpan(int seed, int pos) { argument 240 mPosition = pos;
|
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
H A D | DiffUtil.java | 596 for (int pos = curX - 1; pos >= endX; pos--) { 597 if (mCallback.areItemsTheSame(pos, myItemPos)) { 599 final boolean theSame = mCallback.areContentsTheSame(pos, myItemPos); 602 mNewItemStatuses[myItemPos] = (pos << FLAG_OFFSET) | FLAG_IGNORE; 603 mOldItemStatuses[pos] = (myItemPos << FLAG_OFFSET) | changeFlag; 609 for (int pos = curY - 1; pos >= endY; pos 732 removePostponedUpdate(List<PostponedUpdate> updates, int pos, boolean removal) argument [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | AdapterHelper.java | 244 // handle each pos 1 by 1 to ensure continuity. If it breaks, dispatch partial 248 Log.d(TAG, "pos:" + op.positionStart + ",updatedPos:" + tmpStart); 264 final int pos = op.positionStart + (positionMultiplier * p); 265 int updatedPos = updatePositionWithPostponed(pos, op.cmd); 267 Log.d(TAG, "pos:" + pos + ",updatedPos:" + updatedPos); 330 private int updatePositionWithPostponed(int pos, int cmd) { argument 343 if (pos >= start && pos <= end) { 352 pos [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | DefaultItemAnimatorTest.java | 377 private ViewHolder createViewHolder(final int pos) throws Throwable { argument 382 mAdapter.bindViewHolder(vh, pos);
|
H A D | RecyclerViewFocusRecoveryTest.java | 320 private RecyclerView.ViewHolder focusVh(int pos) throws Throwable { argument 321 final RecyclerView.ViewHolder oldVh = mRecyclerView.findViewHolderForAdapterPosition(pos);
|
/frameworks/av/media/libstagefright/ |
H A D | MP3Extractor.cpp | 93 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; 256 off64_t pos = 0; local 563 off64_t pos = mCurrentPos; local 672 off64_t pos = 0; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | c4t64fx.c | 103 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/base/core/java/android/accessibilityservice/ |
H A D | GestureDescription.java | 289 boolean getPosForTime(long time, float[] pos) { argument 291 pos[0] = mTapLocation[0]; 292 pos[1] = mTapLocation[1]; 297 return mPathMeasure.getPosTan(getLength(), pos, null); 300 return mPathMeasure.getPosTan(length, pos, null);
|
/frameworks/base/core/java/android/database/ |
H A D | CursorWindow.java | 213 * @param pos The new zero-based start position. 215 public void setStartPosition(int pos) { argument 216 mStartPos = pos;
|
/frameworks/base/core/java/android/os/ |
H A D | ParcelFileDescriptor.java | 588 public long seekTo(long pos) throws IOException { argument 590 return mWrapped.seekTo(pos); 593 return Os.lseek(mFd, pos, SEEK_SET);
|
/frameworks/base/core/jni/ |
H A D | android_os_Parcel.cpp | 130 static void android_os_Parcel_setDataPosition(JNIEnv* env, jclass clazz, jlong nativePtr, jint pos) argument 134 parcel->setDataPosition(pos);
|
/frameworks/base/libs/hwui/ |
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);
|
/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
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
H A D | VideoDumpView.java | 251 public void seekTo (int pos) { argument 252 mMediaPlayer.seekTo(pos);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeXmlBlockParser.java | 150 public String getNamespacePrefix(int pos) throws XmlPullParserException { argument 175 public String getNamespaceUri(int pos) throws XmlPullParserException { argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
H A D | NopCanvas.java | 276 public void drawPosText(char[] text, int index, int count, float[] pos, Paint paint) { argument 280 public void drawPosText(String text, float[] pos, Paint paint) { argument
|