/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | StaggeredGridLayoutManagerBaseConfigSetTest.java | 129 logPrefix += " child1 pos:" + mLayoutManager.getPosition(child1); 180 final int pos = mRecyclerView.getChildLayoutPosition(child); 181 if (globalPositions[pos] != Integer.MIN_VALUE) { 185 globalPositions[pos] = globalScrollPosition + 188 globalPositions[pos] = globalScrollPosition + 216 + " global pos must match when scrolling in reverse for position "; 221 int pos = mRecyclerView.getChildLayoutPosition(child); 222 if (!shouldTest.get(pos)) { 225 shouldTest.clear(pos); 234 assertEquals(assertPrefix + pos, [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | CursorTreeAdapter.java | 289 for (int pos = mChildrenCursorHelpers.size() - 1; pos >= 0; pos--) { 290 mChildrenCursorHelpers.valueAt(pos).deactivate();
|
/frameworks/base/core/java/com/android/internal/graphics/drawable/ |
H A D | AnimationScaleListDrawable.java | 206 final int pos = addChild(drawable); 208 mAnimatableDrawableIndex = pos; 210 mStaticDrawableIndex = pos; 212 return pos;
|
/frameworks/compile/libbcc/include/bcinfo/Wrap/ |
H A D | bitcode_wrapperer.h | 164 bool Seek(uint32_t pos);
|
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/ |
H A D | MainActivity.java | 184 final int pos = lp.getViewAdapterPosition(); 185 if (pos > -1 && pos < userList.size()) { 187 setSelected(userList.get(pos));
|
/frameworks/support/media-compat/java/android/support/v4/media/ |
H A D | TransportPerformer.java | 60 * @param pos New position to move to, in milliseconds. 62 public abstract void onSeekTo(long pos); argument
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
H A D | DiskBasedCache.java | 325 int pos = 0; 326 while (pos < length && ((count = in.read(bytes, pos, length - pos)) != -1)) { 327 pos += count; 329 if (pos != length) { 330 throw new IOException("Expected " + length + " bytes, read " + pos + " bytes");
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
H A D | RecyclerViewActivity.java | 59 final int pos = vh.getAdapterPosition(); 60 if (pos == RecyclerView.NO_POSITION) { 63 if (pos + 1 < getItemCount()) { 64 swap(pos, pos + 1);
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
H A D | RecyclerViewActivity.java | 59 final int pos = vh.getAdapterPosition(); 60 if (pos == RecyclerView.NO_POSITION) { 63 if (pos + 1 < getItemCount()) { 64 swap(pos, pos + 1);
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ESQueue.cpp | 855 const NALPosition &pos = nals.itemAt(i); local 857 unsigned nalType = mBuffer->data()[pos.nalOffset] & 0x1f; 859 if (nalType == 6 && pos.nalSize > 0) { 866 seiPos.nalSize = pos.nalSize; 881 mBuffer->data() + pos.nalOffset, 882 pos.nalSize); 884 dstOffset += pos.nalSize + 4; 891 const NALPosition &pos = nals.itemAt(nals.size() - 1); local 892 size_t nextScan = pos.nalOffset + pos 918 NALPosition pos; local [all...] |
/frameworks/av/media/libstagefright/ |
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;
|
H A D | XINGSeeker.cpp | 46 bool XINGSeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) { argument 73 *pos = (int)((1.0f/256.0f)*fx*mSizeBytes) + mFirstFramePos;
|
/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/native/services/surfaceflinger/RenderEngine/ |
H A D | RenderEngine.cpp | 39 const char* pos = exts; local 40 while ((pos = strstr(pos, name)) != NULL) { 41 if (pos[len] == '\0' || pos[len] == ' ') 43 pos += len;
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | AlertController.java | 820 int pos = 0; 822 views[pos] = topPanel; 823 light[pos] = false; 824 pos++; 832 views[pos] = contentPanel.getVisibility() == View.GONE ? null : contentPanel; 833 light[pos] = mListView != null; 834 pos++; 837 views[pos] = customPanel; 838 light[pos] = mForceInverseBackground; 839 pos [all...] |
/frameworks/base/core/java/android/util/ |
H A D | StateSet.java | 101 int pos = 0; 104 set[pos++] = orderedIds[j];
|
/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/media/java/android/media/session/ |
H A D | ISessionController.aidl | 68 void seekTo(long pos);
|
/frameworks/native/cmds/flatland/ |
H A D | Renderers.cpp | 84 const float pos[] = { local 101 glVertexAttribPointer(mPosAttribLoc, 2, GL_FLOAT, GL_FALSE, 0, pos);
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | Blend.java | 52 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { 53 currentIntrinsic = pos;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | Blend.java | 45 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { 46 currentIntrinsic = pos;
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | Blend.java | 52 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { 53 currentIntrinsic = 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);
|
H A D | GridLayoutManager.java | 294 for (int pos = startPos; mPendingMoves != 0; 295 pos = mPendingMoves > 0 ? pos + mNumRows: pos - mNumRows) { 296 View v = findViewByPosition(pos); 304 mFocusPosition = pos; 2105 int pos = sTwoInts[1]; 2108 int maxScroll = getPrimarySystemScrollPositionOfChildMax(findViewByPosition(pos)); 2137 int pos = sTwoInts[1]; 2140 int minScroll = getPrimarySystemScrollPosition(findViewByPosition(pos)); 2811 hasPreviousViewInSameRow(int pos) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | BackStackRecord.java | 71 int pos = 0; 73 mOps[pos++] = op.cmd; 74 mOps[pos++] = op.fragment != null ? op.fragment.mIndex : -1; 75 mOps[pos++] = op.enterAnim; 76 mOps[pos++] = op.exitAnim; 77 mOps[pos++] = op.popEnterAnim; 78 mOps[pos++] = op.popExitAnim; 81 mOps[pos++] = N; 83 mOps[pos++] = op.removed.get(i).mIndex; 86 mOps[pos [all...] |