Home
last modified time | relevance | path

Searched refs:oldPosition (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/com/android/internal/database/
DSortCursor.java108 public boolean onMove(int oldPosition, int newPosition) in onMove() argument
110 if (oldPosition == newPosition) in onMove()
145 if (newPosition < oldPosition || oldPosition == -1) { in onMove()
150 oldPosition = 0; in onMove()
152 if (oldPosition < 0) { in onMove()
153 oldPosition = 0; in onMove()
158 for(int i = oldPosition; i <= newPosition; i++) { in onMove()
/frameworks/base/core/java/android/database/
DCrossProcessCursorWrapper.java67 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument
70 return crossProcessCursor.onMove(oldPosition, newPosition); in onMove()
DCrossProcessCursor.java77 boolean onMove(int oldPosition, int newPosition); in onMove() argument
DBulkCursorToCursorAdaptor.java74 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument
DMergeCursor.java68 public boolean onMove(int oldPosition, int newPosition) in onMove() argument
DAbstractCursor.java201 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipBoundsAlgorithmTest.java371 final Rect oldPosition = mPipBoundsAlgorithm.getEntryDestinationBounds(); in setShelfHeight_offsetBounds() local
376 oldPosition.offset(0, -shelfHeight); in setShelfHeight_offsetBounds()
377 assertBoundsInclusionWithMargin("offsetBounds by shelf", oldPosition, newPosition); in setShelfHeight_offsetBounds()
384 final Rect oldPosition = mPipBoundsAlgorithm.getEntryDestinationBounds(); in onImeVisibilityChanged_offsetBounds() local
389 oldPosition.offset(0, -imeHeight); in onImeVisibilityChanged_offsetBounds()
390 assertBoundsInclusionWithMargin("offsetBounds by IME", oldPosition, newPosition); in onImeVisibilityChanged_offsetBounds()
/frameworks/base/core/java/android/widget/
DDayPickerPagerAdapter.java128 final int oldPosition = getPositionForDay(mSelectedDay); in setSelectedDay() local
132 if (oldPosition != newPosition && oldPosition >= 0) { in setSelectedDay()
133 final ViewHolder oldMonthView = mItems.get(oldPosition, null); in setSelectedDay()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp538 static int64_t oldPosition = 0; in logTimestamp() local
547 int64_t framesDelta = framePosition - oldPosition; in logTimestamp()
552 oldPosition = framePosition; in logTimestamp()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteCursor.java119 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument
/frameworks/base/services/core/java/com/android/server/wm/
DTaskDisplayArea.java426 final int oldPosition = mChildren.indexOf(child);
433 super.positionChildAt(oldPosition, child, false /* includingParents */);
477 if (mChildren.indexOf(child) != oldPosition) {
DWindowState.java5254 final Point oldPosition = new Point(); in startMoveAnimation() local
5257 oldPosition); in startMoveAnimation()
5260 new MoveAnimationSpec(oldPosition.x, oldPosition.y, newPosition.x, newPosition.y), in startMoveAnimation()
/frameworks/base/opengl/java/android/opengl/
DGLLogWrapper.java1046 int oldPosition = charBuffer.position(); in toCharIndices() local
1049 charBuffer.position(oldPosition); in toCharIndices()