/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...] |
/external/webkit/WebCore/platform/graphics/cg/ |
ColorCG.cpp | 46 const CGFloat* components = CGColorGetComponents(color); local 55 r = g = b = components[0]; 56 a = components[1]; 59 r = components[0]; 60 g = components[1]; 61 b = components[2]; 62 a = components[3]; 82 CGFloat components[4] = { static_cast<CGFloat>(c.red()) / 255, static_cast<CGFloat>(c.green()) / 255, local 84 color = CGColorCreate(rgbSpace.get(), components);
|
/external/skia/src/animator/ |
SkAnimate.h | 30 virtual int components();
|
SkAnimateBase.h | 34 virtual int components(); 40 int entries() { return fValues.count() / components(); }
|
SkAnimateActive.cpp | 176 int count = animate->components(); 214 int count = animate->components(); 306 int components = animate->components(); local 308 SkOperand* to = &from[animate->components()]; 309 existingValues.setCount(components); 314 for (int cIndex = 0; cIndex < components; cIndex++) { 326 fInterpolators[index]->reset(components, 2, SkType_Float); 380 int components = animate->components(); local [all...] |
/external/webkit/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 240 TextRunComponents components; local 247 TextRunComponents components; local 314 TextRunComponents components; local [all...] |
/external/chromium/googleurl/src/ |
url_canon_ip.h | 40 // each component will be placed into |components| and it will return true. 46 // Not all components may exist. If there are only 3 components, for example, 59 url_parse::Component components[4]); 62 url_parse::Component components[4]); 74 // components in the IPv4 address.
|
url_canon_ip.cc | 60 url_parse::Component components[4]) { 68 components[cur_component] = 75 // Don't allow empty components (two dots in a row), except we may 99 // Fill in any unused components. 101 components[cur_component++] = url_parse::Component(); 113 // out any input that is greater than 7 bits. The components are assumed 207 // The identified components. Not all may exist. 208 url_parse::Component components[4]; local 209 if (!FindIPv4Components(spec, host, components)) 212 // Convert existing components to digits. Values up t [all...] |
/external/webkit/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/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...] |
CharMatcher.java | 560 List<CharMatcher> components; 562 And(List<CharMatcher> components) { 563 this.components = components; // Skip defensive copy (private) 567 for (CharMatcher matcher : components) { 576 List<CharMatcher> newComponents = new ArrayList<CharMatcher>(components); 591 List<CharMatcher> components; 593 Or(List<CharMatcher> components) { 594 this.components = components; // Skip defensive copy (private [all...] |
/external/chromium/base/ |
version.h | 31 const std::vector<uint16>& components() const { return components_; } function in class:Version
|
version_unittest.cc | 33 EXPECT_EQ(cases[i].parts, vers->components().size());
|
/external/webkit/WebCore/platform/graphics/mac/ |
ColorMac.mm | 114 CGFloat components[4]; 116 [deviceColor getRed:&components[0] green:&components[1] blue:&components[2] alpha:&components[3]]; 118 CGColorRef cgColor = CGColorCreate(deviceRGBColorSpace, components);
|
/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")) {
|
/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) {
|
/external/icu4c/extra/uconv/ |
resfiles.mk | 6 # the character separating components of a filename.
|
/external/skia/xcode/hostapp/ |
test.cpp | 43 float components[] = { 1, 1, 1, 1 }; local 46 CGColorRef color = CGColorCreate(colorspace, components);
|
/device/samsung/crespo/alsa-lib/src/mixer/ |
simple_abst.c | 159 const char *components; local 163 components = snd_ctl_card_info_get_components(priv->info); 164 while (*components != '\0') { 165 if (!strncmp(components, searchl, strlen(searchl))) 167 while (*components != ' ' && *components != '\0') 168 components++; 169 while (*components == ' ' && *components != '\0') 170 components++ [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
PathBarLayer.java | 78 final ArrayList<Component> components = mComponents; local 79 synchronized (components) { 80 int lastIndex = components.size() - 1; 84 Component retVal = components.get(lastIndex); 90 final ArrayList<Component> components = mComponents; local 91 synchronized (components) { 92 int lastIndex = components.size() - 1; 96 Component retVal = components.get(lastIndex); 97 components.remove(lastIndex); 195 // Draw components [all...] |
/build/tools/ |
adbs | 101 components = func_regexp.match(func_name) 102 if components is None: 104 return components.group(2)
|
/hardware/ril/mock-ril/src/js/ |
ctrl_server.js | 118 // For other commands, we need to dispatch to the corresponding components 126 for(i = 0; i < entry.components.length; i++) { 127 entry.components[i].add(req); 147 * the corresponding components. 150 * and contains an array of components this request 155 * ctrlServerDispatchTable[CTRL_CMD_xxx].components = Array of components 161 'components' : [simulatedRadioWorker], 165 'components' : [simulatedRadioWorker], 169 'components' : [simulatedRadioWorker] [all...] |
/frameworks/base/include/ui/ |
PixelFormat.h | 88 enum { // components 124 uint8_t components; member in struct:android::PixelFormatInfo
|
/external/jpeg/ |
rdtarga.c | 337 int idlen, cmaptype, subtype, flags, interlace_type, components; local 380 components = 3; /* until proven different */ 409 components = 1; 426 (JDIMENSION) width * components, (JDIMENSION) height, (JDIMENSION) 1); 439 (JDIMENSION) width * components, (JDIMENSION) 1); 461 cinfo->input_components = components;
|
/development/host/windows/usb/legacy/driver/ |
makefile | 25 that is shared by all the components of Windows NT (DDK)
|