Home
last modified time | relevance | path

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

/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/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/support/v7/recyclerview/tests/src/android/support/v7/util/
DAsyncListUtilTest.java128 private int getLoadedItemCount(int startPosition, int itemCount) { in getLoadedItemCount() argument
131 if (mAsyncListUtil.getItem(startPosition + i) != null) { in getLoadedItemCount()
188 public void fillData(String[] data, int startPosition, int itemCount) { in fillData() argument
190 assertEquals(Math.min(TILE_SIZE, mDataItemCount - startPosition), itemCount); in fillData()
191 mTilesFilledLatch.countDown(startPosition); in fillData()
194 data[i] = "item #" + startPosition; in fillData()
271 public void expectItemRangeChanged(int startPosition, int itemCount) { in expectItemRangeChanged() argument
272 mItemsChangedLatch.expectRange(startPosition, itemCount); in expectItemRangeChanged()
DTileListTest.java137 private TileList.Tile<Integer> createTile(int startPosition, int... items) { in createTile() argument
139 window.mStartPosition = startPosition; in createTile()
/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.java44 int[] startPosition = (int[]) values.view.getTag(R.id.transitionPosition); in createAnimation() local
45 if (startPosition != null) { in createAnimation()
46 startX = startPosition[0] - viewPosX + terminalX; in createAnimation()
47 startY = startPosition[1] - viewPosY + terminalY; in createAnimation()
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
DSlideKitkat.java211 float[] startPosition = (float[]) view.getTag(R.id.lb_slide_transition_value); in createAnimation() local
212 if (startPosition != null) { in createAnimation()
213 start = View.TRANSLATION_Y == property ? startPosition[1] : startPosition[0]; in createAnimation()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DPathParser.java202 int startPosition = 1; in getFloats() local
211 while (startPosition < totalLength) { in getFloats()
212 extract(s, startPosition, result); in getFloats()
215 if (startPosition < endPosition) { in getFloats()
217 s.substring(startPosition, endPosition)); in getFloats()
222 startPosition = endPosition; in getFloats()
224 startPosition = endPosition + 1; in getFloats()
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
DXmlEditor.java376 Position startPosition = toPosition(node.getStop()); in findTerminalPositions() local
379 index = lines.get(startPosition.line).lastIndexOf("</"); in findTerminalPositions()
380 startPosition.line--; in findTerminalPositions()
382 startPosition.line++; in findTerminalPositions()
383 startPosition.charIndex = index; in findTerminalPositions()
385 return new PositionPair(startPosition, endPosition); in findTerminalPositions()
/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.java188 public void fillData(String[] data, int startPosition, int itemCount) { in fillData() argument
189 assertTrue("Unexpected tile load @" + startPosition, mTilesLatch.getCount() > 0); in fillData()
195 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.java54 public UpdateOp obtainUpdateOp(int cmd, int startPosition, int itemCount, Object payload) {
55 return new UpdateOp(cmd, startPosition, itemCount, payload);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java1433 private ThumbAnimation(float startPosition, float endPosition) { in ThumbAnimation() argument
1434 mStartPosition = startPosition; in ThumbAnimation()
1436 mDiff = endPosition - startPosition; in ThumbAnimation()
DListViewCompat.java268 public int measureHeightOfChildrenCompat(int widthMeasureSpec, int startPosition, in measureHeightOfChildrenCompat() argument
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DMultiSelectManager.java165 int startPosition, int itemCount, Object payload) { in MultiSelectManager()
170 public void onItemRangeInserted(int startPosition, int itemCount) { in MultiSelectManager()
175 public void onItemRangeRemoved(int startPosition, int itemCount) { in MultiSelectManager()
176 assert(startPosition >= 0); in MultiSelectManager()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DOpReorderer.java234 UpdateOp obtainUpdateOp(int cmd, int startPosition, int itemCount, Object payload); in obtainUpdateOp() argument
/frameworks/base/core/java/android/widget/
DListView.java1303 final int measureHeightOfChildren(int widthMeasureSpec, int startPosition, int endPosition, in measureHeightOfChildren() argument
1325 for (i = startPosition; i <= endPosition; ++i) { in measureHeightOfChildren()