/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
DosLineEndingsFix.java | 47 public void apply(IDocument document) { 49 for (int i = document.getLength() - 1; i >= 0; i--) { 51 char c = document.getChar(i); 53 document.replace(i, 1, "\n"); //$NON-NLS-1$
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
GravityHelperTest.java | 32 import org.w3c.dom.Document; 114 Document document = XmlUtils.parseDocumentSilently("" local 121 assertNotNull(document); 122 Element element = document.getDocumentElement();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/formatting/ |
AndroidXmlFormattingStrategyTest.java | 21 import org.eclipse.jface.text.Document; 29 // In the given before document, replace in the range replaceStart to replaceEnd 34 Document document = new Document(); local 35 document.set(before); 36 ReplaceEdit edit = AndroidXmlFormattingStrategy.createReplaceEdit(document, replaceStart, 39 edit.apply(document); 40 String contents = document.get(); 50 fail("Mangled document: Found adjacent \\r's starting at " + [all...] |
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/ |
ui.js | 40 document.removeEventListener('mousedown', ui.popup._handleMouseDown, false); 48 popup = document.createElement('div'); 50 document.body.appendChild(popup); 51 document.addEventListener('mousedown', ui.popup._handleMouseDown, false); 59 var x = Math.min(targetRect.left - 10, document.documentElement.clientWidth - popup.offsetWidth); 61 popup.style.left = x + document.body.scrollLeft + 'px'; 64 if (y + popup.offsetHeight > document.documentElement.clientHeight) 67 popup.style.top = y + document.body.scrollTop + 'px'; 211 this._containerElement = document.createElement('H2'); 214 document.documentElement.insertBefore(this._containerElement, document.body) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/generators/rss/ |
RSSFeedUpdateEntryTask.java | 35 import org.w3c.dom.Document; 120 Document document=null; local 122 document=documentBuilder.parse(file); 138 setEntryNodeUpdate(document.getDocumentElement()); 140 Node newNode=findAndReplace(document); 153 transformer.transform(new DOMSource(document),new StreamResult(new PrintStream(file))); 211 private Node findAndReplace(Document document) { 215 NodeList nodelist = getNodeList(document, xpath) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidXmlAutoEditStrategyTest.java | 36 // All tests just operate on the "edithandling" document; the contents are 37 // ignored and replaced with the before-document passed in 48 IDocument document = viewer.getDocument(); local 49 document.replace(0, document.getLength(), newDocumentContent); 61 s.customizeDocumentCommand(document, c); 68 document.replace(c.offset, c.length, c.text); 80 String text = document.get();
|
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/ |
XPathExpressionImpl.java | 39 import org.w3c.dom.Document; 124 // dummy Document as Context Node 147 * <code>item</code>, an empty document will be used for the 216 * <code>item</code>, an empty document will be used for the 236 static Document d = null; 245 * document object.</p> 258 * @param source The <code>InputSource</code> of the document to evaluate 295 Document document = db.parse( source ); local 296 return eval( document, returnType ) [all...] |
/external/chromium/chrome/browser/printing/ |
print_job.cc | 146 // Flush the cached document. 208 PrintedDocument* PrintJob::document() const { function in class:printing::PrintJob 224 // Sync the document with the worker. 241 DCHECK_EQ(event_details.document(), document_.get()); 337 PrintedDocument* document, 339 : document_(document), 347 PrintedDocument* JobEventDetails::document() const { function in class:printing::JobEventDetails
|
/external/chromium_org/chrome/browser/printing/ |
print_job.cc | 174 // Flush the cached document. 237 PrintedDocument* PrintJob::document() const { function in class:printing::PrintJob 253 // Sync the document with the worker. 273 DCHECK_EQ(event_details.document(), document_.get()); 385 PrintedDocument* document, 387 : document_(document), 395 PrintedDocument* JobEventDetails::document() const { return document_.get(); } function in class:printing::JobEventDetails
|
/external/chromium_org/chrome/renderer/autofill/ |
password_generation_agent_browsertest.cc | 47 virtual bool ShouldAnalyzeDocument(const blink::WebDocument& document) const 113 WebDocument document = GetMainFrame()->document(); local 115 document.getElementById(WebString::fromUTF8(element_id)); 204 WebDocument document = GetMainFrame()->document(); local 206 document.getElementById(WebString::fromUTF8("first_password")); 209 element = document.getElementById(WebString::fromUTF8("second_password")); 230 element = document.getElementById(WebString::fromUTF8("first_password")); 232 EXPECT_EQ(element, document.focusedNode()) [all...] |
/external/chromium_org/chrome/renderer/extensions/ |
webstore_bindings.cc | 114 frame->document().url())); 133 WebDocument document = frame->document(); local 134 if (document.isNull()) { 139 WebElement head = document.head();
|
/external/chromium_org/chrome_frame/test/ |
mock_ie_event_sink_actions.h | 99 base::win::ScopedComPtr<IDispatch> document; local 100 mock->event_sink()->web_browser2()->get_Document(document.Receive()); 101 EXPECT_TRUE(document != NULL); // NOLINT 102 if (document) { 103 sink->Attach(document);
|
/external/chromium_org/components/autofill/content/renderer/ |
form_cache.cc | 53 const WebFrame* element_frame = form_element.document().frame(); 84 WebDocument document = frame.document(); local 85 if (document.isNull()) 88 web_documents_.insert(document); 91 document.forms(web_forms); 260 GURL action(form_element.document().completeURL(form_element.action()));
|
/external/chromium_org/content/renderer/accessibility/ |
renderer_accessibility_browsertest.cc | 122 // on the document. 124 SCOPED_TRACE("Initial focus on document"); 145 ExecuteJavaScript("document.querySelector('input').focus();"); 170 ExecuteJavaScript("document.querySelector('textarea').focus();"); 182 ExecuteJavaScript("document.querySelector('p').focus();"); 194 ExecuteJavaScript("document.querySelector('div').focus();"); 207 ExecuteJavaScript("document.querySelector('button').focus();"); 220 ExecuteJavaScript("document.querySelector('a').focus();"); 232 SCOPED_TRACE("Back to document."); 234 ExecuteJavaScript("document.activeElement.blur()") 268 WebDocument document = view()->GetWebView()->mainFrame()->document(); local 342 WebDocument document = view()->GetWebView()->mainFrame()->document(); local 392 WebDocument document = view()->GetWebView()->mainFrame()->document(); local 453 WebDocument document = view()->GetWebView()->mainFrame()->document(); local 494 WebDocument document = view()->GetWebView()->mainFrame()->document(); local [all...] |
/external/chromium_org/google_apis/drive/ |
gdata_wapi_parser_unittest.cc | 22 // Test document feed parsing. 25 scoped_ptr<base::Value> document = local 27 ASSERT_TRUE(document.get()); 28 ASSERT_EQ(base::Value::TYPE_DICTIONARY, document->GetType()); 29 scoped_ptr<ResourceList> feed(ResourceList::ExtractAndParse(*document)); 141 // Check an external document entry. 151 // Test document feed parsing. 154 scoped_ptr<base::Value> document = local 156 ASSERT_TRUE(document.get()); 157 ASSERT_EQ(base::Value::TYPE_DICTIONARY, document->GetType()) 241 scoped_ptr<base::Value> document = local [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/templates/ |
methods.cpp | 64 if (!window->document()) 317 Document& document = *toDocument(getExecutionContext()); variable 348 Document* document = currentDocument(); local 349 ASSERT(document); 351 // Make sure the document is added to the DOM Node map. Otherwise, the {{cpp_class}} instance 353 toV8(document, info.Holder(), info.GetIsolate()); 356 {% set argument_list = ['*document'] %}
|
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/ |
V8TestInterfaceConstructor.cpp | 43 #include "core/dom/Document.h" 79 Document& document = *toDocument(getExecutionContext()); local 80 RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::create(context, document, exceptionState); 108 Document& document = *toDocument(getExecutionContext()); local 109 RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::create(context, document, doubleArg, stringArg, testInterfaceEmptyArg, dictionaryArg, sequenceStringArg, optionalDictionaryArg, optionalTestInterfaceEmptyArg, exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
CustomElementConstructorBuilder.cpp | 48 #include "core/dom/Document.h" 109 if (!Document::isValidName(localName)) { 164 bool CustomElementConstructorBuilder::createConstructor(Document* document, CustomElementDefinition* definition, ExceptionState& exceptionState) 168 ASSERT(document); 194 V8HiddenPropertyName::setNamedHiddenReference(m_constructor, "customElementDocument", toV8(document, m_context->Global(), isolate)); 273 Document* document = V8Document::toNative(info.Callee()->GetHiddenValue(V8HiddenPropertyName::customElementDocument(isolate)).As<v8::Object>()); local 281 RefPtr<Element> element = document->createElementNS(namespaceURI, tagName, maybeType->IsNull() ? nullAtom : type, exceptionState); 284 v8SetReturnValueFast(info, element.release(), document); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
DocumentTimelineTest.cpp | 38 #include "core/dom/Document.h" 86 document = Document::create(); 87 document->animationClock().resetTimeForTesting(); 88 element = Element::create(nullQName() , document.get()); 90 timeline = DocumentTimeline::create(document.get(), adoptPtr(platformTiming)); 98 document.release(); 104 document->animationClock().updateTime(time); 108 RefPtr<Document> document; member in class:WebCore::AnimationDocumentTimelineTest [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
LiveNodeList.h | 28 #include "core/dom/Document.h" 71 document().registerNodeList(this); 77 document().unregisterNodeList(this); 102 Document& document() const { return m_ownerNode->document(); } function in class:WebCore::LiveNodeListBase
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLBodyElement.cpp | 44 HTMLBodyElement::HTMLBodyElement(Document& document) 45 : HTMLElement(bodyTag, document) 50 PassRefPtr<HTMLBodyElement> HTMLBodyElement::create(Document& document) 52 return adoptRef(new HTMLBodyElement(document)); 71 RefPtr<CSSImageValue> imageValue = CSSImageValue::create(document().completeURL(url).string()); 97 document().textLinkColors().resetLinkColor(); 99 document().textLinkColors().resetVisitedLinkColor(); 101 document().textLinkColors().resetActiveLinkColor() 209 Document& document = this->document(); local 223 Document& document = this->document(); local 242 Document& document = this->document(); local 256 Document& document = this->document(); local 276 Document& document = this->document(); local 285 Document& document = this->document(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
ColorInputType.cpp | 127 Document& document = element().document(); local 128 RefPtr<HTMLDivElement> wrapperElement = HTMLDivElement::create(document); 130 RefPtr<HTMLDivElement> colorSwatch = HTMLDivElement::create(document); 217 return element().document().view()->contentsToRootView(element().pixelSnappedBoundingBox());
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
ImageLoader.cpp | 26 #include "core/dom/Document.h" 60 static inline bool pageIsBeingDismissed(Document* document) 62 return document->pageDismissalEventBeingDispatched() != Document::NoDismissal; 145 Document& document = m_element->document(); local 146 if (!document.isActive()) 158 FetchRequest request(ResourceRequest(document.completeURL(sourceURI(attr))), element()->localName()) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGInlineText.cpp | 234 Document& document = renderer->document(); local 236 fontDescription.setComputedSize(FontSize::getComputedSizeFromSpecifiedSize(&document, scalingFactor, fontDescription.isAbsoluteSize(), fontDescription.specifiedSize(), DoNotUseSmartMinimumForFontSize)); 239 scaledFont.update(document.styleEngine()->fontSelector());
|
/external/chromium_org/third_party/WebKit/Source/core/workers/ |
WorkerMessagingProxy.cpp | 33 #include "core/dom/Document.h" 112 Document* document = toDocument(m_executionContext.get()); local 114 OwnPtr<WorkerThreadStartupData> startupData = WorkerThreadStartupData::create(scriptURL, userAgent, sourceCode, startMode, document->contentSecurityPolicy()->deprecatedHeader(), document->contentSecurityPolicy()->deprecatedHeaderType(), m_workerClients.release()); 115 double originTime = document->loader() ? document->loader()->timing()->referenceMonotonicTime() : monotonicallyIncreasingTime(); 156 // FIXME: In case of nested workers, this should go directly to the root Document context.
|