Home
last modified time | relevance | path

Searched refs:getPosition (Results 1 – 25 of 158) sorted by relevance

1234567

/external/jsilver/src/com/google/clearsilver/jsilver/syntax/analysis/
DDepthFirstAdapter.java77 if(node.getPosition() != null) in caseACommentCommand()
79 node.getPosition().apply(this); in caseACommentCommand()
123 if(node.getPosition() != null) in caseAVarCommand()
125 node.getPosition().apply(this); in caseAVarCommand()
148 if(node.getPosition() != null) in caseALvarCommand()
150 node.getPosition().apply(this); in caseALvarCommand()
173 if(node.getPosition() != null) in caseAEvarCommand()
175 node.getPosition().apply(this); in caseAEvarCommand()
198 if(node.getPosition() != null) in caseAUvarCommand()
200 node.getPosition().apply(this); in caseAUvarCommand()
[all …]
DReversedDepthFirstAdapter.java82 if(node.getPosition() != null) in caseACommentCommand()
84 node.getPosition().apply(this); in caseACommentCommand()
128 if(node.getPosition() != null) in caseAVarCommand()
130 node.getPosition().apply(this); in caseAVarCommand()
153 if(node.getPosition() != null) in caseALvarCommand()
155 node.getPosition().apply(this); in caseALvarCommand()
178 if(node.getPosition() != null) in caseAEvarCommand()
180 node.getPosition().apply(this); in caseAEvarCommand()
203 if(node.getPosition() != null) in caseAUvarCommand()
205 node.getPosition().apply(this); in caseAUvarCommand()
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
DAutoEscaper.java156 setCurrentPosition(node.getPosition()); in caseAIfCommand()
208 saveAutoEscapingContext(node, node.getPosition()); in caseACallCommand()
213 saveAutoEscapingContext(node, node.getPosition()); in caseALvarCommand()
218 saveAutoEscapingContext(node, node.getPosition()); in caseAEvarCommand()
223 saveAutoEscapingContext(node, node.getPosition()); in caseALincludeCommand()
228 saveAutoEscapingContext(node, node.getPosition()); in caseAIncludeCommand()
233 saveAutoEscapingContext(node, node.getPosition()); in caseAHardLincludeCommand()
238 saveAutoEscapingContext(node, node.getPosition()); in caseAHardIncludeCommand()
243 applyAutoEscaping(node, node.getPosition()); in caseAVarCommand()
248 applyAutoEscaping(node, node.getPosition()); in caseAAltCommand()
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DAbstractCursorTest.java66 assertThat(cursor.getPosition(), equalTo(0)); in testGetPosition()
75 assertThat(cursor.getPosition(), equalTo(0)); in testGetPositionSingleEntry()
82 assertThat(cursor.getPosition(), equalTo(0)); in testGetPositionEmptyList()
93 assertThat(cursor.getPosition(), equalTo(1)); in testMoveToNext()
104 assertThat(cursor.getPosition(), equalTo(1)); in testAttemptToMovePastEnd()
108 assertThat(cursor.getPosition(), equalTo(2)); in testAttemptToMovePastEnd()
118 assertThat(cursor.getPosition(), equalTo(1)); in testAttemptToMovePastSingleEntry()
126 assertThat(cursor.getPosition(), equalTo(0)); in testAttemptToMovePastEmptyList()
135 assertThat(cursor.getPosition(), equalTo(1)); in testMoveToPrevious()
137 assertThat(cursor.getPosition(), equalTo(0)); in testMoveToPrevious()
[all …]
DSQLiteCursorTest.java144 assertThat(cursor.getPosition(), equalTo(-1)); in testMoveBackwards()
147 assertThat(cursor.getPosition(), equalTo(0)); in testMoveBackwards()
149 assertThat(cursor.getPosition(), equalTo(1)); in testMoveBackwards()
151 assertThat(cursor.getPosition(), equalTo(2)); in testMoveBackwards()
154 assertThat(cursor.getPosition(), equalTo(0)); in testMoveBackwards()
156 assertThat(cursor.getPosition(), equalTo(1)); in testMoveBackwards()
158 assertThat(cursor.getPosition(), equalTo(2)); in testMoveBackwards()
161 assertThat(cursor.getPosition(), equalTo(1)); in testMoveBackwards()
203 assertThat(cursor.getPosition(), equalTo(0)); in testGetPosition()
206 assertThat(cursor.getPosition(), equalTo(1)); in testGetPosition()
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
DTemplateInterpreter.java107 setLastPosition(node.getPosition()); in caseAVarCommand()
119 setLastPosition(node.getPosition()); in caseAUvarCommand()
131 setLastPosition(node.getPosition()); in caseALvarCommand()
140 setLastPosition(node.getPosition()); in caseAEvarCommand()
167 setLastPosition(node.getPosition()); in caseAHardLincludeCommand()
177 setLastPosition(node.getPosition()); in caseALincludeCommand()
186 setLastPosition(node.getPosition()); in caseAHardIncludeCommand()
196 setLastPosition(node.getPosition()); in caseAIncludeCommand()
205 setLastPosition(node.getPosition()); in caseASetCommand()
230 setLastPosition(node.getPosition()); in caseANameCommand()
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DAttackAtDistanceComponent.java52 mDistance.set(player.getPosition()); in update()
53 mDistance.subtract(parentObject.getPosition()); in update()
58 (Utils.sign(player.getPosition().x - parentObject.getPosition().x) in update()
DLifetimeComponent.java92 Math.abs(parentObject.getPosition().x - camera.getFocusPositionX()); in update()
94 Math.abs(parentObject.getPosition().y - camera.getFocusPositionY()); in update()
108 parentObject.getPosition().y + 10.0f) == HotSpotSystem.HotSpotType.DIE) { in update()
145 GameObject object = factory.spawn(mSpawnOnDeathType, parentObject.getPosition().x, in die()
146 parentObject.getPosition().y, parentObject.facingDirection.x < 0.0f); in die()
DMovementComponent.java45 float newX = object.getPosition().x + offsetX; in update()
51 float newY = object.getPosition().y + offsetY; in update()
55 object.getPosition().set(newX, newY); in update()
DTheSourceComponent.java69 mShakeStartPosition = parentObject.getPosition().x; in update()
97 parentObject.getPosition().y += offset; in update()
132 parentObject.getPosition().x = mShakeStartPosition + delta; in update()
136 parentObject.getPosition().x = mShakeStartPosition; in update()
DHitReactionComponent.java129 victim.getPosition().x : parent.getPosition().x; in hitVictim()
131 victim.getPosition().y : parent.getPosition().y; in hitVictim()
179 Vector2 newVelocity = pool.allocate(parent.getPosition()); in receivedHit()
180 newVelocity.subtract(attacker.getPosition()); in receivedHit()
DGameObjectManager.java89 final float distance2 = mCameraFocus.distance2(gameObject.getPosition()); in update()
116 final Vector2 position = gameObject.getPosition(); in update()
192 float delta = ((GameObject) object1).getPosition().x in compare()
193 - ((GameObject) object2).getPosition().x; in compare()
DLaunchProjectileComponent.java146 final float x = parentObject.getPosition().x + offsetX; in launch()
147 final float y = parentObject.getPosition().y + offsetY; in launch()
165 object.getPosition().x -= object.width / 2.0f; in launch()
166 object.getPosition().y -= object.height / 2.0f; in launch()
DPatrolComponent.java96 parentObject.getPosition().y + 10.0f); in update()
221 if (Utils.sign(player.getPosition().x - parentObject.getPosition().x) in updateAttack()
223 mWorkingVector.set(parentObject.getPosition()); in updateAttack()
225 mWorkingVector2.set(player.getPosition()); in updateAttack()
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DTemplateTranslator.java234 capturePosition(node.getPosition()); in caseAVarCommand()
251 capturePosition(node.getPosition()); in caseAUvarCommand()
261 capturePosition(node.getPosition()); in caseASetCommand()
285 capturePosition(node.getPosition()); in caseANameCommand()
296 capturePosition(node.getPosition()); in caseAIfCommand()
313 capturePosition(node.getPosition()); in caseAEachCommand()
325 capturePosition(node.getPosition()); in caseAWithCommand()
374 capturePosition(node.getPosition()); in caseALoopToCommand()
387 capturePosition(node.getPosition()); in caseALoopCommand()
401 capturePosition(node.getPosition()); in caseALoopIncCommand()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DTargetInsn.java55 return new TargetInsn(opcode, getPosition(), getRegisters(), target); in withOpcode()
61 return new TargetInsn(getOpcode(), getPosition(), registers, target); in withRegisters()
77 return new TargetInsn(opcode, getPosition(), getRegisters(), target); in withNewTargetAndReversed()
DSimpleInsn.java45 return new SimpleInsn(opcode, getPosition(), getRegisters()); in withOpcode()
51 return new SimpleInsn(getOpcode(), getPosition(), registers); in withRegisters()
DRopTranslator.java254 output.add(new LocalSnapshot(startAddress.getPosition(), in outputBlock()
300 new TargetInsn(Dops.GOTO, lastInsn.getPosition(), in outputBlock()
544 SourcePosition pos = insn.getPosition(); in visitPlainInsn()
579 SourcePosition pos = insn.getPosition(); in visitPlainCstInsn()
616 SourcePosition pos = insn.getPosition(); in visitSwitchInsn()
687 SourcePosition pos = insn.getPosition(); in visitThrowingCstInsn()
740 SourcePosition pos = insn.getPosition(); in visitThrowingInsn()
766 SourcePosition pos = insn.getPosition(); in visitFillArrayDataInsn()
875 addOutput(new LocalStart(insn.getPosition(), spec)); in addIntroductionIfNecessary()
DLocalEnd.java60 return new LocalEnd(getPosition(), local.withOffset(delta)); in withRegisterOffset()
66 return new LocalEnd(getPosition(), local); in withRegisters()
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
DPlainInsn.java92 return new PlainInsn(getOpcode(), getPosition(), in withRegisterOffset()
117 return new PlainCstInsn(newRop, getPosition(), getResult(), in withSourceLiteral()
141 return new PlainCstInsn(newRop, getPosition(), in withSourceLiteral()
152 return new PlainInsn(getOpcode(), getPosition(), in withNewRegisters()
DThrowingInsn.java99 return new ThrowingInsn(getOpcode(), getPosition(), in withAddedCatch()
106 return new ThrowingInsn(getOpcode(), getPosition(), in withRegisterOffset()
116 return new ThrowingInsn(getOpcode(), getPosition(), in withNewRegisters()
DThrowingCstInsn.java84 return new ThrowingCstInsn(getOpcode(), getPosition(), in withAddedCatch()
92 return new ThrowingCstInsn(getOpcode(), getPosition(), in withRegisterOffset()
103 return new ThrowingCstInsn(getOpcode(), getPosition(), in withNewRegisters()
/external/llvm/tools/opt/
Dopt.cpp699 StandardCompileOpts.getPosition() < PassList.getPosition(i)) { in main()
705 StandardLinkOpts.getPosition() < PassList.getPosition(i)) { in main()
710 if (OptLevelO1 && OptLevelO1.getPosition() < PassList.getPosition(i)) { in main()
715 if (OptLevelO2 && OptLevelO2.getPosition() < PassList.getPosition(i)) { in main()
720 if (OptLevelOs && OptLevelOs.getPosition() < PassList.getPosition(i)) { in main()
725 if (OptLevelOz && OptLevelOz.getPosition() < PassList.getPosition(i)) { in main()
730 if (OptLevelO3 && OptLevelO3.getPosition() < PassList.getPosition(i)) { in main()
/external/webkit/Source/WebCore/platform/graphics/android/layers/
DIFrameLayerAndroid.cpp24 parentOffset = parentIframeLayer->getPosition(); in updatePosition()
26 SkPoint offset = parentOffset + getPosition(); in updatePosition()
/external/llvm/tools/llvm-mcmarkup/
Dllvm-mcmarkup.cpp53 StringRef::const_iterator getPosition() const { return CurPtr; } in getPosition() function in MarkupLexer
126 StringRef::const_iterator Start = Lex.getPosition(); in parseTag()
133 StringRef RawTag(Start, Lex.getPosition() - Start - 1); in parseTag()
175 SMLoc Loc = SMLoc::getFromPointer(Lex.getPosition() - 1); in parseMCMarkup()

1234567