/frameworks/base/core/java/android/database/ |
CrossProcessCursor.java | 74 * @param newPosition The position that we're moving to. 77 boolean onMove(int oldPosition, int newPosition);
|
CrossProcessCursorWrapper.java | 67 public boolean onMove(int oldPosition, int newPosition) { 70 return crossProcessCursor.onMove(oldPosition, newPosition);
|
BulkCursorToCursorAdaptor.java | 75 public boolean onMove(int oldPosition, int newPosition) { 81 || newPosition < mWindow.getStartPosition() 82 || newPosition >= mWindow.getStartPosition() + mWindow.getNumRows()) { 83 setWindow(mBulkCursor.getWindow(newPosition)); 85 mBulkCursor.onMove(newPosition);
|
/external/lzma/CPP/7zip/Common/ |
OffsetStream.cpp | 21 UInt64 *newPosition)
27 if (newPosition != NULL)
28 *newPosition = absoluteNewPosition - _offset;
|
OffsetStream.h | 21 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
|
LimitedStreams.cpp | 48 STDMETHODIMP CLimitedInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)
57 if (newPosition)
58 *newPosition = _virtPos;
99 STDMETHODIMP CClusterInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)
112 if (newPosition)
113 *newPosition = newVirtPos;
|
FileStreams.cpp | 244 UInt64 *newPosition)
263 if (newPosition)
264 *newPosition = newVirtPos;
276 if (newPosition != NULL)
277 *newPosition = realNewPosition;
285 if (newPosition != NULL)
286 *newPosition = (UInt64)res;
332 STDMETHODIMP COutFileStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)
340 if (newPosition != NULL)
341 *newPosition = realNewPosition; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
ScrollerHelper.java | 89 int newPosition = Utils.clamp(finalPosition + distance, min, max); 90 if (newPosition != currPosition) { 93 newPosition - currPosition, 0, 0); // dx, dy, duration 95 return finalPosition + distance - newPosition;
|
/libcore/luni/src/main/java/java/nio/ |
Buffer.java | 343 * @param newPosition 348 * if <code>newPosition</code> is invalid. 350 public final Buffer position(int newPosition) { 351 positionImpl(newPosition); 355 void positionImpl(int newPosition) { 356 if (newPosition < 0 || newPosition > limit) { 357 throw new IllegalArgumentException("Bad position (limit " + limit + "): " + newPosition); 360 position = newPosition;
|
DirectByteBuffer.java | 162 int newPosition = position + SizeOf.CHAR; 163 if (newPosition > limit) { 167 position = newPosition; 177 int newPosition = position + SizeOf.DOUBLE; 178 if (newPosition > limit) { 182 position = newPosition; 192 int newPosition = position + SizeOf.FLOAT; 193 if (newPosition > limit) { 197 position = newPosition; 207 int newPosition = position + SizeOf.INT [all...] |
ByteArrayBuffer.java | 163 int newPosition = position + SizeOf.CHAR; 164 if (newPosition > limit) { 168 position = newPosition; 194 int newPosition = position + SizeOf.INT; 195 if (newPosition > limit) { 199 position = newPosition; 209 int newPosition = position + SizeOf.LONG; 210 if (newPosition > limit) { 214 position = newPosition; 224 int newPosition = position + SizeOf.SHORT [all...] |
CharSequenceAdapter.java | 84 int newPosition = position + charCount; 85 sequence.toString().getChars(position, newPosition, dst, dstOffset); 86 position = newPosition;
|
/external/icu4c/layout/ |
GlyphIterator.cpp | 200 void GlyphIterator::setCurrStreamPosition(le_int32 newPosition) 203 if (newPosition >= prevLimit) { 208 if (newPosition <= nextLimit) { 213 if (newPosition <= prevLimit) { 218 if (newPosition >= nextLimit) { 224 position = newPosition - direction; 434 le_int32 newPosition = position; 436 while (newPosition != nextLimit && delta > 0) { 438 newPosition += direction; 439 } while (newPosition != nextLimit && filterGlyph(newPosition)) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ConversationPositionTracker.java | 197 final int newPosition; 200 newPosition = listSize - 1; 202 newPosition = foundPosition; 207 if (isDataLoaded(cursor) && newPosition >= 0){ 210 newPosition); 211 cursor.moveToPosition(newPosition); 213 mConversation.position = newPosition; 215 return newPosition;
|
/external/lzma/CPP/7zip/Archive/Common/ |
MultiStream.cpp | 52 STDMETHODIMP CMultiStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)
61 if (newPosition != 0)
62 *newPosition = _pos;
170 STDMETHODIMP COutMultiStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)
|
InStreamWithCRC.cpp | 35 STDMETHODIMP CInStreamWithCRC::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)
41 return _stream->Seek(offset, seekOrigin, newPosition);
|
MultiStream.h | 47 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
80 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
|
/external/lzma/CPP/7zip/ |
IStream.h | 39 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) PURE;
44 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) PURE;
|
/frameworks/base/core/java/com/android/internal/database/ |
SortCursor.java | 104 public boolean onMove(int oldPosition, int newPosition) 106 if (oldPosition == newPosition) 117 int cache_entry = newPosition % ROWCACHESIZE; 119 if (mRowNumCache[cache_entry] == newPosition) { 141 if (newPosition < oldPosition || oldPosition == -1) { 154 for(int i = oldPosition; i <= newPosition; i++) { 167 if (i == newPosition) break; 173 mRowNumCache[cache_entry] = newPosition;
|
/packages/apps/Music/src/com/android/music/ |
SortCursor.java | 104 public boolean onMove(int oldPosition, int newPosition) 106 if (oldPosition == newPosition) 117 int cache_entry = newPosition % ROWCACHESIZE; 119 if (mRowNumCache[cache_entry] == newPosition) { 141 if (newPosition < oldPosition || oldPosition == -1) { 154 for(int i = oldPosition; i <= newPosition; i++) { 167 if (i == newPosition) break; 173 mRowNumCache[cache_entry] = newPosition;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ReorderingCursorWrapper.java | 52 public boolean onMove(int oldPosition, int newPosition) { 53 return mCursor.moveToPosition(mPositionMap[newPosition]);
|
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
ScrollAnimatorNone.cpp | 233 float newPosition = m_desiredPosition + delta; 235 if (newPosition < 0 || newPosition > scrollableSize) 236 newPosition = max(min(newPosition, scrollableSize), 0.0f); 238 if (newPosition == m_desiredPosition) 241 m_desiredPosition = newPosition; 337 double newPosition = *m_currentPosition; 345 newPosition = attackCurve(m_attackCurve, deltaTime, m_attackTime, m_startPosition, m_attackPosition); 347 newPosition = m_attackPosition + (deltaTime - m_attackTime) * m_desiredVelocity [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteCursor.java | 120 public boolean onMove(int oldPosition, int newPosition) { 121 // Make sure the row at newPosition is present in the window 122 if (mWindow == null || newPosition < mWindow.getStartPosition() || 123 newPosition >= (mWindow.getStartPosition() + mWindow.getNumRows())) { 124 fillWindow(newPosition);
|
/external/lzma/CPP/Windows/ |
FileIO.cpp | 193 bool CFileBase::Seek(Int64 distanceToMove, DWORD moveMethod, UInt64 &newPosition) const
209 newPosition = value.QuadPart;
213 bool CFileBase::Seek(UInt64 position, UInt64 &newPosition)
215 return Seek(position, FILE_BEGIN, newPosition);
220 UInt64 newPosition;
221 return Seek(0, newPosition);
224 bool CFileBase::SeekToEnd(UInt64 &newPosition)
226 return Seek(0, FILE_END, newPosition);
426 UInt64 newPosition;
427 if (!Seek(length, newPosition))
[all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
RootCursorWrapper.java | 78 public boolean onMove(int oldPosition, int newPosition) { 79 return mCursor.moveToPosition(newPosition);
|