/external/webkit/Source/WebCore/rendering/svg/ |
SVGTextQuery.cpp | 142 bool SVGTextQuery::mapStartEndPositionsIntoFragmentCoordinates(Data* queryData, const SVGTextFragment& fragment, int& startPosition, int& endPosition) const 145 startPosition -= queryData->processedCharacters; 148 if (startPosition >= endPosition || startPosition < 0 || endPosition < 0) 151 modifyStartEndPositionsRespectingLigatures(queryData, startPosition, endPosition); 152 if (!queryData->textBox->mapStartEndPositionsIntoFragmentCoordinates(fragment, startPosition, endPosition)) 155 ASSERT(startPosition < endPosition); 159 void SVGTextQuery::modifyStartEndPositionsRespectingLigatures(Data* queryData, int& startPosition, int& endPosition) const 192 if (startPosition == static_cast<int>(positionOffset)) 201 if (alterStartPosition && startPosition > lastPositionOffset && startPosition < static_cast<int>(positionOffset)) [all...] |
SVGTextQuery.h | 40 float subStringLength(unsigned startPosition, unsigned length) const; 55 bool mapStartEndPositionsIntoFragmentCoordinates(Data*, const SVGTextFragment&, int& startPosition, int& endPosition) const; 56 void modifyStartEndPositionsRespectingLigatures(Data*, int& startPosition, int& endPosition) const;
|
SVGInlineTextBox.h | 50 virtual IntRect selectionRect(int absx, int absy, int startPosition, int endPosition); 52 bool mapStartEndPositionsIntoFragmentCoordinates(const SVGTextFragment&, int& startPosition, int& endPosition) const; 77 void paintTextWithShadows(GraphicsContext*, RenderStyle*, TextRun&, const SVGTextFragment&, int startPosition, int endPosition);
|
SVGInlineTextBox.cpp | 88 FloatRect SVGInlineTextBox::selectionRectForTextFragment(const SVGTextFragment& fragment, int startPosition, int endPosition, RenderStyle* style) 90 ASSERT(startPosition < endPosition); 107 FloatRect selectionRect = scaledFont.selectionRectForText(constructTextRun(style, fragment), textOrigin, fragment.height * scalingFactor, startPosition, endPosition); 115 IntRect SVGInlineTextBox::selectionRect(int, int, int startPosition, int endPosition) 118 startPosition = max(startPosition - boxStart, 0); 120 if (startPosition >= endPosition) 138 fragmentStartPosition = startPosition; 213 int startPosition, endPosition; 214 selectionStartEnd(startPosition, endPosition) [all...] |
/external/webkit/Source/WebCore/editing/ |
InsertTextCommand.cpp | 121 Position startPosition(endingSelection().start()); 128 Position downstream(startPosition.downstream()); 131 VisiblePosition caret(startPosition); 140 startPosition = startPosition.upstream(); 142 // It is possible for the node that contains startPosition to contain only unrendered whitespace, 144 Position positionBeforeStartNode(positionInParentBeforeNode(startPosition.containerNode())); 145 deleteInsignificantText(startPosition.upstream(), startPosition.downstream()); 146 if (!startPosition.anchorNode()->inDocument() [all...] |
TextCheckingHelper.cpp | 43 setStart(paragraphRange.get(), startOfParagraph(range->startPosition())); 63 setEnd(paragraphRange().get(), endOfParagraph(startOfNextParagraph(paragraphRange()->startPosition()))); 116 m_offsetAsRange = Range::create(paragraphRange()->startContainer(ec)->document(), paragraphRange()->startPosition(), checkingRange()->startPosition()); 245 setStart(paragraphRange.get(), startOfParagraph(m_range->startPosition())); 247 setEnd(paragraphRange.get(), endOfParagraph(m_range->startPosition())); 249 RefPtr<Range> offsetAsRange = Range::create(paragraphRange->startContainer(ec)->document(), paragraphRange->startPosition(), m_range->startPosition()); 260 if (inSameParagraph(paragraphRange->startPosition(), m_range->endPosition())) { 263 RefPtr<Range> endOffsetAsRange = Range::create(paragraphRange->startContainer(ec)->document(), paragraphRange->startPosition(), m_range->endPosition()) [all...] |
ApplyStyleCommand.cpp | 189 Position ApplyStyleCommand::startPosition() 240 Position start = startPosition(); 293 updateStartEnd(startRange->startPosition(), endRange->startPosition()); 303 Position start = startPosition(); 314 start = startPosition(); 319 start = startPosition(); 326 start = startPosition(); 332 start = startPosition(); 541 Position start = startPosition(); [all...] |
/external/webkit/Source/WebCore/bindings/js/ |
StringSourceProvider.h | 40 static PassRefPtr<StringSourceProvider> create(const String& source, const String& url, const TextPosition1& startPosition = TextPosition1::minimumPosition()) 42 return adoptRef(new StringSourceProvider(source, url, startPosition)); 45 virtual TextPosition1 startPosition() const { return m_startPosition; } 52 StringSourceProvider(const String& source, const String& url, const TextPosition1& startPosition) 54 , m_startPosition(startPosition)
|
ScriptSourceCode.h | 45 ScriptSourceCode(const String& source, const KURL& url = KURL(), const TextPosition1& startPosition = TextPosition1::minimumPosition()) 46 : m_provider(StringSourceProvider::create(source, url.isNull() ? String() : url.string(), startPosition)) 47 , m_code(m_provider, startPosition.m_line.oneBasedInt())
|
ScriptDebugServer.cpp | 222 int lineOffset = sourceProvider->startPosition().m_line.convertAsZeroBasedInt(); 223 int columnOffset = sourceProvider->startPosition().m_column.convertAsZeroBasedInt(); 235 int firstLine = sourceProvider->startPosition().m_line.oneBasedInt();
|
/external/webkit/Source/WebCore/bindings/v8/ |
ScriptSourceCode.h | 44 ScriptSourceCode(const String& source, const KURL& url = KURL(), const TextPosition1& startPosition = TextPosition1::minimumPosition()) 48 , m_startPosition(startPosition) 73 const TextPosition1& startPosition() const { return m_startPosition; }
|
WorkerScriptController.cpp | 75 ScriptValue result = m_proxy->evaluate(sourceCode.source(), sourceCode.url().string(), WTF::toZeroBasedTextPosition(sourceCode.startPosition()), &state);
|
/external/webkit/Source/WebCore/accessibility/ |
AccessibilityObject.cpp | 202 VisiblePosition startPosition = startOfWord(visiblePos, LeftWordIfOnBoundary); 203 VisiblePosition endPosition = endOfWord(startPosition); 204 return VisiblePositionRange(startPosition, endPosition); 209 VisiblePosition startPosition = startOfWord(visiblePos, RightWordIfOnBoundary); 210 VisiblePosition endPosition = endOfWord(startPosition); 211 return VisiblePositionRange(startPosition, endPosition); 219 VisiblePosition startPosition = visiblePosition; 223 tempPosition = startPosition.previous(); 237 startPosition = tempPosition; 240 return startPosition; [all...] |
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
MediaPlayerProxy.java | 43 void seekTo(int startPosition);
|
SingleThreadedMediaPlayerProxy.java | 78 public synchronized void seekTo(int startPosition) { 79 mDelegate.seekTo(startPosition);
|
VariableSpeed.java | 249 public void seekTo(int startPosition) { 256 mStartPosition = Math.min(startPosition, mDuration);
|
/external/icu4c/layout/ |
LigatureSubstSubtables.cpp | 30 le_int32 startPosition = glyphIterator->getCurrStreamPosition(); 60 glyphIterator->setCurrStreamPosition(startPosition);
|
LookupProcessor.cpp | 31 le_int32 startPosition = glyphIterator->getCurrStreamPosition(); 43 glyphIterator->setCurrStreamPosition(startPosition);
|
/external/webkit/Source/JavaScriptCore/parser/ |
SourceProvider.h | 61 virtual TextPosition1 startPosition() const { return TextPosition1::minimumPosition(); }
|
/libcore/luni/src/main/java/java/util/ |
UUID.java | 187 int startPosition = 0; 191 position[i] = uuid.indexOf("-", startPosition); 193 startPosition = position[i] + 1;
|
/sdk/lint/cli/src/com/android/tools/lint/ |
Main.java | 232 Position startPosition = location.getStart(); 233 if (startPosition != null) { 234 int line = startPosition.getLine();
|
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/ |
AbstractCheckTest.java | 85 Position startPosition = location.getStart(); 86 if (startPosition != null) { 87 int line = startPosition.getLine();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LintEclipseContext.java | 281 Position startPosition = location.getStart(); 282 if (startPosition == null) { 287 int line = startPosition.getLine() + 1; // Marker API is 1-based 291 startPosition, endPosition); 374 Position startPosition, Position endPosition) { 375 int startOffset = startPosition.getOffset();
|
/packages/apps/Contacts/src/com/android/contacts/voicemail/ |
VoicemailPlaybackPresenter.java | 459 int startPosition = 461 mView.setClipPosition(startPosition, mDuration.get()); 462 mPlayer.seekTo(startPosition); 472 mPositionUpdater.startUpdating(startPosition, mDuration.get());
|
/external/webkit/Source/WebCore/rendering/ |
RenderTextControl.cpp | 251 VisiblePosition startPosition = control->visiblePositionForIndex(start); 254 endPosition = startPosition; 258 // startPosition and endPosition can be null position for example when 260 if (startPosition.isNotNull() && endPosition.isNotNull()) { 261 ASSERT(startPosition.deepEquivalent().deprecatedNode()->shadowAncestorNode() == node && endPosition.deepEquivalent().deprecatedNode()->shadowAncestorNode() == node); 263 VisibleSelection newSelection = VisibleSelection(startPosition, endPosition);
|