/external/webkit/Source/WebCore/rendering/ |
RenderMarquee.cpp | 282 int newPos; 284 newPos = m_end; 298 newPos = currentPos + (addIncrement ? increment : -increment); 300 newPos = min(newPos, endPoint); 302 newPos = max(newPos, endPoint); 305 if (newPos == endPoint) { 314 m_layer->scrollToXOffset(newPos); 316 m_layer->scrollToYOffset(newPos); [all...] |
/frameworks/base/core/java/android/webkit/ |
WebBackForwardListClassic.java | 89 final int newPos = mCurrentIndex; 90 if (newPos != size) { 91 for (int i = size - 1; i >= newPos; i--) {
|
/external/javassist/src/main/javassist/expr/ |
NewExpr.java | 28 int newPos; 37 newPos = np; 141 int op = iterator.byteAt(newPos + 3); 145 && iterator.byteAt(newPos + 4) == Opcode.SWAP) 165 int pos = newPos;
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/swipeablelistview/ |
SwipeHelper.java | 125 private ObjectAnimator createTranslationAnimation(View v, float newPos) { 127 mSwipeDirection == X ? "translationX" : "translationY", newPos); 131 private ObjectAnimator createDismissAnimation(View v, float newPos, int duration) { 132 ObjectAnimator anim = createTranslationAnimation(v, newPos); 296 float newPos = determinePos(animView, velocity); 297 int duration = determineDuration(animView, newPos, velocity); 300 ObjectAnimator anim = createDismissAnimation(animView, newPos, duration); 320 private int determineDuration(View animView, float newPos, float velocity) { 325 (int) (Math.abs(newPos - animView.getTranslationX()) * 1000f / Math 334 float newPos = 0 [all...] |
/external/webkit/Source/WebCore/platform/ |
ScrollAnimator.cpp | 65 float newPos = std::max(std::min(*currentPos + (step * multiplier), static_cast<float>(m_scrollableArea->scrollSize(orientation))), 0.0f); 66 if (*currentPos == newPos) 68 *currentPos = newPos;
|
ScrollAnimatorWin.cpp | 85 float newPos = std::max(std::min(data->m_desiredPos + (step * multiplier), static_cast<float>(m_scrollableArea->scrollSize(orientation))), 0.0f); 86 if (newPos == data->m_desiredPos) 88 data->m_desiredPos = newPos; 135 float animationStep = fabs(newPos - *data->m_currentPos);
|
/frameworks/wilhelm/tests/listening/ |
seekTorture.c | 124 SLmillisecond newPos = duration * ((rand() & 65535) / 65536.0); 125 printf("seek %u\n", (unsigned) newPos); 126 result = (*playerSeek)->SetPosition(playerSeek, newPos, SL_SEEKMODE_ACCURATE); 131 printf("now %u\n", (unsigned) newPos);
|
/packages/apps/Music/src/com/android/music/ |
VerticalTextSpinner.java | 91 VerticalTextSpinner spinner, int oldPos, int newPos, String[] items); 351 int newPos = getNewIndex(1); 352 if (newPos >= 0) { 353 mCurrentSelectedPos = newPos; 358 if (newPos < 0 || ((newPos >= mTextList.length - 1) && !mWrapAround)) { 364 int newPos = getNewIndex(-1); 365 if (newPos >= 0) { 366 mCurrentSelectedPos = newPos; 371 if (newPos < 0 || (newPos == 0 && !mWrapAround)) [all...] |
/frameworks/base/core/java/android/widget/ |
AdapterView.java | [all...] |
Switch.java | 579 float newPos = Math.max(0, 581 if (newPos != mThumbPosition) { 582 mThumbPosition = newPos;
|
Gallery.java | 602 int newPos = mFirstPosition + newSelectedChildIndex; 604 if (newPos != mSelectedPosition) { 605 setSelectedPositionInt(newPos); 606 setNextSelectedPositionInt(newPos); [all...] |
AbsListView.java | [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
SwipeHelper.java | 116 private ObjectAnimator createTranslationAnimation(View v, float newPos) { 118 mSwipeDirection == X ? "translationX" : "translationY", newPos); 262 float newPos; 268 newPos = -getSize(animView); 270 newPos = getSize(animView); 275 (int) (Math.abs(newPos - getTranslation(animView)) * 1000f / Math 282 ObjectAnimator anim = createTranslationAnimation(animView, newPos);
|
/packages/inputmethods/LatinIME/native/jni/src/ |
binary_format.h | 279 int newPos = pos; 280 newPos = skipShortcuts(dict, flags, newPos); 281 newPos = skipBigrams(dict, flags, newPos); 282 return newPos;
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
drm_file.c | 632 off_t newPos; 656 newPos = lseek( (int)handle, (off_t)value, SEEK_SET); 657 if ( newPos == (off_t)-1 ) 664 if ( newPos > sbuf.st_size ) 666 availableSize -= (int)(newPos - sbuf.st_size);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
Switch.java | 261 float newPos = Math.max(0, 263 if (newPos != mThumbPosition) { 264 mThumbPosition = newPos;
|
/packages/experimental/DreamTheater/src/com/android/dreamtheater/ |
BouncyDroid.java | 237 World.Vec newPos = finger.add(mGrabSpot); 238 mBody.v = mBody.v.add(newPos.sub(mBody.p).mul(dt)); 239 mBody.p = newPos;
|
/external/webkit/Source/WebCore/platform/mac/ |
ScrollAnimatorMac.mm | 531 float newPos = std::max<float>(std::min<float>(currentPos + (step * multiplier), static_cast<float>(m_scrollableArea->scrollSize(orientation))), 0); 532 if (currentPos == newPos) 538 newPoint = orientation == HorizontalScrollbar ? NSMakePoint(newPos, targetOrigin.y) : NSMakePoint(targetOrigin.x, newPos); 540 newPoint = orientation == HorizontalScrollbar ? NSMakePoint(newPos, m_currentPosY) : NSMakePoint(m_currentPosX, newPos); [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
UserDictionaryToolsList.java | 429 int newPos = (mWordCount - MAX_LIST_WORD_COUNT); 430 mWordCount = (0 <= newPos) ? newPos : 0;
|
/external/webkit/Tools/DumpRenderTree/win/ |
LayoutTestControllerWin.cpp | 711 int newPos = cygwinPath.find('/', oldPos); 713 if (newPos == -1) { 725 wstring pathComponent = cygwinPath.substr(oldPos, newPos - oldPos); 732 oldPos = newPos + 1; [all...] |
/external/icu4c/i18n/ |
tmutfmt.cpp | 244 int32_t newPos = -1; 314 newPos = pos.getIndex(); 348 pos.setIndex(newPos); [all...] |
/frameworks/base/core/java/android/os/ |
Bundle.java | [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
ViewPager.java | 821 final int newPos = mAdapter.getItemPosition(ii.object); 823 if (newPos == PagerAdapter.POSITION_UNCHANGED) { 827 if (newPos == PagerAdapter.POSITION_NONE) { 847 if (ii.position != newPos) { 850 newCurrItem = newPos; 853 ii.position = newPos; [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
Mesh.java | 274 VertexBuffer newPos = oldPos.clone(); 276 clone.setBuffer(newPos); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
PanelController.java | 81 public ViewPropertyAnimator unselect(int newPos, int move) { 90 if (newPos > mPosition) {
|