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

1 2 3 4 5 6 7 8 91011

  /external/webkit/Source/WebCore/editing/
ApplyBlockElementCommand.h 49 virtual void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtr<Element>&) = 0;
50 void rangeForParagraphSplittingTextNodesIfNeeded(const VisiblePosition&, Position&, Position&);
51 VisiblePosition endOfNextParagrahSplittingTextNodesIfNeeded(VisiblePosition&, Position&, Position&);
56 Position m_endOfLastParagraph;
InsertTextCommand.h 56 Position positionInsideTextNode(const Position&);
57 Position insertTab(const Position&);
InsertLineBreakCommand.h 47 void insertNodeAfterPosition(Node*, const Position&);
48 void insertNodeBeforePosition(Node*, const Position&);
49 bool shouldUseBreakElement(const Position&);
DeleteSelectionCommand.h 55 void initializeStartEnd(Position&, Position&);
56 void setStartingSelectionOnSmartDelete(const Position&, const Position&);
82 Position m_upstreamStart;
83 Position m_downstreamStart;
84 Position m_upstreamEnd;
85 Position m_downstreamEnd;
86 Position m_endingPosition;
87 Position m_leadingWhitespace
    [all...]
IndentOutdentCommand.h 52 bool tryIndentingAsListItem(const Position&, const Position&);
53 void indentIntoBlockquote(const Position&, const Position&, RefPtr<Element>&);
56 void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtr<Element>& blockquoteForNextIndent);
htmlediting.h 32 #include "Position.h"
43 class Position;
58 Node* highestEditableRoot(const Position&);
59 Node* highestEnclosingNodeOfType(const Position&, bool (*nodeIsOfType)(const Node*), EditingBoundaryCrossingRule = CannotCrossEditingBoundary);
63 Node* enclosingTableCell(const Position&);
65 Node* enclosingAnchorElement(const Position&);
66 Node* enclosingNodeWithTag(const Position&, const QualifiedName&);
67 Node* enclosingNodeOfType(const Position&, bool (*nodeIsOfType)(const Node*), EditingBoundaryCrossingRule = CannotCrossEditingBoundary);
100 TextDirection directionOfEnclosingBlock(const Position&);
103 // Position
    [all...]
