/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;
|
/external/lzma/CPP/7zip/Common/ |
CWrappers.cpp | 117 UInt64 newPosition;
118 p->Res = p->Stream->Seek(*offset, moveMethod, &newPosition);
119 *offset = (Int64)newPosition;
|
/libcore/luni/src/main/java/java/nio/ |
CharSequenceAdapter.java | 84 int newPosition = position + charCount; 85 sequence.toString().getChars(position, newPosition, dst, dstOffset); 86 position = newPosition;
|
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...] |
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...] |
/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/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...] |
/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...] |
/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...] |
Scrollbar.cpp | 317 float newPosition = static_cast<float>(thumbPos + delta) * (maxPos - minPos) / (trackLen - thumbLen) + minPos; 318 m_scrollableArea->scrollToOffsetWithoutAnimation(m_orientation, newPosition);
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/ |
NavCalculator.java | 313 Position newPosition = null; 360 newPosition = new Position(newLat, 366 return newPosition;
|
/frameworks/av/media/libmedia/ |
AudioTrackShared.cpp | 819 size_t newPosition = position + stepCount; 821 if (!(position <= newPosition && newPosition <= mFrameCount)) { 822 ALOGW("%s newPosition %u outside [%u, %u]", __func__, newPosition, position, mFrameCount); 823 newPosition = mFrameCount; 824 } else if (mState.mLoopCount != 0 && newPosition == mState.mLoopEnd) { 826 newPosition = mState.mLoopStart; 833 if (newPosition == mFrameCount) { 836 mPosition = newPosition; [all...] |
AudioRecord.cpp | 754 size_t newPosition = mNewPosition; 757 if (updatePeriod > 0 && position >= newPosition) { 758 newPosCount = ((position - newPosition) / updatePeriod) + 1; 785 size_t temp = newPosition; 787 newPosition += updatePeriod;
|
AudioTrack.cpp | [all...] |
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaWindowAdapter.java | [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderBlock.cpp | [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
ApiService.java | [all...] |
/prebuilts/devtools/tools/lib/ |
jobb.jar | |
/external/zxing/core/ |
core.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.jface.databinding_1.4.0.I20100601-0800.jar | |
org.apache.lucene_1.9.1.v20100518-1140.jar | |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/17/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/19/ |
android.jar | |