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

1 2

  /sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/
Position.java 20 * Information about a position in a file/document.
25 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...]
Position.cpp 27 #include "Position.h"
74 Position::Position(PassRefPtr<Node> anchorNode, int offset)
82 Position::Position(PassRefPtr<Node> anchorNode, AnchorType anchorType)
91 Position::Position(PassRefPtr<Node> anchorNode, int offset, AnchorType anchorType)
101 void Position::moveToPosition(PassRefPtr<Node> node, int offset)
110 void Position::moveToOffset(int offset)
118 Node* Position::containerNode() cons
    [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.
CommandLine.h 172 unsigned Position; // Position of last occurrence of the option
197 inline unsigned getPosition() const { return Position; }
222 void setPosition(unsigned pos) { Position = pos; }
225 : NumOccurrences(0), Flags(DefaultFlags | NormalFormatting), Position(0),
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/parse-only/
prototype-1.6.0.3.js     [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...]
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/include/clang/AST/
ExternalASTSource.h 307 /// \brief Position within the vector..
309 /// In a complete iteration, the Position field walks the range [-M, N),
315 /// values (corresponding to loaded entities), so that position -M
316 /// corresponds to element 0 in the loaded entities vector, position -M+1
319 int Position;
330 iterator() : Self(0), Position(0) { }
332 iterator(LazyVector *Self, int Position)
333 : Self(Self), Position(Position) { }
336 if (Position < 0
    [all...]
DeclTemplate.h 812 /// \param InsertPos Insert position in the FoldingSet, must have been
    [all...]
  /external/clang/lib/Lex/
Preprocessor.cpp 288 // Find the byte position of the truncation point.
289 const char *Position = Buffer->getBufferStart();
291 for (; *Position; ++Position) {
292 if (*Position != '\r' && *Position != '\n')
296 if ((Position[1] == '\r' || Position[1] == '\n') &&
297 Position[0] != Position[1]
    [all...]
  /external/v8/src/
mksnapshot.cc 151 int length = partial_sink_.Position();
178 virtual int Position() {
193 virtual int Position() { return data_.length(); }
  /frameworks/base/tools/localize/
XMLHandler.h 84 inline const SourcePos& Position() const { return m_pos; }
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
PositionRepository.java 29 public static class Position implements Cloneable {
36 public Position() {
39 public Position(float x, float y, float z) {
43 public Position(float x, float y, float z, float ftheta, float alpha) {
52 public Position clone() {
54 return (Position) super.clone();
60 public void set(Position another) {
78 if (!(object instanceof Position)) return false;
79 Position position = (Position) object
115 Position position = mData.get(identity); local
    [all...]
  /external/clang/include/clang/Lex/
PreprocessingRecord.h 303 /// corresponds to element 0 in the loaded entities vector, position -M+1
366 /// \brief Position within the preprocessed entity sequence.
368 /// In a complete iteration, the Position field walks the range [-M, N),
374 /// values (corresponding to loaded entities), so that position -M
375 /// corresponds to element 0 in the loaded entities vector, position -M+1
378 PPEntityID Position;
387 iterator() : Self(0), Position(0) { }
389 iterator(PreprocessingRecord *Self, int Position)
390 : Self(Self), Position(Position) { }
    [all...]
  /external/llvm/lib/Target/PTX/
PTXMCAsmStreamer.cpp 217 size_t Position = Comments.find('\n');
218 OS << MAI.getCommentString() << ' ' << Comments.substr(0, Position) << '\n';
220 Comments = Comments.substr(Position+1);
  /external/v8/test/cctest/
test-serialize.cc 195 virtual int Position() {
  /external/harfbuzz/src/
harfbuzz-indic.cpp 478 enum Position {
914 static inline Position indic_position(unsigned short uc) {
917 return (Position) indicPosition[uc-0x900];
951 Position position; member in struct:IndicOrdering
    [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
SlideView.java 419 private class Position {
420 public Position(int left, int top) {
498 TreeMap<Position, View> viewsByPosition = new TreeMap<Position, View>(new Comparator<Position>() {
499 public int compare(Position p1, Position p2) {
520 viewsByPosition.put(new Position(textLeft, textTop), mTextView);
526 viewsByPosition.put(new Position(imageLeft, imageTop), mImageView);
530 viewsByPosition.put(new Position(imageLeft + 1, imageTop), mVideoView)
    [all...]
  /packages/inputmethods/LatinIME/tools/makedict/src/com/android/inputmethod/latin/
FusionDictionary.java 368 * @return the position of the character if it's there, or CHARACTER_NOT_FOUND = -1 else.
531 private static class Position {
534 public Position(ArrayList<CharGroup> groups) {
540 final LinkedList<Position> mPositions;
544 mPositions = new LinkedList<Position>();
545 final Position rootPos = new Position(root);
551 for (Position p : mPositions) {
561 Position currentPos = mPositions.getLast();
571 currentPos = new Position(currentGroup.mChildren.mData)
    [all...]
  /external/llvm/lib/MC/
MCAsmStreamer.cpp 296 size_t Position = Comments.find('\n');
297 OS << MAI.getCommentString() << ' ' << Comments.substr(0, Position) << '\n';
299 Comments = Comments.substr(Position+1);
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/style/checkers/
cpp.py 198 """Does a reverse find starting at start position and going backwards until
201 Returns the position where the regex ended.
213 return Position(current_row, found_match.end(1))
367 class Position(object):
368 """Holds the position of something."""
482 start_position = Position(row=start_position.row, column=start_position.column + 1)
483 end_position = Position(row=end_position.row, column=end_position.column - 1)
523 self.body_start_position = Position(-1000, 0)
524 self.end_position = Position(-1000, 0)
532 function_name_start_position: Position in elided where the function name starts
    [all...]
  /external/clang/include/clang/Analysis/Analyses/
FormatString.h 39 void setPosition(const char *position) {
40 assert(position);
41 this->position = position;
44 assert(position);
45 return position;
57 const char *position; member in class:clang::analyze_format_string::OptionalFlag
78 : Position(0), kind(None) {}
80 : Position(pos), kind(k) {}
83 return Position;
    [all...]
  /external/llvm/lib/Target/ARM/
ARMLoadStoreOptimizer.cpp 80 unsigned Position;
85 : Offset(o), Reg(r), isKill(k), Position(p), MBBI(i), Merged(false) {}
379 const unsigned insertPos = memOps[insertAfter].Position;
388 if (memOps[i].Position < insertPos && memOps[i].isKill) {
431 memOps[i].Position = insertPos;
499 if (MemOps[i].Position > MemOps[insertAfter].Position)
    [all...]

Completed in 750 milliseconds

1 2