MoveSelectionCommand.h 37 static PassRefPtr<MoveSelectionCommand> create(PassRefPtr<DocumentFragment> fragment, const Position& position, bool smartInsert = false, bool smartDelete = false)
39 return adoptRef(new MoveSelectionCommand(fragment, position, smartInsert, smartDelete));
43 MoveSelectionCommand(PassRefPtr<DocumentFragment>, const Position&, bool smartInsert, bool smartDelete);
49 Position m_position;
VisibleSelection.h 34 class Position;
45 VisibleSelection(const Position&, EAffinity);
46 VisibleSelection(const Position&, const Position&, EAffinity = SEL_DEFAULT_AFFINITY);
60 void setBase(const Position&);
62 void setExtent(const Position&);
65 Position base() const { return m_base; }
66 Position extent() const { return m_extent; }
67 Position start() const { return m_start; }
68 Position end() const { return m_end;
    [all...]
ApplyStyleCommand.h 55 static PassRefPtr<ApplyStyleCommand> create(Document* document, const EditingStyle* style, const Position& start, const Position& end, EditAction action = EditActionChangeAttributes, EPropertyLevel level = PropertyDefault)
70 ApplyStyleCommand(Document*, const EditingStyle*, const Position& start, const Position& end, EditAction, EPropertyLevel);
88 void removeInlineStyle(EditingStyle* , const Position& start, const Position& end);
89 bool nodeFullySelected(Node*, const Position& start, const Position& end) const;
90 bool nodeFullyUnselected(Node*, const Position& start, const Position& end) const
    [all...]
CompositeEditCommand.h 55 void applyStyle(const EditingStyle*, const Position& start, const Position& end, EditAction = EditActionChangeAttributes);
63 void insertNodeAt(PassRefPtr<Node>, const Position&);
64 void insertNodeAtTabSpanPosition(PassRefPtr<Node>, const Position&);
72 void rebalanceWhitespaceAt(const Position&);
74 void prepareWhitespaceAtPositionForSplit(Position&);
75 bool canRebalance(const Position&) const;
86 Position positionOutsideTabSpan(const Position&);
94 void deleteInsignificantText(const Position& start, const Position& end)
    [all...]
MoveSelectionCommand.cpp 34 MoveSelectionCommand::MoveSelectionCommand(PassRefPtr<DocumentFragment> fragment, const Position& position, bool smartInsert, bool smartDelete)
35 : CompositeEditCommand(position.anchorNode()->document()), m_fragment(fragment), m_position(position), m_smartInsert(smartInsert), m_smartDelete(smartDelete)
44 Position pos = m_position;
48 // Update the position otherwise it may become invalid after the selection is deleted.
49 Position selectionEnd = endingSelection().end();
50 if (pos.anchorType() == Position::PositionIsOffsetInAnchor && selectionEnd.anchorType() == Position::PositionIsOffsetInAnchor
54 Position selectionStart = endingSelection().start()
    [all...]
FormatBlockCommand.h 50 void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtr<Element>&);
ApplyBlockElementCommand.cpp 99 Position start = startOfSelection.deepEquivalent().downstream();
115 Position end;
123 Position afterEnd = end.next();
135 // is in a list item or a table. As a result, endAfterSelection could refer to a position
149 static bool isNewLineAtPosition(const Position& position)
151 if (position.anchorType() != Position::PositionIsOffsetInAnchor)
154 Node* textNode = position.containerNode();
155 int offset = position.offsetInContainerNode()
243 Position position = endOfNextParagraph.deepEquivalent(); local
    [all...]
InsertTextCommand.cpp 50 Position InsertTextCommand::positionInsideTextNode(const Position& p)
52 Position pos = p;
59 // Prepare for text input by looking at the specified position.
80 Position start = endingSelection().start().parentAnchoredEquivalent();
81 Position end = endingSelection().end().parentAnchoredEquivalent();
82 ASSERT(start.anchorType() == Position::PositionIsOffsetInAnchor);
83 ASSERT(end.anchorType() == Position::PositionIsOffsetInAnchor);
90 Position endPosition(start.containerNode(), start.offsetInContainerNode() + text.length());
121 Position startPosition(endingSelection().start())
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/audio/
ListenerParam.java 36 Position,
AudioParam.java 7 Position,
  /external/webkit/Source/WebCore/dom/
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...]
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.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...]
PositionIterator.h 30 #include "Position.h"
34 // A Position iterator with constant-time
35 // increment, decrement, and several predicates on the Position it is at.
36 // Conversion to/from Position is O(n) in the offset.
46 PositionIterator(const Position& pos)
52 operator Position() const;
  /external/clang/include/clang/AST/
ExternalASTSource.h 370 /// \brief Position within the vector..
372 /// In a complete iteration, the Position field walks the range [-M, N),
378 /// values (corresponding to loaded entities), so that position -M
379 /// corresponds to element 0 in the loaded entities vector, position -M+1
382 int Position;
393 iterator() : Self(0), Position(0) { }
395 iterator(LazyVector *Self, int Position)
396 : Self(Self), Position(Position) { }
399 if (Position < 0
    [all...]
  /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/clang/include/clang/Lex/
PreprocessingRecord.h 382 /// \brief Position within the preprocessed entity sequence.
384 /// In a complete iteration, the Position field walks the range [-M, N),
390 /// values (corresponding to loaded entities), so that position -M
391 /// corresponds to element 0 in the loaded entities vector, position -M+1
394 int Position;
403 iterator() : Self(0), Position(0) { }
405 iterator(PreprocessingRecord *Self, int Position)
406 : Self(Self), Position(Position) { }
409 bool isLoaded = Position < 0
    [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...]

Completed in 299 milliseconds

1 2 3 4 5 6 7 8 91011