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

1 2 3 4

  /external/chromium_org/third_party/WebKit/Source/core/editing/
SurroundingText.cpp 46 initialize(range.startPosition(), range.endPosition(), maxLength);
56 void SurroundingText::initialize(const Position& startPosition, const Position& endPosition, unsigned maxLength)
58 ASSERT(startPosition.document() == endPosition.document());
70 RefPtrWillBeRawPtr<Range> forwardRange = Range::create(*document, endPosition, lastPositionInNode(document->documentElement()).parentAnchoredEquivalent());
77 if (!forwardRange || !Range::create(*document, endPosition, forwardRange->startPosition())->text().length()) {
96 m_startOffsetInContent = Range::create(*document, backwardsRange->endPosition(), startPosition)->text().length();
97 m_endOffsetInContent = Range::create(*document, backwardsRange->endPosition(), endPosition)->text().length();
98 m_contentRange = Range::create(*document, backwardsRange->endPosition(), forwardRange->startPosition());
InsertTextCommand.cpp 67 void InsertTextCommand::setEndingSelectionWithoutValidation(const Position& startPosition, const Position& endPosition)
73 forcedEndingSelection.setWithoutValidation(startPosition, endPosition);
89 Position endPosition = replaceSelectedTextInNode(text);
90 if (endPosition.isNull())
93 setEndingSelectionWithoutValidation(start, endPosition);
113 Position endPosition = Position(textNode.release(), start.offsetInContainerNode() + text.length());
114 setEndingSelectionWithoutValidation(start, endPosition);
182 Position endPosition;
185 endPosition = insertTab(startPosition);
186 startPosition = endPosition.previous()
    [all...]
InsertTextCommand.h 56 void setEndingSelectionWithoutValidation(const Position& startPosition, const Position& endPosition);
ApplyStyleCommand.cpp 199 Position ApplyStyleCommand::endPosition()
243 Position end = endPosition();
314 Position end = endPosition();
325 end = endPosition();
334 end = endPosition();
344 end = endPosition();
350 end = endPosition();
564 Position end = endPosition();
583 end = endPosition();
595 end = endPosition();
    [all...]
TextCheckingHelper.cpp 105 setEnd(paragraphRange.get(), endOfParagraph(VisiblePosition(range->endPosition())));
325 if (inSameParagraph(VisiblePosition(paragraphRange->startPosition()), VisiblePosition(m_range->endPosition()))) {
328 RefPtrWillBeRawPtr<Range> endOffsetAsRange = Range::create(paragraphRange->startContainer()->document(), paragraphRange->startPosition(), m_range->endPosition());
404 VisiblePosition newParagraphStart = startOfNextParagraph(VisiblePosition(paragraphRange->endPosition()));
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGTextQuery.cpp 138 bool SVGTextQuery::mapStartEndPositionsIntoFragmentCoordinates(Data* queryData, const SVGTextFragment& fragment, int& startPosition, int& endPosition) const
142 endPosition -= queryData->processedCharacters;
146 if (startPosition >= endPosition)
149 modifyStartEndPositionsRespectingLigatures(queryData, startPosition, endPosition);
150 if (!queryData->textBox->mapStartEndPositionsIntoFragmentCoordinates(fragment, startPosition, endPosition))
153 ASSERT(startPosition < endPosition);
157 void SVGTextQuery::modifyStartEndPositionsRespectingLigatures(Data* queryData, int& startPosition, int& endPosition) const
192 if (endPosition == static_cast<int>(positionOffset))
202 if (alterEndPosition && endPosition > lastPositionOffset && endPosition < static_cast<int>(positionOffset))
    [all...]
SVGTextQuery.h 55 bool mapStartEndPositionsIntoFragmentCoordinates(Data*, const SVGTextFragment&, int& startPosition, int& endPosition) const;
56 void modifyStartEndPositionsRespectingLigatures(Data*, int& startPosition, int& endPosition) const;
SVGInlineTextBox.h 47 virtual LayoutRect localSelectionRect(int startPosition, int endPosition) OVERRIDE;
49 bool mapStartEndPositionsIntoFragmentCoordinates(const SVGTextFragment&, int& startPosition, int& endPosition) const;
80 int startPosition, int endPosition, RenderSVGResourceModeFlags);
SVGInlineTextBox.cpp 119 FloatRect SVGInlineTextBox::selectionRectForTextFragment(const SVGTextFragment& fragment, int startPosition, int endPosition, RenderStyle* style)
121 ASSERT(startPosition < endPosition);
139 FloatRect selectionRect = scaledFont.selectionRectForText(constructTextRun(style, fragment), textOrigin, fragment.height * scalingFactor, startPosition, endPosition);
147 LayoutRect SVGInlineTextBox::localSelectionRect(int startPosition, int endPosition)
151 endPosition = min(endPosition - boxStart, static_cast<int>(len()));
152 if (startPosition >= endPosition)
168 fragmentEndPosition = endPosition;
218 int startPosition, endPosition;
219 selectionStartEnd(startPosition, endPosition);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/text/
DecodeEscapeSequences.h 44 static size_t findEndOfRun(const String& string, size_t startPosition, size_t endPosition)
47 while (endPosition - runEnd >= sequenceSize && string[runEnd] == '%' && string[runEnd + 1] == 'u'
77 static size_t findEndOfRun(const String& string, size_t startPosition, size_t endPosition)
86 while (runEnd < endPosition) {
88 if (endPosition - runEnd >= sequenceSize && isASCIIHexDigit(string[runEnd + 1]) && isASCIIHexDigit(string[runEnd + 2])) {
  /external/chromium_org/third_party/angle/samples/angle/particle_system/
ParticleSystem.cpp 103 mParticles[i].endPosition.x = sinf(endAngle) * endRadius;
104 mParticles[i].endPosition.y = cosf(endAngle) * endRadius;
105 mParticles[i].endPosition.z = 0.0f;
176 glVertexAttribPointer(mEndPositionLoc, 3, GL_FLOAT, GL_FALSE, sizeof(Particle), &mParticles[0].endPosition);
220 Vector3 endPosition;
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
ShowMoreDataGridNode.js 36 * @param {number} endPosition
39 WebInspector.ShowMoreDataGridNode = function(callback, startPosition, endPosition, chunkSize)
44 this._endPosition = endPosition;
  /packages/apps/Camera2/src/com/android/camera/data/
AbstractLocalDataAdapterWrapper.java 130 public List<Integer> getItemsInRange(int startPosition, int endPosition) {
131 return mAdapter.getItemsInRange(startPosition, endPosition);
CameraDataAdapter.java 311 public List<Integer> getItemsInRange(int startPosition, int endPosition) {
313 for (int i = Math.max(0, startPosition); i < endPosition; i++) {
  /external/easymock/src/org/easymock/internal/
MocksBehavior.java 111 int endPosition = position;
123 if (endPosition == behaviorLists.size()) {
124 endPosition--;
128 StringBuilder errorMessage = new StringBuilder(70 * (endPosition
138 for (int i = initialPosition; i <= endPosition; i++) {
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/profiler/
HeapSnapshotCommon.js 269 * @param {number} endPosition
273 WebInspector.HeapSnapshotCommon.ItemsRange = function(startPosition, endPosition, totalLength, items)
278 this.endPosition = endPosition;
HeapSnapshotGridNodes.js 91 * @param {number} endPosition
94 serializeItemsRange: function(startPosition, endPosition, callback) { },
353 this._retrievedChildrenRanges.push({from: itemsRange.startPosition, to: itemsRange.endPosition});
356 if (itemsRange.endPosition < itemsRange.totalLength)
357 insertShowMoreButton.call(this, itemsRange.endPosition, itemsRange.totalLength, insertionIndex++);
390 while (range.to < itemsRange.endPosition) {
400 if (newEndOfRange > itemsRange.endPosition)
401 newEndOfRange = itemsRange.endPosition;
418 this.allChildren()[insertionIndex].setStartPosition(itemsRange.endPosition);
    [all...]
HeapSnapshotProxy.js 531 * @param {number} endPosition
534 serializeItemsRange: function(startPosition, endPosition, callback)
536 this.callMethod(callback, "serializeItemsRange", startPosition, endPosition);
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
SVGGlyph.cpp 113 static inline bool isCompatibleArabicForm(const SVGGlyph& identifier, const Vector<SVGGlyph::ArabicForm>& chars, unsigned startPosition, unsigned endPosition)
123 Vector<SVGGlyph::ArabicForm>::const_iterator end = chars.begin() + endPosition;
136 const Vector<SVGGlyph::ArabicForm>& chars, unsigned startPosition, unsigned endPosition)
186 return isCompatibleArabicForm(identifier, chars, startPosition, endPosition);
SVGGlyph.h 109 bool PLATFORM_EXPORT isCompatibleGlyph(const SVGGlyph&, bool isVerticalText, const String& language, const Vector<SVGGlyph::ArabicForm>&, unsigned startPosition, unsigned endPosition);
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderMediaControls.cpp 139 static void paintSliderRangeHighlight(const IntRect& rect, const RenderStyle* style, GraphicsContext* context, int startPosition, int endPosition, Color startColor, Color endColor)
148 int endOffset = rect.width() - endPosition;
149 int rangeWidth = endPosition - startPosition;
221 int endPosition = int(end * rect.width() / duration);
238 if (endPosition > currentPosition)
239 paintSliderRangeHighlight(rect, style, context, currentPosition, endPosition, startColor, endColor);
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLTextFormControlElement.cpp 293 VisiblePosition endPosition;
295 endPosition = startPosition;
297 endPosition = visiblePositionForIndex(end);
299 // startPosition and endPosition can be null position for example when
301 if (startPosition.isNotNull() && endPosition.isNotNull()) {
303 && endPosition.deepEquivalent().deprecatedNode()->shadowHost() == this);
307 newSelection = VisibleSelection(endPosition, startPosition);
309 newSelection = VisibleSelection(startPosition, endPosition);
324 return VisiblePosition(it.range()->endPosition(), UPSTREAM);
  /frameworks/base/core/java/android/util/
PathParser.java 165 int endPosition = 0;
171 // current number, and endPosition is the character after the current
175 endPosition = result.mEndPosition;
177 if (startPosition < endPosition) {
179 s.substring(startPosition, endPosition));
184 startPosition = endPosition;
186 startPosition = endPosition + 1;
  /packages/apps/Camera2/src/com/android/camera/widget/
Preloader.java 27 * Returns the objects in the range [startPosition; endPosition).
29 public List<T> getItemsInRange(int startPosition, int endPosition);
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
XSSAuditor.cpp 701 size_t endPosition = string.length();
706 while (startPosition < endPosition) {
707 while (startPosition < endPosition && isHTMLSpace<UChar>(string[startPosition]))
719 while (startPosition < endPosition && !isJSNewline(string[startPosition]))
722 if (startPosition + 2 < endPosition && (foundPosition = string.find("*/", startPosition + 2)) != kNotFound)
725 startPosition = endPosition;
731 while (startPosition < endPosition && !result.length()) {
736 for (foundPosition = startPosition; foundPosition < endPosition; foundPosition++) {
    [all...]

Completed in 333 milliseconds

1 2 3 4