Home
last modified time | relevance | path

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

12345678910>>...190

/dports/audio/vst3sdk/vst3sdk-3.7.1_build_50-1-g8199057/vstgui4/vstgui/tests/unittest/lib/animation/
H A Dtimingfunction_tests.cpp18 EXPECT(tf.getPosition (0) == 0.f);
19 EXPECT(tf.getPosition (50) == 0.5f);
20 EXPECT(tf.getPosition (100) == 1.f);
21 EXPECT(tf.getPosition (150) == 1.f);
26 EXPECT(tf.getPosition (0) == 0.f);
29 EXPECT(tf.getPosition (100) == 1.f);
30 EXPECT(tf.getPosition (150) == 1.f);
35 EXPECT(tf.getPosition (0) == 0.f);
44 EXPECT(tf.getPosition (0) == 0.f);
55 EXPECT(tf.getPosition (0) == 0.f);
[all …]
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/vstgui.surge/vstgui/tests/unittest/lib/animation/
H A Dtimingfunction_tests.cpp18 EXPECT(tf.getPosition (0) == 0.f);
19 EXPECT(tf.getPosition (50) == 0.5f);
20 EXPECT(tf.getPosition (100) == 1.f);
21 EXPECT(tf.getPosition (150) == 1.f);
26 EXPECT(tf.getPosition (0) == 0.f);
29 EXPECT(tf.getPosition (100) == 1.f);
30 EXPECT(tf.getPosition (150) == 1.f);
35 EXPECT(tf.getPosition (0) == 0.f);
44 EXPECT(tf.getPosition (0) == 0.f);
55 EXPECT(tf.getPosition (0) == 0.f);
[all …]
/dports/editors/calligra/calligra-3.2.1/filters/libmso/generated/
H A DsimpleParser.cpp7 _s.streamOffset = in.getPosition(); in parseRecordHeader()
14 _s.streamOffset = in.getPosition(); in parseCurrentUserAtom()
76 _s.streamOffset = in.getPosition(); in parseTODOS()
97 _s.streamOffset = in.getPosition(); in parseByte()
101 _s.streamOffset = in.getPosition(); in parseZeroByte()
108 _s.streamOffset = in.getPosition(); in parseCurrentUserStream()
130 _s.streamOffset = in.getPosition(); in parseOfficeArtBStoreDelay()
151 _s.streamOffset = in.getPosition(); in parseOfficeArtRecordHeader()
158 _s.streamOffset = in.getPosition(); in parseOfficeArtBlipJPEG()
186 _s.streamOffset = in.getPosition(); in parseOfficeArtBlipPNG()
[all …]
/dports/java/servingxml/servingxml-1.1.2/servingxml-framework/src/test/java/com/servingxml/components/flatfile/scanner/bytes/
H A DByteBufferTest.java115 assertTrue("-1=="+buffer.getPosition(), buffer.getPosition() == -1); in testPositionMovement()
117 assertTrue("0=="+buffer.getPosition(), buffer.getPosition() == 0); in testPositionMovement()
125 assertTrue("8==" + buffer.getPosition(),buffer.getPosition() == 8); in testPositionMovement()
135 assertTrue("0=="+buffer.getPosition(), buffer.getPosition() == 0); in testPositionMovement3()
141 assertTrue("8==" + buffer.getPosition(),buffer.getPosition() == 8); in testPositionMovement3()
151 assertTrue("0=="+buffer.getPosition(), buffer.getPosition() == 0); in testPositionMovement9()
182 assertTrue("2="+buffer.getPosition(), buffer.getPosition() == 2); in testReserved2()
186 assertTrue("5="+buffer.getPosition(), buffer.getPosition() == 5); in testReserved2()
190 assertTrue("6="+buffer.getPosition(), buffer.getPosition() == 6); in testReserved2()
198 assertTrue("2="+buffer.getPosition(), buffer.getPosition() == 2); in testReserved2()
[all …]
/dports/devel/sfml/SFML-2.5.1/examples/pong/
H A DPong.cpp153 … if (ball.getPosition().y + ballRadius > rightPaddle.getPosition().y + paddleSize.y / 2) in main()
191 if (ball.getPosition().x - ballRadius < leftPaddle.getPosition().x + paddleSize.x / 2 && in main()
192 ball.getPosition().x - ballRadius > leftPaddle.getPosition().x && in main()
193 … ball.getPosition().y + ballRadius >= leftPaddle.getPosition().y - paddleSize.y / 2 && in main()
194 ball.getPosition().y - ballRadius <= leftPaddle.getPosition().y + paddleSize.y / 2) in main()
196 if (ball.getPosition().y > leftPaddle.getPosition().y) in main()
206 … if (ball.getPosition().x + ballRadius > rightPaddle.getPosition().x - paddleSize.x / 2 && in main()
207 ball.getPosition().x + ballRadius < rightPaddle.getPosition().x && in main()
208 … ball.getPosition().y + ballRadius >= rightPaddle.getPosition().y - paddleSize.y / 2 && in main()
209 ball.getPosition().y - ballRadius <= rightPaddle.getPosition().y + paddleSize.y / 2) in main()
[all …]
/dports/graphics/cegui/cegui-0.8.7/tests/unit/
H A DAnimationSystem.cpp84 BOOST_CHECK_SMALL(instance->getPosition(), 0.0001f); in BOOST_AUTO_TEST_CASE()
86 BOOST_CHECK_SMALL(instance->getPosition(), 0.0001f); in BOOST_AUTO_TEST_CASE()
103 BOOST_CHECK_SMALL(instance->getPosition(), 0.0001f); in BOOST_AUTO_TEST_CASE()
105 BOOST_CHECK_SMALL(instance->getPosition(), 0.0001f); in BOOST_AUTO_TEST_CASE()
124 BOOST_CHECK_SMALL(instance->getPosition(), 0.0001f); in BOOST_AUTO_TEST_CASE()
126 BOOST_CHECK_SMALL(instance->getPosition(), 0.0001f); in BOOST_AUTO_TEST_CASE()
134 BOOST_CHECK_SMALL(instance->getPosition(), 0.0001f); in BOOST_AUTO_TEST_CASE()
146 BOOST_CHECK_SMALL(instance->getPosition(), 0.0001f); in BOOST_AUTO_TEST_CASE()
148 BOOST_CHECK_SMALL(instance->getPosition(), 0.0001f); in BOOST_AUTO_TEST_CASE()
150 BOOST_CHECK_SMALL(instance->getPosition(), 0.0001f); in BOOST_AUTO_TEST_CASE()
[all …]
/dports/biology/artemis/artemis-17.0.1-11-g3e43d27e/uk/ac/sanger/artemis/sequence/
H A DMarkerRange.java157 return new Range (getStart ().getPosition (), getEnd ().getPosition ()); in getRange()
168 if (getStart ().getPosition () < arg_range.getStart ().getPosition () && in overlaps()
169 getEnd ().getPosition () < arg_range.getStart ().getPosition ()) { in overlaps()
172 if (getStart ().getPosition () > arg_range.getEnd ().getPosition () && in overlaps()
173 getEnd ().getPosition () > arg_range.getEnd ().getPosition ()) { in overlaps()
212 getEnd ().getPosition ()); in combineRanges()
233 arg_range.getStart ().getPosition ()) { in combineRanges()
237 if (return_range.getEnd ().getPosition () < in combineRanges()
238 arg_range.getEnd ().getPosition ()) { in combineRanges()
251 if (getStart ().getPosition () <= arg_range.getStart ().getPosition () && in contains()
[all …]
/dports/java/servingxml/servingxml-1.1.2/servingxml-framework/src/test/java/com/servingxml/components/flatfile/scanner/characters/
H A DCharBufferTest.java125 assertTrue("-1=="+buffer.getPosition(), buffer.getPosition() == -1); in testPositionMovement()
127 assertTrue("0=="+buffer.getPosition(), buffer.getPosition() == 0); in testPositionMovement()
135 assertTrue("8==" + buffer.getPosition(),buffer.getPosition() == 8); in testPositionMovement()
146 assertTrue("0=="+buffer.getPosition(), buffer.getPosition() == 0); in testPositionMovement3()
152 assertTrue("8==" + buffer.getPosition(),buffer.getPosition() == 8); in testPositionMovement3()
163 assertTrue("0=="+buffer.getPosition(), buffer.getPosition() == 0); in testPositionMovement9()
196 assertTrue("2="+buffer.getPosition(), buffer.getPosition() == 2); in testReserved2()
200 assertTrue("5="+buffer.getPosition(), buffer.getPosition() == 5); in testReserved2()
204 assertTrue("6="+buffer.getPosition(), buffer.getPosition() == 6); in testReserved2()
212 assertTrue("2="+buffer.getPosition(), buffer.getPosition() == 2); in testReserved2()
[all …]
/dports/games/maxr/maxr-0.2.9/src/ui/graphical/menu/dialogs/
H A Ddialogpreferences.cpp54 …addChild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (25, 56), getPositi… in cDialogPreferences()
56 …Child (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (25, 56 + 20), getPosi… in cDialogPreferences()
57 …hild (std::make_unique<cSlider> (cBox<cPosition> (getPosition() + cPosition (140, 53 + 20), getPos… in cDialogPreferences()
63 …ld (std::make_unique<cSlider> (cBox<cPosition> (getPosition() + cPosition (140, 53 + 20 * 2), getP… in cDialogPreferences()
70 …ld (std::make_unique<cSlider> (cBox<cPosition> (getPosition() + cPosition (140, 53 + 20 * 3), getP… in cDialogPreferences()
75 …ddChild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (25, 158), getPositi… in cDialogPreferences()
76 …hild (std::make_unique<cLineEdit> (cBox<cPosition> (getPosition() + cPosition (140, 154), getPosit… in cDialogPreferences()
78 …ddChild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (25, 257), getPositi… in cDialogPreferences()
79 …dChild (std::make_unique<cSlider> (cBox<cPosition> (getPosition() + cPosition (140, 254), getPosit… in cDialogPreferences()
101 …d (std::make_unique<cComboBox> (cBox<cPosition> (getPosition() + cPosition (240, 294 + 20), getPos… in cDialogPreferences()
[all …]
H A Ddialogresearch.cpp35 …addChild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (0, 19), getPositio… in cDialogResearch()
37 …addChild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (23, 52), getPositi… in cDialogResearch()
38 …ddChild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (160, 52), getPositi… in cDialogResearch()
39 …ddChild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (291, 52), getPositi… in cDialogResearch()
75 …ild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (183, 72 + 28 * i), getP… in cDialogResearch()
84 …addChild (std::make_unique<cImage> (getPosition() + cPosition (172 - src.w / 2, 78 - src.h / 2 + 2… in cDialogResearch()
86 …ild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (24, 72 + 28 * i), getPo… in cDialogResearch()
88 …ild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (236, 72 + 28 * i), getP… in cDialogResearch()
90 …ild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (291, 72 + 28 * i), getP… in cDialogResearch()
95 …decreaseButtons[i] = addChild (std::make_unique<cPushButton> (getPosition() + cPosition (71, 70 + … in cDialogResearch()
[all …]
H A Ddialogcolorpicker.cpp36 …(std::make_unique<cRgbColorPicker> (cBox<cPosition> (getPosition() + cPosition (35, 35), getPositi… in cDialogColorPicker()
38 selectedColorImage = addChild (std::make_unique<cImage> (getPosition() + cPosition (210, 35))); in cDialogColorPicker()
51 …ddChild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (210, 100), getPosit… in cDialogColorPicker()
52 …ddChild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (210, 120), getPosit… in cDialogColorPicker()
53 …ddChild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (210, 140), getPosit… in cDialogColorPicker()
55 …hild (std::make_unique<cLineEdit> (cBox<cPosition> (getPosition() + cPosition (230, 100), getPosit… in cDialogColorPicker()
57 …hild (std::make_unique<cLineEdit> (cBox<cPosition> (getPosition() + cPosition (230, 120), getPosit… in cDialogColorPicker()
59 …hild (std::make_unique<cLineEdit> (cBox<cPosition> (getPosition() + cPosition (230, 140), getPosit… in cDialogColorPicker()
119 …auto okButton = addChild (std::make_unique<cPushButton> (getPosition() + cPosition (200, 185), ePu… in cDialogColorPicker()
123 …auto cencelButton = addChild (std::make_unique<cPushButton> (getPosition() + cPosition (111, 185),… in cDialogColorPicker()
H A Ddialogtransfer.cpp41 …ddChild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (142, 48), getPositi… in cNewDialogTransfer()
43 arrowImage = addChild (std::make_unique<cImage> (getPosition() + cPosition (140, 77))); in cNewDialogTransfer()
45 …ddChild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (20, 105), getPositi… in cNewDialogTransfer()
46 …ddChild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (190, 105), getPosit… in cNewDialogTransfer()
48 …addChild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (18, 60), getPositi… in cNewDialogTransfer()
49 …ddChild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (272, 60), getPositi… in cNewDialogTransfer()
51 auto sourceUnitImage = addChild (std::make_unique<cImage> (getPosition() + cPosition (39, 26))); in cNewDialogTransfer()
52 …auto destinationUnitImage = addChild (std::make_unique<cImage> (getPosition() + cPosition (208, 26… in cNewDialogTransfer()
54 …d (std::make_unique<cResourceBar> (cBox<cPosition> (getPosition() + cPosition (43, 159), getPositi… in cNewDialogTransfer()
245 const Sint16 x = arrowImage->getPosition().x() - getPosition().x(); // 140 in transferValueChanged()
[all …]
/dports/devel/rudiments/rudiments-1.2.2/test/
H A Dbytebuffer.cpp17 test("create(), getPosition()",bb.getPosition()==0); in main()
32 test("append(), getPosition()",bb.getPosition()==5); in main()
37 test("append(), getPosition()",bb.getPosition()==10); in main()
42 test("append(), getPosition()",bb.getPosition()==15); in main()
47 test("append(), getPosition()",bb.getPosition()==20); in main()
52 test("append(), getPosition()",bb.getPosition()==25); in main()
70 test("write(), getPosition()",bb.getPosition()==5); in main()
88 test("write(), getPosition()",bb.getPosition()==35); in main()
107 test("append(), getPosition()",bb.getPosition()==40); in main()
166 test("clear(), getPosition()",bb.getPosition()==0); in main()
[all …]
/dports/games/maxr/maxr-0.2.9/src/ui/graphical/menu/windows/windowgamesettings/
H A Dwindowgamesettings.cpp36 …addChild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (0, 13), getPositio… in cWindowGameSettings()
46 …ild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (64, currentLine), getPo… in cWindowGameSettings()
55 …ild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (64, currentLine), getPo… in cWindowGameSettings()
64 …ild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (64, currentLine), getPo… in cWindowGameSettings()
84 …ild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (64, currentLine), getPo… in cWindowGameSettings()
93 …ild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (64, currentLine), getPo… in cWindowGameSettings()
114 …ild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (64, currentLine), getPo… in cWindowGameSettings()
175 …ild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (64, currentLine), getPo… in cWindowGameSettings()
187 …td::make_unique<cLineEdit> (cBox<cPosition> (getPosition() + cPosition (240 + 85, currentLine), ge… in cWindowGameSettings()
188 …std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (240 + 85 + 30, currentLine),… in cWindowGameSettings()
[all …]
/dports/multimedia/vlc/vlc-3.0.16/modules/gui/skins2/controls/
H A Dctrl_text.cpp137 return( x >= 0 && x < getPosition()->getWidth() in mouseOver()
141 return( x >= 0 && x < getPosition()->getWidth() in mouseOver()
145 return( x >= 0 && x < getPosition()->getWidth() in mouseOver()
146 && y >= 0 && y < getPosition()->getHeight() in mouseOver()
160 const Position *pPos = getPosition(); in draw()
165 getPosition()->getWidth() ); in draw()
177 width < getPosition()->getWidth() ) in draw()
185 width < getPosition()->getWidth() ) in draw()
224 notifyLayout( getPosition()->getWidth(), getPosition()->getHeight() ); in onUpdate()
242 notifyLayout( getPosition()->getWidth(), getPosition()->getHeight() ); in onUpdate()
[all …]
/dports/graphics/tesseract/tesseract-5.0.0/java/com/google/scrollview/events/
H A DSVEventHandler.java110 .getPosition().getX(), (int) e.getPosition().getY(), 0, 0, null)); in mouseClicked()
125 lastX = (int) e.getPosition().getX(); in mousePressed()
126 lastY = (int) e.getPosition().getY(); in mousePressed()
135 .getPosition().getX(), (int) e.getPosition().getY(), (int) e in mouseDragged()
136 .getPosition().getX() in mouseDragged()
141 startX = (int) e.getPosition().getX(); in mouseDragged()
142 startY = (int) e.getPosition().getY(); in mouseDragged()
171 .getPosition().getX(), (int) e.getPosition().getY(), (int) e in mouseReleased()
172 .getPosition().getX() in mouseReleased()
194 .getPosition().getY()); in mouseWheelRotated()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sd/qa/unit/
H A Dimport-tests-smartart.cxx216 CPPUNIT_ASSERT(xShape2->getPosition().Y > xShape0->getPosition().Y); in testBase()
217 CPPUNIT_ASSERT(xShape4->getPosition().Y > xShape2->getPosition().Y); in testBase()
218 CPPUNIT_ASSERT(xShape0->getPosition().X < xShape1->getPosition().X); in testBase()
219 CPPUNIT_ASSERT(xShape2->getPosition().X < xShape3->getPosition().X); in testBase()
220 CPPUNIT_ASSERT((xShape2->getPosition().X < xShape4->getPosition().X)); in testBase()
221 CPPUNIT_ASSERT((xShape3->getPosition().X > xShape4->getPosition().X)); in testBase()
311 CPPUNIT_ASSERT(xShape0->getPosition().X > xShape1->getPosition().X); in testDir()
490 CPPUNIT_ASSERT(xShape0->getPosition().X < xShape1->getPosition().X); in testChevron()
491 CPPUNIT_ASSERT(xShape1->getPosition().X < xShape2->getPosition().X); in testChevron()
635 CPPUNIT_ASSERT(xShape2->getPosition().Y > xShape0->getPosition().Y); in testBaseRtoL()
[all …]
/dports/games/maxr/maxr-0.2.9/src/ui/graphical/menu/windows/windowresourcedistribution/
H A Dwindowresourcedistribution.cpp36 …addChild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (0, 11), getPositio… in cWindowResourceDistribution()
43 …td::make_unique<cResourceBar> (cBox<cPosition> (getPosition() + cPosition (174, 70 + 37 * i), getP… in cWindowResourceDistribution()
44 …d::make_unique<cResourceBar> (cBox<cPosition> (getPosition() + cPosition (174, 190 + 37 * i), getP… in cWindowResourceDistribution()
45 …d::make_unique<cResourceBar> (cBox<cPosition> (getPosition() + cPosition (174, 310 + 37 * i), getP… in cWindowResourceDistribution()
60 …d::make_unique<cResourceBar> (cBox<cPosition> (getPosition() + cPosition (174, 70 + 120 * i), getP… in cWindowResourceDistribution()
70 …ild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (40, 78 + 121 * i), getP… in cWindowResourceDistribution()
71 … (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (40, 78 + 37 + 121 * i), ge… in cWindowResourceDistribution()
72 …std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (40, 78 + 37 * 2 + 121 * i), in cWindowResourceDistribution()
94 …ild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (174, 78 + 37 * i), getP… in cWindowResourceDistribution()
95 …ld (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (174, 198 + 37 * i), getP… in cWindowResourceDistribution()
[all …]
/dports/games/dunelegacy/dunelegacy-0.96.4/src/GUI/
H A DWindow.cpp170 …nsideOverlay = pWindowWidget->handleMouseMovementOverlay(x - getPosition().x, y - getPosition().y); in handleMouseMovement()
171 pWindowWidget->handleMouseMovement(x - getPosition().x, y - getPosition().y, insideOverlay); in handleMouseMovement()
181 …bool bProcessed = pWindowWidget->handleMouseLeftOverlay(x - getPosition().x, y - getPosition().y, … in handleMouseLeft()
182 … || pWindowWidget->handleMouseLeft(x - getPosition().x, y - getPosition().y, pressed); in handleMouseLeft()
199 … return pWindowWidget->handleMouseRightOverlay(x - getPosition().x, y - getPosition().y, pressed) in handleMouseRight()
200 … || pWindowWidget->handleMouseRight(x - getPosition().x, y - getPosition().y, pressed); in handleMouseRight()
212 return pWindowWidget->handleMouseWheelOverlay(x - getPosition().x, y - getPosition().y, up) in handleMouseWheel()
213 || pWindowWidget->handleMouseWheel(x - getPosition().x, y - getPosition().y, up); in handleMouseWheel()
253 …SDL_Rect dest = calcDrawingRect(pBackground, getPosition().x + getSize().x/2, getPosition().y + ge… in draw()
259 pWindowWidget->draw(Point(position.x+getPosition().x,position.y+getPosition().y)); in draw()
[all …]
/dports/games/openxcom/OpenXcom-1.0/src/Battlescape/
H A DAlienBAIState.cpp417 if (_toNode != 0 && _unit->getPosition() == _toNode->getPosition()) in setupPatrol()
448 int d = _save->getTileEngine()->distanceSq(_unit->getPosition(), node->getPosition()); in setupPatrol()
449 if (_unit->getPosition().z == node->getPosition().z in setupPatrol()
470 (_save->getTile(_unit->getPosition()) && _save->getTile(_unit->getPosition())->getFire())) in setupPatrol()
487 …_save->getModuleMap()[_fromNode->getPosition().x / 10][_fromNode->getPosition().y / 10].second > 0) in setupPatrol()
516 int d = _save->getTileEngine()->distanceSq(_unit->getPosition(), node->getPosition()); in setupPatrol()
1026 int dist = _save->getTileEngine()->distance(_unit->getPosition(), (*i)->getPosition()); in selectNearestTarget()
1071 int dist = _save->getTileEngine()->distance((*i)->getPosition(), _unit->getPosition()); in selectClosestKnownEnemy()
1533 …Position voxelPosB = Position (((*i)->getPosition().x * 16)+8, ((*i)->getPosition().y * 16)+8, ((*… in explosiveEfficacy()
1578 int newDistance = _save->getTileEngine()->distance(_unit->getPosition(), (*i)->getPosition()); in meleeAction()
[all …]
H A DCivilianBAIState.cpp228 int dist = _save->getTileEngine()->distance(_unit->getPosition(), (*i)->getPosition()); in selectNearestTarget()
249 bool checking = pos != _unit->getPosition(); in getSpottingUnits()
287 … _aggroTarget ? _save->getTileEngine()->distance(_unit->getPosition(), _aggroTarget->getPosition()… in setupEscape()
325 if (_escapeAction->target == _unit->getPosition()) in setupEscape()
350 _escapeAction->target = _unit->getPosition(); in setupEscape()
360 _escapeAction->target.z = _unit->getPosition().z; in setupEscape()
420 if (_escapeAction->target == _unit->getPosition()) in setupEscape()
463 if (_toNode != 0 && _unit->getPosition() == _toNode->getPosition()) in setupPatrol()
483 int d = _save->getTileEngine()->distanceSq(_unit->getPosition(), node->getPosition()); in setupPatrol()
484 if (_unit->getPosition().z == node->getPosition().z in setupPatrol()
[all …]
/dports/devel/RStudio/rstudio-2021.09.1-372/src/gwt/src/org/rstudio/studio/client/workbench/views/source/model/
H A DSourceNavigation.java45 public native final SourcePosition getPosition() /*-{ in getPosition() method in SourceNavigation
52 (getPosition().getColumn() == other.getPosition().getColumn()); in isEqualTo()
64 getPosition().isSameRowAs(other.getPosition()); in isAtSameRowAs()
71 (getPosition().getContext() != null ? getPosition().getContext() + " = " : "") + in toDebugString()
72 getPosition().getRow() + ", " + getPosition().getColumn() + ")"; in toDebugString()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sd/qa/unit/
H A Dimport-tests-smartart.cxx194 CPPUNIT_ASSERT(xShape2->getPosition().Y > xShape0->getPosition().Y); in testBase()
195 CPPUNIT_ASSERT(xShape4->getPosition().Y > xShape2->getPosition().Y); in testBase()
196 CPPUNIT_ASSERT(xShape0->getPosition().X < xShape1->getPosition().X); in testBase()
197 CPPUNIT_ASSERT(xShape2->getPosition().X < xShape3->getPosition().X); in testBase()
198 …CPPUNIT_ASSERT((xShape2->getPosition().X < xShape4->getPosition().X) && (xShape3->getPosition().X… in testBase()
280 CPPUNIT_ASSERT(xShape0->getPosition().X > xShape1->getPosition().X); in testDir()
437 …CPPUNIT_ASSERT(xShape0->getPosition().X < xShape1->getPosition().X && xShape1->getPosition().X < x… in testChevron()
466 …CPPUNIT_ASSERT(xShape0->getPosition().Y < xShapeConn->getPosition().Y && xShapeConn->getPosition()… in testCycle()
575 CPPUNIT_ASSERT(xShape2->getPosition().Y > xShape0->getPosition().Y); in testBaseRtoL()
576 CPPUNIT_ASSERT(xShape4->getPosition().Y > xShape2->getPosition().Y); in testBaseRtoL()
[all …]
/dports/games/maxr/maxr-0.2.9/src/ui/graphical/menu/windows/windowplayerselection/
H A Dwindowplayerselection.cpp38 …addChild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (0, 13), getPositio… in cWindowPlayerSelection()
40 …addChild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (65, 35), getPositi… in cWindowPlayerSelection()
41 …ddChild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (165, 35), getPositi… in cWindowPlayerSelection()
42 …ddChild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (275, 35), getPositi… in cWindowPlayerSelection()
43 …ddChild (std::make_unique<cLabel> (cBox<cPosition> (getPosition() + cPosition (385, 35), getPositi… in cWindowPlayerSelection()
46 …okButton = addChild (std::make_unique<cPushButton> (getPosition() + cPosition (390, 440), ePushBut… in cWindowPlayerSelection()
49 …auto backButton = addChild (std::make_unique<cPushButton> (getPosition() + cPosition (50, 440), eP… in cWindowPlayerSelection()
61 …humanPlayerImages[i] = addChild (std::make_unique<cImage> (getPosition() + cPosition (175, 67 + 92… in cWindowPlayerSelection()
63 …aiPlayerImages[i] = addChild (std::make_unique<cImage> (getPosition() + cPosition (175 + 109, 67 +… in cWindowPlayerSelection()
72 …noPlayerImages[i] = addChild (std::make_unique<cImage> (getPosition() + cPosition (175 + 109 * 2, … in cWindowPlayerSelection()
/dports/biology/jalview/jalview/test/jalview/ws/dbsources/
H A DUniprotTest.java114 assertNull(sf.getLocation().getPosition()); in testGetUniprotEntries()
116 assertEquals(18, sf.getLocation().getEnd().getPosition().intValue()); in testGetUniprotEntries()
120 assertNull(sf.getLocation().getPosition()); in testGetUniprotEntries()
126 assertNull(sf.getLocation().getPosition()); in testGetUniprotEntries()
134 sf.getLocation().getPosition().getPosition().intValue()); in testGetUniprotEntries()
142 sf.getLocation().getPosition().getPosition().intValue()); in testGetUniprotEntries()
150 sf.getLocation().getPosition().getPosition().intValue()); in testGetUniprotEntries()
159 sf.getLocation().getPosition().getPosition().intValue()); in testGetUniprotEntries()
167 assertNull(sf.getLocation().getPosition()); in testGetUniprotEntries()
175 assertNull(sf.getLocation().getPosition()); in testGetUniprotEntries()
[all …]

12345678910>>...190