Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/anim/
DFlingSpringAnim.java43 float startPosition, float targetPosition, float startVelocity, float minVisChange, in FlingSpringAnim() argument
62 mSkipFlingAnim = startPosition <= minValue && startVelocity < 0 in FlingSpringAnim()
63 || startPosition >= maxValue && startVelocity > 0; in FlingSpringAnim()
81 public void updatePosition(float startPosition, float targetPosition) { in updatePosition() argument
82 mFlingAnim.setMinValue(Math.min(startPosition, targetPosition)) in updatePosition()
83 .setMaxValue(Math.max(startPosition, targetPosition)); in updatePosition()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/
DTestDocumentsAdapter.java53 public void onItemRangeChanged(int startPosition, int itemCount, Object payload) { in TestDocumentsAdapter()
55 int last = startPosition + itemCount; in TestDocumentsAdapter()
56 for (int i = startPosition; i < last; i++) { in TestDocumentsAdapter()
63 public void onItemRangeInserted(int startPosition, int itemCount) { in TestDocumentsAdapter()
67 public void onItemRangeRemoved(int startPosition, int itemCount) { in TestDocumentsAdapter()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
DTranslationAnimationCreator.java58 Integer startPosition = (Integer) values.view.getTag(R.id.transitionPosition); in createAnimation() local
59 if (startPosition != null) { in createAnimation()
60 startX = startPosition - viewPosX + terminalX; in createAnimation()
/packages/apps/Nfc/src/com/android/nfc/
DNfcWifiProtectedSetup.java118 int startPosition = payload.position(); in parseCredential() local
120 while (payload.position() < startPosition + size) { in parseCredential()
125 if (payload.position() + fieldSize > startPosition + size) { in parseCredential()
/packages/apps/Gallery2/src/com/android/photos/views/
DGalleryThumbnailView.java237 private int makeAndAddColumn(int startPosition, int x, boolean forward) { in makeAndAddColumn() argument
241 remaining > 0 && startPosition + i >= 0 && startPosition + i < mItemCount; in makeAndAddColumn()
243 if (mAdapter.getIntrinsicAspectRatio(startPosition + i) >= 1f) { in makeAndAddColumn()
257 int position = startPosition + (forward ? i : -i); in makeAndAddColumn()
/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripDataAdapterProxy.java132 public List<Integer> getItemsInRange(int startPosition, int endPosition) { in getItemsInRange() argument
133 return mAdapter.getItemsInRange(startPosition, endPosition); in getItemsInRange()
DCameraFilmstripDataAdapter.java296 public List<Integer> getItemsInRange(int startPosition, int endPosition) { in getItemsInRange() argument
298 for (int i = Math.max(0, startPosition); i < endPosition; i++) { in getItemsInRange()
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DNetlinkMessage.java48 final int startPosition = (byteBuffer != null) ? byteBuffer.position() : -1; in parse() local
/packages/apps/Camera2/src/com/android/camera/widget/
DPreloader.java29 public List<T> getItemsInRange(int startPosition, int endPosition); in getItemsInRange() argument
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java2687 int startPosition = -1; in computeAllDayNeighbors() local
2689 startPosition = mPrevSelectedEvent.getColumn(); in computeAllDayNeighbors()
2697 if (position == startPosition) { in computeAllDayNeighbors()