HomeSort by relevance Sort by last modified time
    Searched refs:Position (Results 1 - 25 of 734) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/
SolverData.java 26 import org.jbox2d.dynamics.contacts.Position;
31 public Position[] positions;
  /cts/libs/view/src/com/android/view/
Position.java 22 public class Position {
26 public Position(float x, float y) {
40 * @return The vector dot product between {@code this} and another {@link Position}.
42 public double dotProduct(Position other) {
47 * @return The euclidean distance between {@code this} and the other {@link Position}.
49 public double distanceTo(Position other) {
55 * {@code this} to the other {@link Position}, given the origin of the arc.
57 * @param origin The {@link Position} to use as the origin of the arc.
62 public double arcAngleTo(Position other, Position origin)
    [all...]
  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/contacts/
Position.java 28 public class Position {
  /build/soong/androidmk/parser/
make_strings_test.go 23 Variable{Name: SimpleMakeString("var1", scanner.Position{})},
24 Variable{Name: SimpleMakeString("var2", scanner.Position{})},
30 SimpleMakeString("a", scanner.Position{}),
31 SimpleMakeString("b", scanner.Position{}),
35 Variable{Name: SimpleMakeString("var1", scanner.Position{})},
38 SimpleMakeString("e", scanner.Position{}),
42 Variable{Name: SimpleMakeString("var2", scanner.Position{})},
45 SimpleMakeString("h", scanner.Position{}),
46 SimpleMakeString("i", scanner.Position{}),
47 SimpleMakeString("j", scanner.Position{}),
    [all...]
makething.go 14 Pos() scanner.Position
15 EndPos() scanner.Position
50 pos scanner.Position
51 endPos scanner.Position
54 func (m makeThing) Pos() scanner.Position {
58 func (m makeThing) EndPos() scanner.Position {
parser.go 17 Pos scanner.Position
69 pos := p.scanner.Position
171 pos := p.scanner.Position
199 value := SimpleMakeString("", p.scanner.Position)
247 func (p *parser) parseExpression(end ...rune) (*MakeString, scanner.Position) {
248 value := SimpleMakeString("", p.scanner.Position)
258 endPos := p.scanner.Position
265 endPos = p.scanner.Position
281 endPos = p.scanner.Position
295 endPos = p.scanner.Position
    [all...]
  /external/chromium-trace/catapult/third_party/closure_linter/closure_linter/common/
matcher.py 22 from closure_linter.common import position
27 Position = position.Position
position.py 23 class Position(object):
32 """Initialize the position object.
65 """Create a Position representing the end of the given string.
71 The created Position object.
73 return Position(len(string), 0)
77 """Returns whether this position is at the end of the given string.
83 Whether this position is at the end of the given string.
88 """Create a Position representing the beginning of any string.
91 The created Position object.
93 return Position(0, 0
    [all...]
  /external/libvpx/libvpx/third_party/libwebm/
mkvwriter.hpp 27 virtual int64 Position() const;
28 virtual int32 Position(int64 position);
31 virtual void ElementStartNotify(uint64 element_id, int64 position);
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/
mkvwriter.hpp 27 virtual int64 Position() const;
28 virtual int32 Position(int64 position);
31 virtual void ElementStartNotify(uint64 element_id, int64 position);
  /external/llvm/lib/Target/SystemZ/
SystemZLongBranch.cpp 118 // Used to keep track of the current position while iterating over the blocks.
120 // The address that we assume this position has.
144 void skipNonTerminators(BlockPosition &Position, MBBInfo &Block);
145 void skipTerminator(BlockPosition &Position, TerminatorInfo &Terminator,
173 // Position describes the state immediately before Block. Update Block
174 // accordingly and move Position to the end of the block's non-terminator
176 void SystemZLongBranch::skipNonTerminators(BlockPosition &Position,
178 if (Block.Alignment > Position.KnownBits) {
181 Position.Address += ((uint64_t(1) << Block.Alignment) -
182 (uint64_t(1) << Position.KnownBits))
    [all...]
  /external/llvm/include/llvm/Support/
FormattedStream.h 24 /// of line and column position, allowing padding out to specific column
33 /// Position - The current output column and line of the data that's
37 std::pair<unsigned, unsigned> Position;
46 /// current_pos - Return the current position within the stream,
49 // Our current position in the stream is all the contents which have been
50 // written to the underlying stream (*not* the current position of the
56 /// position after output.
90 : TheStream(nullptr), Position(0, 0) {
93 explicit formatted_raw_ostream() : TheStream(nullptr), Position(0, 0) {
110 unsigned getColumn() { return Position.first;
    [all...]
  /external/llvm/lib/Support/
FormattedStream.cpp 24 static void UpdatePosition(std::pair<unsigned, unsigned> &Position, const char *Ptr, size_t Size) {
25 unsigned &Column = Position.first;
26 unsigned &Line = Position.second;
55 UpdatePosition(Position, Scanned, Size - (Scanned - Ptr));
57 UpdatePosition(Position, Ptr, Size);
YAMLParser.cpp 214 StringRef::iterator Position= Range.begin();
218 if ((*Position & 0x80) == 0) {
219 return std::make_pair(*Position, 1);
223 if (Position + 1 != End &&
224 ((*Position & 0xE0) == 0xC0) &&
225 ((*(Position + 1) & 0xC0) == 0x80)) {
226 uint32_t codepoint = ((*Position & 0x1F) << 6) |
227 (*(Position + 1) & 0x3F);
233 if (Position + 2 != End &&
234 ((*Position & 0xF0) == 0xE0) &
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SelectionHandle.java 42 /** The position of the handle in the selection rectangle */
43 enum Position {
56 private Position(int swtCursor) {
89 /** The position of the handle in the selection rectangle */
90 private final Position mPosition;
94 * corresponding to a handle at the given {@link Position}.
98 * @param position the position of the handle in the selection rectangle
100 public SelectionHandle(int centerX, int centerY, Position position) {
    [all...]
SelectionHandles.java 22 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SelectionHandle.Position;
55 * @param point the mouse position (in layout coordinates) to test
107 mHandles.add(new SelectionHandle(x1, my, Position.LEFT_MIDDLE));
109 mHandles.add(new SelectionHandle(x1, y1, Position.TOP_LEFT));
112 mHandles.add(new SelectionHandle(x1, y2, Position.BOTTOM_LEFT));
116 mHandles.add(new SelectionHandle(x2, my, Position.RIGHT_MIDDLE));
118 mHandles.add(new SelectionHandle(x2, y1, Position.TOP_RIGHT));
121 mHandles.add(new SelectionHandle(x2, y2, Position.BOTTOM_RIGHT));
125 mHandles.add(new SelectionHandle(mx, y1, Position.TOP_MIDDLE));
128 mHandles.add(new SelectionHandle(mx, y2, Position.BOTTOM_MIDDLE))
    [all...]
  /external/vulkan-validation-layers/libs/glm/gtx/
gradient_paint.hpp 61 detail::tvec2<T, P> const & Position);
69 detail::tvec2<T, P> const & Position);
  /external/icu/android_icu4j/src/main/java/android/icu/text/
NullTransliterator.java 31 Position offsets, boolean incremental) {
  /external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
NullTransliterator.java 30 Position offsets, boolean incremental) {
  /frameworks/native/include/input/
VelocityTracker.h 33 struct Position {
81 // The positions array contains position information for each pointer in order by
83 void addMovement(nsecs_t eventTime, BitSet32 idBits, const Position* positions);
88 // Gets the velocity of the specified pointer id in position units per second.
131 const VelocityTracker::Position* positions) = 0;
163 const VelocityTracker::Position* positions);
178 VelocityTracker::Position positions[MAX_POINTERS];
180 inline const VelocityTracker::Position& getPosition(uint32_t id) const {
206 const VelocityTracker::Position* positions);
240 const VelocityTracker::Position* positions)
    [all...]
  /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
AnyTransliterator.java 26 private Position run;
33 run = new Position();
43 Position offsets, boolean isIncremental) {
103 // should be method on Position
104 public static String toString(Position offsets) {
113 public void reset(Replaceable text, Position expanse);
114 public void getExpanse(Position run);
116 public boolean next(Position run);
117 public void getCurrent(Position run);
137 private Position expanse = new Position()
    [all...]
  /prebuilts/go/darwin-x86/src/go/token/
position_test.go 14 func checkPos(t *testing.T, msg string, got, want Position) {
34 checkPos(t, "nil NoPos", fset.Position(NoPos), Position{})
36 checkPos(t, "fset NoPos", fset.Position(NoPos), Position{})
75 checkPos(t, msg, f.Position(f.Pos(offs)), Position{f.Name(), offs, line, col})
76 checkPos(t, msg, fset.Position(p), Position{f.Name(), offs, line, col})
162 checkPos(t, msg, f.Position(f.Pos(offs)), Position{"bar", offs, 42, col}
    [all...]
  /prebuilts/go/linux-x86/src/go/token/
position_test.go 14 func checkPos(t *testing.T, msg string, got, want Position) {
34 checkPos(t, "nil NoPos", fset.Position(NoPos), Position{})
36 checkPos(t, "fset NoPos", fset.Position(NoPos), Position{})
75 checkPos(t, msg, f.Position(f.Pos(offs)), Position{f.Name(), offs, line, col})
76 checkPos(t, msg, fset.Position(p), Position{f.Name(), offs, line, col})
162 checkPos(t, msg, f.Position(f.Pos(offs)), Position{"bar", offs, 42, col}
    [all...]
  /frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
XmlEditor.java 91 Position rootStartTag = toPosition(root.getStart());
92 Position rootEndTag = toPosition(root.content().getStart());
124 Position start1 = toPosition(o1.getContext().getStart());
125 Position start2 = toPosition(o2.getContext().getStart());
136 Position endTagPosition = endTagPosition(element);
168 private static Position toPosition(Token token) {
169 return new Position(token.getLine() - 1, token.getCharPositionInLine());
172 private static Position toEndPosition(Token token) {
173 return new Position(token.getLine() - 1,
213 private static Position endTagPosition(ElementContext context)
223 Position position = toPosition(context.content().getStart()); local
    [all...]
  /art/compiler/utils/arm/
assembler_thumb2_test.cc 426 EXPECT_EQ(static_cast<uint32_t>(label0.Position()) + 0u,
427 __ GetAdjustedPosition(label0.Position()));
428 EXPECT_EQ(static_cast<uint32_t>(label1.Position()) + 0u,
429 __ GetAdjustedPosition(label1.Position()));
430 EXPECT_EQ(static_cast<uint32_t>(label2.Position()) + 0u,
431 __ GetAdjustedPosition(label2.Position()));
462 EXPECT_EQ(static_cast<uint32_t>(label0.Position()) + 2u,
463 __ GetAdjustedPosition(label0.Position()));
464 EXPECT_EQ(static_cast<uint32_t>(label1.Position()) + 4u,
465 __ GetAdjustedPosition(label1.Position()));
    [all...]

Completed in 2676 milliseconds

1 2 3 4 5 6 7 8 91011>>