Home
last modified time | relevance | path

Searched refs:newPos (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderMarquee.cpp288 int newPos; in timerFired() local
290 newPos = m_end; in timerFired()
304 newPos = currentPos + (addIncrement ? increment : -increment); in timerFired()
306 newPos = min(newPos, endPoint); in timerFired()
308 newPos = max(newPos, endPoint); in timerFired()
311 if (newPos == endPoint) { in timerFired()
320 layer()->scrollableArea()->scrollToXOffset(newPos); in timerFired()
322 layer()->scrollableArea()->scrollToYOffset(newPos); in timerFired()
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/
Dfile_table.js53 FileTableColumnModel.prototype.applyColumnPositions_ = function(newPos) { argument
55 for (var i = 0; i < newPos.length - 2; i++) {
56 if (newPos[i + 1] - newPos[i] < FileTableColumnModel.MIN_WIDTH_) {
57 newPos[i + 1] = newPos[i] + FileTableColumnModel.MIN_WIDTH_;
60 for (var i = newPos.length - 1; i >= 2; i--) {
61 if (newPos[i] - newPos[i - 1] < FileTableColumnModel.MIN_WIDTH_) {
62 newPos[i - 1] = newPos[i] - FileTableColumnModel.MIN_WIDTH_;
67 this.columns_[i].width = newPos[i + 1] - newPos[i];
135 var newPos = [];
138 newPos[i] = this.columnPos_[i];
[all …]
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/metadata/
Dbyte_reader.js491 var newPos;
493 newPos = this.pos_ + pos;
495 newPos = opt_end + pos;
497 newPos = pos;
500 if (newPos < 0 || newPos > this.view_.byteLength)
501 throw new Error('Seek outside of buffer: ' + (newPos - opt_end));
503 this.pos_ = newPos;
/external/lzma/CPP/7zip/Common/
DLimitedStreams.cpp34 UInt64 newPos = _startOffset + _virtPos; in Read() local
35 if (newPos != _physPos) in Read()
37 _physPos = newPos; in Read()
75 UInt64 newPos = StartOffset + ((UInt64)phyBlock << BlockSizeLog) + offsetInBlock; in Read() local
76 if (newPos != _physPos) in Read()
78 _physPos = newPos; in Read()
/external/javassist/src/main/javassist/expr/
DNewExpr.java28 int newPos; field in NewExpr
37 newPos = np; in NewExpr()
141 int op = iterator.byteAt(newPos + 3); in canReplace()
145 && iterator.byteAt(newPos + 4) == Opcode.SWAP) in canReplace()
165 int pos = newPos; in replace()
/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/
DSkinning.glsllib15 vec4 newPos = vec4(0.0);
20 newPos += weight.x * (skinMat * position);
26 position = newPos;
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollAnimator.cpp57 float newPos = clampScrollPosition(orientation, *currentPos + step * multiplier); in scroll() local
58 float delta = *currentPos - newPos; in scroll()
59 if (*currentPos == newPos) in scroll()
61 *currentPos = newPos; in scroll()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
Dclosebrackets.js75 var newPos = CodeMirror.Pos(cur.line + 1, 0);
76 cm.replaceSelection("\n\n", {anchor: newPos, head: newPos}, "+input");
Dcodemirror.js2595 var newPos = m.find()[dir < 0 ? "from" : "to"];
2596 if (posEq(newPos, curPos)) {
2597 newPos.ch += dir;
2598 if (newPos.ch < 0) {
2599 if (newPos.line > doc.first) newPos = clipPos(doc, Pos(newPos.line - 1));
2600 else newPos = null;
2601 } else if (newPos.ch > line.text.length) {
2602 if (newPos.line < doc.first + doc.size - 1) newPos = Pos(newPos.line + 1, 0);
2603 else newPos = null;
2605 if (!newPos) {
[all …]
/external/zlib/src/contrib/minizip/
Diowin32.c240 static BOOL MySetFilePointerEx(HANDLE hFile, LARGE_INTEGER pos, LARGE_INTEGER *newPos, DWORD dwMov… in MySetFilePointerEx() argument
243 return SetFilePointerEx(hFile, pos, newPos, dwMoveMethod); in MySetFilePointerEx()
251 if ((newPos != NULL) && (fOk)) in MySetFilePointerEx()
253 newPos->LowPart = dwNewPos; in MySetFilePointerEx()
254 newPos->HighPart = lHigh; in MySetFilePointerEx()
/external/chromium_org/third_party/WebKit/Source/platform/mac/
DScrollAnimatorMac.mm661 …float newPos = std::max<float>(std::min<float>(currentPos + (step * multiplier), m_scrollableArea-…
662 if (currentPos == newPos)
668 …entation == HorizontalScrollbar ? NSMakePoint(newPos, targetOrigin.y) : NSMakePoint(targetOrigin.x…
670 …ientation == HorizontalScrollbar ? NSMakePoint(newPos, m_currentPosY) : NSMakePoint(m_currentPosX,…
1136 …FloatPoint newPos = adjustScrollPositionIfNecessary(FloatPoint(m_currentPosX, m_currentPosY) + del…
1137 if (newPos.x() == m_currentPosX && newPos.y() == m_currentPosY)
1140 FloatSize adjustedDelta = FloatSize(newPos.x() - m_currentPosX, newPos.y() - m_currentPosY);
1142 m_currentPosX = newPos.x();
1143 m_currentPosY = newPos.y();
/external/chromium_org/third_party/WebKit/Source/web/tests/
DScrollAnimatorNoneTest.cpp359 double newPos = attackCurve(curve, t, time, 0, kPosition); in curveTestInner() local
360 double delta = newPos - oldPos; in curveTestInner()
364 accumulate += (oldPos + newPos) / 2 * (step / time); in curveTestInner()
365 oldPos = newPos; in curveTestInner()
381 double newPos = releaseCurve(curve, t, time, 0, kPosition); in curveTestInner() local
382 double delta = newPos - oldPos; in curveTestInner()
386 accumulate -= (kPosition - (oldPos + newPos) / 2) * (step / time); in curveTestInner()
387 oldPos = newPos; in curveTestInner()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowParcel.java710 int newPos = dataPosition(); in writeBundle() local
714 int N = newPos - oldPos; in writeBundle()
716 setDataPosition(newPos); in writeBundle()
/external/icu4c/i18n/
Dtmutfmt.cpp246 int32_t newPos = -1; in parseObject() local
316 newPos = pos.getIndex(); in parseObject()
350 pos.setIndex(newPos); in parseObject()
/external/chromium_org/third_party/icu/source/i18n/
Dtmutfmt.cpp243 int32_t newPos = -1; in parseObject() local
312 newPos = pos.getIndex(); in parseObject()
346 pos.setIndex(newPos); in parseObject()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DMesh.java274 VertexBuffer newPos = oldPos.clone(); in cloneForAnim() local
276 clone.setBuffer(newPos); in cloneForAnim()
/external/chromium_org/chrome/browser/ui/cocoa/find_bar/
Dfind_bar_cocoa_controller.mm564 gfx::Rect newPos = FindBarController::GetLocationForFindbarView(
567 return newPos.x();