/frameworks/base/core/java/com/android/internal/util/ |
Predicates.java | 31 * Returns a Predicate that evaluates to true iff each of its components 32 * evaluates to true. The components are evaluated in order, and evaluation 35 public static <T> Predicate<T> and(Predicate<? super T>... components) { 36 return and(Arrays.asList(components)); 40 * Returns a Predicate that evaluates to true iff each of its components 41 * evaluates to true. The components are evaluated in order, and evaluation 44 * the behavior of this Predicate. If components is empty, the returned 47 public static <T> Predicate<T> and(Iterable<? extends Predicate<? super T>> components) { 48 return new AndPredicate(components); 52 * Returns a Predicate that evaluates to true iff any one of its components 81 private final Iterable<? extends Predicate<? super T>> components; field in class:Predicates.AndPredicate 98 private final Iterable<? extends Predicate<? super T>> components; field in class:Predicates.OrPredicate [all...] |
/frameworks/base/opengl/tests/EGLTest/ |
EGL_test.cpp | 70 EGLint components[3]; local 72 success = eglGetConfigAttrib(mEglDisplay, config, EGL_RED_SIZE, &components[0]); 75 success = eglGetConfigAttrib(mEglDisplay, config, EGL_GREEN_SIZE, &components[1]); 78 success = eglGetConfigAttrib(mEglDisplay, config, EGL_BLUE_SIZE, &components[2]); 82 EXPECT_GE(components[0], 8); 83 EXPECT_GE(components[1], 8); 84 EXPECT_GE(components[2], 8); 107 EGLint components[4]; local 109 success = eglGetConfigAttrib(mEglDisplay, config, EGL_RED_SIZE, &components[0]); 112 success = eglGetConfigAttrib(mEglDisplay, config, EGL_GREEN_SIZE, &components[1]) [all...] |
/external/webkit/Source/WebCore/platform/graphics/cg/ |
ColorCG.cpp | 47 const CGFloat* components = CGColorGetComponents(color); local 56 r = g = b = components[0]; 57 a = components[1]; 60 r = components[0]; 61 g = components[1]; 62 b = components[2]; 63 a = components[3]; 89 CGFloat components[4]; local 90 color.getRGBA(components[0], components[1], components[2], components[3]) [all...] |
/external/skia/src/animator/ |
SkAnimate.h | 30 virtual int components();
|
SkAnimateBase.h | 34 virtual int components(); 40 int entries() { return fValues.count() / components(); }
|
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
VariableTranslator.java | 44 private List<JavaExpression> components; field in class:VariableTranslator 60 assert components == null; 61 components = new ArrayList<JavaExpression>(); 63 components = joinComponentsWithDots(components); 64 components = combineAdjacentStrings(components); 65 return concatenate(components); 67 components = null; 73 components.add(new StringExpression(node.getWord().getText())) [all...] |
/external/webkit/Source/WebCore/platform/graphics/wince/ |
FontWinCE.cpp | 110 static int generateComponents(TextRunComponents* components, const Font &font, const TextRun &run) 133 components->append(TextRunComponent(1, font, offset)); 134 offset += add + letterSpacing + components->last().m_width; 146 components->append(TextRunComponent(run.characters() + start, i - start, 148 offset += components->last().m_width + letterSpacing; 155 components->append(TextRunComponent(1, font, offset)); 156 offset += wordSpacing + add + components->last().m_width + letterSpacing; 161 components->append(TextRunComponent(run.characters() + start, i - start, 164 offset += components->last().m_width + letterSpacing; 169 components->append(TextRunComponent(run.characters() + start, run.length() - start 216 TextRunComponents components; local 245 TextRunComponents components; local 256 TextRunComponents components; local 323 TextRunComponents components; local [all...] |
/external/webkit/Source/WebCore/dom/ |
QualifiedName.cpp | 38 static unsigned hash(const QualifiedNameComponents& components) 40 return hashComponents(components); 46 static void translate(QualifiedName::QualifiedNameImpl*& location, const QualifiedNameComponents& components, unsigned) 48 location = QualifiedName::QualifiedNameImpl::create(components.m_prefix, components.m_localName, components.m_namespace).releaseRef(); 58 QualifiedNameComponents components = { p.impl(), l.impl(), n.isEmpty() ? nullAtom.impl() : n.impl() }; local 59 pair<QNameSet::iterator, bool> addResult = gNameCache->add<QualifiedNameComponents, QNameComponentsTranslator>(components);
|
/external/webkit/Source/WebCore/fileapi/ |
DOMFilePath.cpp | 45 String DOMFilePath::append(const String& base, const String& components) 47 return ensureDirectoryPath(base) + components; 94 Vector<String> components; local 96 path.split(DOMFilePath::separator, components); 97 for (size_t i = 0; i < components.size(); ++i) { 98 if (components[i] == ".") 100 if (components[i] == "..") { 105 canonicalized.append(components[i]);
|
/external/guava/src/com/google/common/base/ |
Predicates.java | 94 * components evaluates to {@code true}. The components are evaluated in 98 * components} is empty, the returned predicate will always evaluate to {@code 102 Iterable<? extends Predicate<? super T>> components) { 103 return new AndPredicate<T>(defensiveCopy(components)); 108 * components evaluates to {@code true}. The components are evaluated in 112 * components} is empty, the returned predicate will always evaluate to {@code 115 public static <T> Predicate<T> and(Predicate<? super T>... components) { 116 return new AndPredicate<T>(defensiveCopy(components)); 280 private final Iterable<? extends Predicate<? super T>> components; field in class:Predicates.AndPredicate 316 private final Iterable<? extends Predicate<? super T>> components; field in class:Predicates.OrPredicate [all...] |
/external/mesa3d/src/glsl/ |
ir_constant_expression.cpp | 49 for (unsigned c = 0; c < op0->type->components(); c++) 78 /* When iterating over a vector or matrix's components, we want to increase 83 unsigned components; local 85 components = op[0]->type->components(); 87 components = op[1]->type->components(); 110 for (unsigned c = 0; c < components; c++) 114 for (unsigned c = 0; c < components; c++) 124 for (unsigned c = 0; c < op[0]->type->components(); c++ 1222 unsigned components = op[0]->type->components(); local [all...] |
opt_structure_splitting.cpp | 27 * If a structure is only ever referenced by its components, then 28 * split those components out to individual variables so they can be 55 this->components = NULL; 66 ir_variable **components; member in class:variable_entry2 157 /* We'll split copies of a structure to copies of components, so don't 237 *deref = new(entry->mem_ctx) ir_dereference_variable(entry->components[i]); 270 new_lhs = new(mem_ctx) ir_dereference_variable(lhs_entry->components[i]); 278 new_rhs = new(mem_ctx) ir_dereference_variable(rhs_entry->components[i]); 328 * components. 336 entry->components = hieralloc_array(mem_ctx [all...] |
/external/chromium/googleurl/src/ |
url_canon_ip.h | 41 // each component will be placed into |components| and it will return true. 47 // Not all components may exist. If there are only 3 components, for example, 60 url_parse::Component components[4]); 63 url_parse::Component components[4]); 75 // components in the IPv4 address.
|
/external/chromium/chrome/browser/ |
crash_upload_list.cc | 73 std::vector<std::string> components; local 74 base::SplitString(*i, ',', &components); 76 if (components.size() != 2) 79 if (!base::StringToDouble(components[0], &seconds_since_epoch)) 81 CrashInfo info(components[1], base::Time::FromDoubleT(seconds_since_epoch));
|
/development/scripts/ |
symbol.py | 242 components = func_regexp.match(line) 243 if components: 245 current_symbol_addr = int(components.group(1), 16) 246 current_symbol = components.group(2) 249 components = offset_regexp.match(current_symbol) 250 if components: 251 current_symbol = components.group(1) 252 offset = components.group(2) 258 components = asm_regexp.match(line) 259 if components [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
RegisteredComponentCache.java | 134 void dump(ArrayList<ComponentInfo> components) { 135 for (ComponentInfo component : components) { 142 ArrayList<ComponentInfo> components = new ArrayList<ComponentInfo>(); local 147 parseComponentInfo(resolveInfo, components); 155 dump(components); 158 mComponents = components; 162 void parseComponentInfo(ResolveInfo info, ArrayList<ComponentInfo> components) 175 parser, info, components); local 184 ResolveInfo resolveInfo, ArrayList<ComponentInfo> components) 204 components.add(new ComponentInfo(resolveInfo, techs)) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PurgeableBitmap.java | 83 String[] components = labelSeq.toString().split("/"); local 84 if (components[components.length - 1].equals("Purgeable")) {
|
/external/chromium/base/ |
version.h | 44 const std::vector<uint16>& components() const { return components_; } function in class:Version
|
/external/llvm/utils/lit/lit/ |
Test.py | 38 def getSourcePath(self, components): 39 return os.path.join(self.source_root, *components) 41 def getExecPath(self, components): 42 return os.path.join(self.exec_root, *components)
|
/external/webkit/Source/WebCore/platform/text/mac/ |
HyphenationMac.mm | 48 RetainPtr<CFDictionaryRef> components(AdoptCF, CFLocaleCreateComponentsFromLocaleIdentifier(kCFAllocatorDefault, cfLocaleIdentifier.get())); 49 CFStringRef language = reinterpret_cast<CFStringRef>(CFDictionaryGetValue(components.get(), kCFLocaleLanguageCode));
|
/frameworks/base/libs/ui/ |
PixelFormat.cpp | 28 if (components == COMPONENT_YUV) { 70 info->components = COMPONENT_YUV; 87 case GGL_##name: info->components = PixelFormatInfo::name; break; 89 switch (i->components) {
|
/system/media/mca/filterfw/native/core/ |
shader_program.cpp | 68 components(0), 618 int components, 620 if (expected_count != (value_size / components)) { 622 "(%d components), but received length of %d (%d components)!", 624 expected_count, components * expected_count, 625 value_size / components, value_size); 633 int components, 635 if (value_size % components != 0) { 638 components, value_size) 721 const int components = GLEnv::NumberOfComponents(type); local 772 const int components = GLEnv::NumberOfComponents(type); local [all...] |
shader_program.h | 252 // components: The number of components per value. Valid values are 1-4. 261 int components, 276 int components, 282 // The components parameter specifies how many elements per variable should 283 // be assigned (The variable must be able to fit the number of components). 290 int components); 297 int components); 415 int components; member in struct:android::filterfw::ShaderProgram::VertexAttrib 473 int components, [all...] |
/external/icu4c/extra/uconv/ |
resfiles.mk | 6 # the character separating components of a filename.
|
/development/tools/emulator/opengl/shared/OpenglCodecCommon/ |
glUtils.cpp | 369 int components = 0; local 410 components = 1; 413 components = 2; 419 components = 3; 423 components = 4; 427 components = 0; 429 pixelsize = components * componentsize;
|