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

1 2 3

  /external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/
matcher.py 22 from closure_linter.common import position namespace
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/jmonkeyengine/engine/src/core/com/jme3/audio/
ListenerParam.java 36 Position,
AudioParam.java 7 Position,
  /sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/
Position.java 22 * Information about a position in a file/document.
28 public abstract class Position {
  /external/webkit/Source/WebCore/dom/
PositionIterator.cpp 37 PositionIterator::operator Position() const
48 return Position(m_anchorNode, m_offsetInAnchor);
64 m_offsetInAnchor = Position::uncheckedNextOffset(m_anchorNode, m_offsetInAnchor);
96 m_offsetInAnchor = Position::uncheckedPreviousOffset(m_anchorNode, m_offsetInAnchor);
160 return !m_offsetInAnchor && !Position::nodeIsUserSelectNone(m_anchorNode->parentNode());
163 return !Position::nodeIsUserSelectNone(m_anchorNode) && Position(*this).inRenderedText();
166 return (atStartOfNode() || atEndOfNode()) && !Position::nodeIsUserSelectNone(m_anchorNode->parentNode());
170 if (!Position::hasRenderedNonAnonymousDescendantsWithHeight(renderer))
171 return atStartOfNode() && !Position::nodeIsUserSelectNone(m_anchorNode)
    [all...]
Position.h 52 class Position {
60 Position()
68 Position(PassRefPtr<Node> anchorNode, int offset);
71 Position(PassRefPtr<Node> anchorNode, AnchorType);
73 Position(PassRefPtr<Node> anchorNode, int offset, AnchorType);
81 Node* containerNode() const; // NULL for a before/after position anchored to a node with no parent
83 Position parentAnchoredEquivalent() const; // Convenience method for DOM positions that also fixes up some positions for editing
100 // These are convenience methods which are smart about whether the position is neighbor anchored or parent anchored
106 // FIXME: Callers should be moved off of node(), node() is not always the container for this position.
108 // will be treated as before ignoredNode (thus node() is really after the position, not containing it)
    [all...]
  /external/llvm/include/llvm/Support/
PathV2.h 52 size_t Position; ///< The iterators current position within Path.
54 // An end iterator has Position = Path.size() + 1.
  /external/webkit/PerformanceTests/SunSpider/tests/parse-only/
prototype-1.6.0.3.js     [all...]
  /external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
javascriptlintrules.py 37 from closure_linter.common import position namespace
41 Position = position.Position
179 Position.All(token.string))
253 block_start, Position.AtBeginning(),
272 function.doc.end_token, Position.AtBeginning())
286 return_flag.flag_token, Position.AtBeginning())
302 function.doc.end_token, Position.AtBeginning())
311 Position.AtBeginning()
    [all...]
indentation.py 26 from closure_linter.common import position namespace
37 Position = position.Position
170 Position(token.start_index, token.length)])
179 Position(token.start_index, token.length)])
228 Position(actual, expected[0])])
324 Hard stops are indentations defined by the position of another token as in
ecmalintrules.py 38 from closure_linter.common import position namespace
54 Position = position.Position
210 Position.AtBeginning())
274 token, Position(0, space_count))
288 Position.All(last_code.string))
301 token, Position.AtEnd(token.string))
306 token.next, Position.All(token.next.string))
316 token.next, Position.All(token.next.string)
    [all...]
  /external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/
Position.java 8 * This class represents the position of an entity in the world.
14 public class Position {
22 /* An optional time to associate with this position - for historical tracking */
25 /* Degree position */
29 * A new position expressed in decimal format
34 public Position(double dblLat, double dblLng) throws InvalidPositionException {
40 * A new position expressed in decimal format and degrees
46 // public Position(double dblLat, double dblLng, double degree) throws InvalidPositionException {
52 * A new position expressed in DegMin format
59 public Position(int latDeg, float latMin, int latQuad, int lngDeg
    [all...]
  /external/llvm/lib/Target/Mips/MCTargetDesc/
MipsMCCodeEmitter.cpp 307 unsigned Position = getMachineOpValue(MI, MI.getOperand(OpNo-1), Fixups);
310 return Position + Size - 1;
  /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...]
ResizeGesture.java 23 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SelectionHandle.Position;
136 * For the new mouse position, compute the resized bounds (the bounding rectangle that
138 * cases resizing will change the x/y position of the view as well (for example, in
145 Position direction = mHandle.getPosition();
171 // The user is dragging the left edge, so the position is anchored on the
183 // The user is dragging the right edge, so the position is anchored on the
192 assert direction == Position.BOTTOM_MIDDLE || direction == Position.TOP_MIDDLE;
196 // The user is dragging the top edge, so the position is anchored on the
208 // The user is dragging the bottom edge, so the position is anchored on th
    [all...]
  /external/clang/lib/Lex/
Preprocessor.cpp 314 // Find the byte position of the truncation point.
315 const char *Position = Buffer->getBufferStart();
317 for (; *Position; ++Position) {
318 if (*Position != '\r' && *Position != '\n')
322 if ((Position[1] == '\r' || Position[1] == '\n') &&
323 Position[0] != Position[1]
    [all...]
  /external/clang/lib/Tooling/
JSONCompilationDatabase.cpp 35 : Input(CommandLine), Position(Input.begin()-1) {}
52 if (*Position == '"') {
57 } while (*Position != ' ');
63 while (*Position != '"') {
65 String.push_back(*Position);
74 String.push_back(*Position);
76 } while (*Position != ' ' && *Position != '"');
81 if (*Position == '\\') {
90 } while (*Position == ' ')
    [all...]
  /external/openfst/src/include/fst/
complement.h 274 size_t Position() const {
308 virtual size_t Position_() const { return Position(); }
mutable-fst.h 201 size_t Position() const { return data_.base->Position(); }
const-fst.h 458 size_t Position() const { return i_; }
  /external/v8/src/
mksnapshot.cc 102 virtual int Position() { return data_.length(); }
104 int length = Position();
149 fprintf(fp_, "const int Snapshot::size_ = %d;\n", Position());
193 int length = partial_sink_.Position();
  /frameworks/base/include/androidfw/
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...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
BinaryDictIOUtils.java 33 private static final class Position {
41 public Position(int address, int length) {
58 Stack<Position> stack = new Stack<Position>();
61 Position initPos = new Position(headerSize, 0);
65 Position p = stack.peek();
69 p.mNumOfCharGroup + ", position=" + p.mPosition + ", length=" + p.mLength);
72 if (buffer.position() != p.mAddress) buffer.position(p.mAddress)
    [all...]
  /external/clang/include/clang/AST/
ExternalASTSource.h 362 /// \brief Position within the vector..
364 /// In a complete iteration, the Position field walks the range [-M, N),
370 /// values (corresponding to loaded entities), so that position -M
371 /// corresponds to element 0 in the loaded entities vector, position -M+1
374 int Position;
385 iterator() : Self(0), Position(0) { }
387 iterator(LazyVector *Self, int Position)
388 : Self(Self), Position(Position) { }
391 if (Position < 0
    [all...]

Completed in 628 milliseconds

1 2 3