Home
last modified time | relevance | path

Searched refs:startPosition (Results 1 – 21 of 21) sorted by relevance

/frameworks/support/v7/recyclerview/src/android/support/v7/util/
DTileList.java41 final int startPosition = pos - (pos % mTileSize); in getItemAt() local
42 final int index = mTiles.indexOfKey(startPosition); in getItemAt()
77 public Tile<T> removeAtPos(int startPosition) { in removeAtPos() argument
78 Tile<T> tile = mTiles.get(startPosition); in removeAtPos()
82 mTiles.delete(startPosition); in removeAtPos()
DAsyncListUtil.java474 public abstract void fillData(T[] data, int startPosition, int itemCount); in fillData() argument
/frameworks/base/libs/hwui/
DPathParser.cpp130 int startPosition = start + 1; in getFloats() local
136 while (startPosition < end) { in getFloats()
138 extract(&endPosition, &endWithNegOrDot, pathStr, startPosition, end); in getFloats()
140 if (startPosition < endPosition) { in getFloats()
141 float currentValue = parseFloat(result, &pathStr[startPosition], in getFloats()
142 end - startPosition); in getFloats()
151 startPosition = endPosition; in getFloats()
153 startPosition = endPosition + 1; in getFloats()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DAsyncListUtilTest.java138 private int getLoadedItemCount(int startPosition, int itemCount) { in getLoadedItemCount() argument
141 if (mAsyncListUtil.getItem(startPosition + i) != null) { in getLoadedItemCount()
198 public void fillData(String[] data, int startPosition, int itemCount) { in fillData() argument
200 assertEquals(Math.min(TILE_SIZE, mDataItemCount - startPosition), itemCount); in fillData()
201 mTilesFilledLatch.countDown(startPosition); in fillData()
204 data[i] = "item #" + startPosition; in fillData()
282 public void expectItemRangeChanged(int startPosition, int itemCount) { in expectItemRangeChanged() argument
283 mItemsChangedLatch.expectRange(startPosition, itemCount); in expectItemRangeChanged()
DTileListTest.java140 private TileList.Tile<Integer> createTile(int startPosition, int... items) { in createTile() argument
142 window.mStartPosition = startPosition; in createTile()
/frameworks/support/transition/src/android/support/transition/
DTranslationAnimationCreator.java53 int[] startPosition = (int[]) values.view.getTag(R.id.transition_position); in createAnimation() local
54 if (startPosition != null) { in createAnimation()
55 startX = startPosition[0] - viewPosX + terminalX; in createAnimation()
56 startY = startPosition[1] - viewPosY + terminalY; in createAnimation()
/frameworks/base/core/java/android/transition/
DTranslationAnimationCreator.java56 int[] startPosition = (int[]) values.view.getTag(R.id.transitionPosition); in createAnimation() local
57 if (startPosition != null) { in createAnimation()
58 startX = startPosition[0] - viewPosX + terminalX; in createAnimation()
59 startY = startPosition[1] - viewPosY + terminalY; in createAnimation()
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/
DTranslationAnimationCreator.java49 int[] startPosition = (int[]) values.view.getTag(R.id.transitionPosition); in createAnimation() local
50 if (startPosition != null) { in createAnimation()
51 startX = startPosition[0] - viewPosX + terminalX; in createAnimation()
52 startY = startPosition[1] - viewPosY + terminalY; in createAnimation()
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
DSlideKitkat.java213 float[] startPosition = (float[]) view.getTag(R.id.lb_slide_transition_value); in createAnimation() local
214 if (startPosition != null) { in createAnimation()
215 start = View.TRANSLATION_Y == property ? startPosition[1] : startPosition[0]; in createAnimation()
/frameworks/support/compat/java/android/support/v4/graphics/
DPathParser.java215 int startPosition = 1; in getFloats() local
224 while (startPosition < totalLength) { in getFloats()
225 extract(s, startPosition, result); in getFloats()
228 if (startPosition < endPosition) { in getFloats()
230 s.substring(startPosition, endPosition)); in getFloats()
235 startPosition = endPosition; in getFloats()
237 startPosition = endPosition + 1; in getFloats()
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
DXmlEditor.java385 Position startPosition = toPosition(node.getStop()); in findTerminalPositions() local
388 index = lines.get(startPosition.line).lastIndexOf("</"); in findTerminalPositions()
389 startPosition.line--; in findTerminalPositions()
391 startPosition.line++; in findTerminalPositions()
392 startPosition.charIndex = index; in findTerminalPositions()
394 return new PositionPair(startPosition, endPosition); in findTerminalPositions()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
DAsyncListUtilActivity.java124 public void fillData(String[] data, int startPosition, int itemCount) { in AsyncStringListUtil()
127 data[i] = Cheeses.sCheeseStrings[startPosition + i]; in AsyncStringListUtil()
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DPathParser_Delegate.java337 int startPosition = 1; in getFloats() local
346 while (startPosition < totalLength) { in getFloats()
347 extract(s, startPosition, result); in getFloats()
350 if (startPosition < endPosition) { in getFloats()
352 s.substring(startPosition, endPosition)); in getFloats()
357 startPosition = endPosition; in getFloats()
359 startPosition = endPosition + 1; in getFloats()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DAsyncListUtilLayoutTest.java192 public void fillData(String[] data, int startPosition, int itemCount) { in fillData() argument
193 assertTrue("Unexpected tile load @" + startPosition, mTilesLatch.getCount() > 0); in fillData()
199 data[i] = "Item #" + (startPosition + i); in fillData()
/frameworks/base/services/net/java/android/net/netlink/
DNetlinkMessage.java46 final int startPosition = (byteBuffer != null) ? byteBuffer.position() : -1; in parse() local
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/
DOpReorderTest.java56 public UpdateOp obtainUpdateOp(int cmd, int startPosition, int itemCount, Object payload) {
57 return new UpdateOp(cmd, startPosition, itemCount, payload);
/frameworks/base/core/java/com/android/internal/widget/
DOpReorderer.java235 UpdateOp obtainUpdateOp(int cmd, int startPosition, int itemCount, Object payload); in obtainUpdateOp() argument
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DOpReorderer.java235 UpdateOp obtainUpdateOp(int cmd, int startPosition, int itemCount, Object payload); in obtainUpdateOp() argument
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DListViewCompat.java272 public int measureHeightOfChildrenCompat(int widthMeasureSpec, int startPosition, in measureHeightOfChildrenCompat() argument
/frameworks/base/core/java/android/widget/
DListView.java1385 final int measureHeightOfChildren(int widthMeasureSpec, int startPosition, int endPosition, in measureHeightOfChildren() argument
1407 for (i = startPosition; i <= endPosition; ++i) { in measureHeightOfChildren()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...