| /cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
| ShortcutManagerClientApiTest.java | 2 * Copyright (C) 2016 The Android Open Source Project 365 final ShortcutInfo source = makeShortcutBuilder("s1") 376 assertTrue(getManager().setDynamicShortcuts(list(source))); 422 final ShortcutInfo source = makeShortcutBuilder("s1") 433 assertTrue(getManager().setDynamicShortcuts(list(source))); 717 final ShortcutInfo source = makeShortcutBuilder("s1") 728 assertTrue(getManager().addDynamicShortcuts(list(source))); 1819 final ShortcutInfo source = makeShortcutBuilder("s1") local [all...] |
| /cts/tests/tests/text/src/android/text/cts/ |
| BoringLayoutTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 154 String source = "This is a SpannableString."; local 156 source, 167 source,
|
| HtmlTest.java | 2 * Copyright (C) 2009 The Android Open Source Project 55 final String source = "<b>hello</b>"; local 57 Spanned spanned = Html.fromHtml(source); 59 spanned = Html.fromHtml(source, null, null); 78 final String source = "Hello <b>b<i>bi</b>i</i>"; local 80 Spanned spanned = Html.fromHtml(source); 82 spanned = Html.fromHtml(source, null, null); 97 final String source = "© > <"; local 100 String spanned = Html.fromHtml(source).toString(); 102 spanned = Html.fromHtml(source, null, null).toString() 394 String source = String.format("Hello <%s>struck<\/%s> world", tag, tag); local 414 String source = String.format("<%s style=\\"text-align:start\\">TEXT<\/%s>" local 457 String source = "<blockquote>BLOCKQUOTE<\/blockquote>" local 480 String source = "CITRUS FRUITS:<ul><li>LEMON<\/li><li>LIME<\/li><li>ORANGE<\/li><\/ul>"; local 503 String source = "<p>Line 1<\/p><p>Line 2<\/p>"; local 532 String source = "<h1>Heading 1<\/h1><h1>Heading 2<\/h1>"; local [all...] |
| /cts/tests/tests/text/src/android/text/method/cts/ |
| NumberKeyListenerTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 56 String source = "Android test"; local 58 assertEquals("", mMockNumberKeyListener.filter(source, 0, source.length(), 61 source = "12345"; 63 assertNull(mMockNumberKeyListener.filter(source, 0, source.length(), dest, 0, 66 source = ""; 68 assertNull(mMockNumberKeyListener.filter(source, 0, source.length(), dest, 0 [all...] |
| /developers/samples/android/ui/transition/AdapterTransition/Application/src/main/java/com/example/android/adaptertransition/ |
| AdapterTransitionFragment.java | 2 * Copyright 2014 The Android Open Source Project 262 View source = mAbsListView.getChildAt(index); local 263 if (null == source) { 271 source.getWidth(), source.getHeight()); 272 params.leftMargin = (int) source.getX(); 273 params.topMargin = (int) source.getY();
|
| /development/ndk/platforms/android-21/include/linux/ |
| if_arcnet.h | 11 *** source file (e.g. under external/kernel-headers/original/) then 77 __u8 source, member in struct:arc_hardware
|
| media.h | 11 *** source file (e.g. under external/kernel-headers/original/) then 109 struct media_pad_desc source; member in struct:media_link_desc
|
| /development/ndk/platforms/android-9/include/linux/ |
| if_arcnet.h | 74 uint8_t source, member in struct:arc_hardware
|
| /development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
| TaskBackService.java | 2 * Copyright (C) 2011 The Android Open Source Project 82 AccessibilityNodeInfo source = event.getSource(); local 83 if (source == null) { 88 AccessibilityNodeInfo rowNode = getListItemNodeInfo(source); 143 private AccessibilityNodeInfo getListItemNodeInfo(AccessibilityNodeInfo source) { 144 AccessibilityNodeInfo current = source;
|
| /device/generic/goldfish/camera/ |
| EmulatedCameraDevice.cpp | 2 * Copyright (C) 2011 The Android Open Source Project 173 status_t EmulatedCameraDevice::getCurrentFrameImpl(const uint8_t* source, 177 memcpy(dest, source, mFrameBufferSize); 186 memcpy(dest, source, ySize); 191 source + y * mYStride, 198 memcpy(dest + ySize, source + ySize + uvSize, uvSize); 199 memcpy(dest + ySize + uvSize, source + ySize, uvSize); 203 const uint8_t* uvSource = source + ySize + uvSize; 236 const void* source = mCameraThread->getPrimaryBuffer(); local 237 if (source == nullptr) [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
| llex.h | 62 TString *source; /* current source name */ member in struct:LexState 70 TString *source, int firstchar);
|
| /external/ImageMagick/coders/ |
| emf.c | 266 static wchar_t *ConvertUTF8ToUTF16(const unsigned char *source) 274 length=UTF8ToUTF16(source,(wchar_t *) NULL); 283 length=strlen((char *) source); 288 utf16[i]=source[i]; 294 length=UTF8ToUTF16(source,utf16); 647 static inline void EMFSetDimensions(Image * image,Gdiplus::Image *source) 652 image->columns=(size_t) floor((Gdiplus::REAL) source->GetWidth()/ 653 source->GetHorizontalResolution()*image->resolution.x+0.5); 654 image->rows=(size_t)floor((Gdiplus::REAL) source->GetHeight()/ 655 source->GetVerticalResolution()*image->resolution.y+0.5) 670 *source; local 753 delete source; local 760 delete source; local 778 delete source; local [all...] |
| /external/antlr/antlr-3.4/antlr3-maven-archetype/src/main/resources/archetype-resources/src/main/java/ |
| Main.java | 66 public static void parse(File source) throws Exception 76 if (source.isDirectory()) 78 System.out.println("Directory: " + source.getAbsolutePath()); 79 String files[] = source.list(); 83 parse(new File(source, files[i])); 93 String sourceFile = source.getName(); 103 parseSource(source.getAbsolutePath()); 116 public static void parseSource(String source) throws Exception 123 // and tell the lexer that that is the character source. 127 lexer.setCharStream(new ANTLRFileStream(source, "UTF8")) [all...] |
| /external/apache-commons-math/src/main/java/org/apache/commons/math/complex/ |
| ComplexFormat.java | 249 * @param source the string to parse 254 public Complex parse(String source) throws ParseException { 256 Complex result = parse(source, parsePosition); 260 LocalizedFormats.UNPARSEABLE_COMPLEX_NUMBER, source); local 268 * @param source the string to parse 272 public Complex parse(String source, ParsePosition pos) { 276 parseAndIgnoreWhitespace(source, pos); 279 Number re = parseNumber(source, getRealFormat(), pos); 289 char c = parseNextCharacter(source, pos); 312 parseAndIgnoreWhitespace(source, pos) [all...] |
| /external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/ |
| Vector3DFormat.java | 252 * @param source the string to parse 257 public Vector3D parse(String source) throws ParseException { 259 Vector3D result = parse(source, parsePosition); 263 LocalizedFormats.UNPARSEABLE_3D_VECTOR, source); local 270 * @param source the string to parse 274 public Vector3D parse(String source, ParsePosition pos) { 278 parseAndIgnoreWhitespace(source, pos); 279 if (!parseFixedstring(source, trimmedPrefix, pos)) { 284 parseAndIgnoreWhitespace(source, pos); 285 Number x = parseNumber(source, format, pos) [all...] |
| /external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
| RealVectorFormat.java | 257 * @param source the string to parse 262 public ArrayRealVector parse(String source) throws ParseException { 264 ArrayRealVector result = parse(source, parsePosition); 268 LocalizedFormats.UNPARSEABLE_REAL_VECTOR, source); local 275 * @param source the string to parse 279 public ArrayRealVector parse(String source, ParsePosition pos) { 283 parseAndIgnoreWhitespace(source, pos); 284 if (!parseFixedstring(source, trimmedPrefix, pos)) { 293 parseAndIgnoreWhitespace(source, pos); 294 if (!parseFixedstring(source, trimmedSeparator, pos)) [all...] |
| /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/rank/ |
| Percentile.java | 482 * Copies source to dest. 483 * <p>Neither source nor dest can be null.</p> 485 * @param source Percentile to copy 487 * @throws NullPointerException if either source or dest is null 489 public static void copy(Percentile source, Percentile dest) { 490 dest.setData(source.getDataRef()); 491 if (source.cachedPivots != null) { 492 System.arraycopy(source.cachedPivots, 0, dest.cachedPivots, 0, source.cachedPivots.length); 494 dest.quantile = source.quantile [all...] |
| /external/apache-xml/src/main/java/org/apache/xalan/processor/ |
| ProcessorInclude.java | 26 import javax.xml.transform.Source; 134 // Get the Source from the user's URIResolver (if any). 135 Source sourceFromURIResolver = getSourceFromUriResolver(handler); 146 // Push the system ID and corresponding Source 198 Source source = null; local 210 // have tried to obtain a Source from it 212 source = handler.peekSourceFromURIResolver(); 214 if (null != source && source instanceof DOMSource [all...] |
| /external/apache-xml/src/main/java/org/apache/xalan/templates/ |
| FuncDocument.java | 28 import javax.xml.transform.Source; 139 // was the initial source document. 232 Source source; local 237 source = treeMgr.resolveURI(base, uri, xctxt.getSAXLocator()); 238 newDoc = treeMgr.getNode(source); 260 source = treeMgr.resolveURI(base, uri, xctxt.getSAXLocator()); 275 newDoc = treeMgr.getSourceTree(source, xctxt.getSAXLocator(), xctxt);
|
| /external/apache-xml/src/main/java/org/apache/xpath/ |
| SourceTreeManager.java | 26 import javax.xml.transform.Source; 40 * This class bottlenecks all management of source trees. The methods 41 * in this class should allow easy garbage collection of source 42 * trees (not yet!), and should centralize parsing for those source trees. 59 /** The TrAX URI resolver used to obtain source trees. */ 113 * @return a Source that can be used to process the resource. 118 public Source resolveURI( 123 Source source = null; local 127 source = m_uriResolver.resolve(urlString, base) 245 Source source = this.resolveURI(base, urlString, locator); local [all...] |
| /external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
| ServerSocketService.java | 91 private enum Source { REQUEST, ACCEPT} 107 private final SetMultimap<Source, UUID> connectionState = Multimaps.newSetMultimap( 108 Maps.<Source, Collection<UUID>>newEnumMap(Source.class), 134 return getConnectionImpl(id, Source.REQUEST); 155 getConnectionImpl(id, Source.ACCEPT).set(openedSocket); 166 * <li>The id and source are recorded in {@link #connectionState} 176 private SettableFuture<OpenedSocket> getConnectionImpl(UUID id, Source source) { 179 checkState(connectionState.put(source, id), "Connection for %s has already been %s" 180 id, source); local [all...] |
| /external/clang/lib/Frontend/ |
| FrontendAction.cpp | 5 // This file is distributed under the University of Illinois Open Source 191 assert(!Instance && "Already processing a source file!"); 218 // Inform the diagnostic client we are processing a source file. 252 // Set up the file and source managers, if needed. 263 // Inform the diagnostic client we are processing a source file. 311 // preprocessor of the original source is reused. 315 // Inform the diagnostic client we are processing a source file. 347 IntrusiveRefCntPtr<ExternalSemaSource> source, FinalReader; local 348 source = createChainedIncludesSource(CI, FinalReader); 349 if (!source) [all...] |
| /external/clang/unittests/Basic/ |
| SourceManagerTest.cpp | 5 // This file is distributed under the University of Illinois Open Source 72 const char *source = local 76 llvm::MemoryBuffer::getMemBuffer(source); 125 const char *Source = 130 llvm::MemoryBuffer::getMemBuffer(Source); 153 EXPECT_EQ(7U, SourceMgr.getColumnNumber(MainFileID, strlen(Source), 158 SourceMgr.getColumnNumber(MainFileID, strlen(Source)+1, &Invalid);
|
| /external/deqp/framework/opengl/ |
| gluShaderProgram.cpp | 5 * Copyright 2014 The Android Open Source Project 70 m_info.source.clear(); 74 m_info.source += std::string(sourceStrings[ndx], length); 331 const char* source = sources.sources[shaderType][shaderNdx].c_str(); local 337 m_shaders[shaderType].back()->setSources(1, &source, &length); 437 return log << tcu::TestLog::Shader(getLogShaderType(shaderInfo.type), shaderInfo.source, shaderInfo.compileOk, shaderInfo.infoLog); 524 log << tcu::TestLog::ShaderProgram(false, "(Source only)");
|
| /external/deqp/modules/gles31/functional/ |
| es31fNegativeShaderDirectiveTests.cpp | 5 * Copyright 2016 The Android Open Source Project 82 const char* const source = shaderSource.c_str(); local 87 shader.setSources(1, &source, &length); 115 std::ostringstream source; local 116 source << "#version 310 es\n" 122 verifyShader(ctx, glu::SHADERTYPE_TESSELLATION_CONTROL, source.str(), EXPECT_RESULT_FAIL); 130 const std::string source = "#version 320 es\n" local 137 verifyShader(ctx, glu::SHADERTYPE_TESSELLATION_CONTROL, source, EXPECT_RESULT_PASS); 143 const std::string source = "#version 320 es\n" local 150 verifyShader(ctx, glu::SHADERTYPE_TESSELLATION_CONTROL, source, EXPECT_RESULT_FAIL) 156 const std::string source = "#version 320 es\\n" local 193 std::ostringstream source; local 220 std::ostringstream source; local 249 std::ostringstream source; local 281 std::ostringstream source; local 295 std::ostringstream source; local 321 std::ostringstream source; local 361 std::ostringstream source; local 375 std::ostringstream source; local 388 std::ostringstream source; local 408 std::ostringstream source; local 466 std::ostringstream source; local 494 std::ostringstream source; local [all...] |