Searched defs:components (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
H A DPredicates.java31 * 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) { argument
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) { argument
48 return new AndPredicate(components);
52 * Returns a Predicate that evaluates to true iff any one of its components
56 or(Predicate<? super T>.... components) argument
68 or(Iterable<? extends Predicate<? super T>> components) argument
81 private final Iterable<? extends Predicate<? super T>> components; field in class:Predicates.AndPredicate
83 AndPredicate(Iterable<? extends Predicate<? super T>> components) argument
98 private final Iterable<? extends Predicate<? super T>> components; field in class:Predicates.OrPredicate
100 OrPredicate(Iterable<? extends Predicate<? super T>> components) argument
[all...]
/frameworks/native/opengl/tests/EGLTest/
H A DEGL_test.cpp73 EGLint components[3]; local
75 success = eglGetConfigAttrib(mEglDisplay, config, EGL_RED_SIZE, &components[0]);
78 success = eglGetConfigAttrib(mEglDisplay, config, EGL_GREEN_SIZE, &components[1]);
81 success = eglGetConfigAttrib(mEglDisplay, config, EGL_BLUE_SIZE, &components[2]);
85 EXPECT_GE(components[0], 8);
86 EXPECT_GE(components[1], 8);
87 EXPECT_GE(components[2], 8);
139 EGLint components[4]; local
141 success = eglGetConfigAttrib(mEglDisplay, config, EGL_RED_SIZE, &components[0]);
144 success = eglGetConfigAttrib(mEglDisplay, config, EGL_GREEN_SIZE, &components[
[all...]
/frameworks/native/libs/ui/
H A DPixelFormat.cpp39 uint8_t components; member in struct:android::Info
69 if (components == COMPONENT_YUV) {
111 info->components = COMPONENT_YUV;
138 info->components = i->components;
/frameworks/native/include/ui/
H A DPixelFormat.h79 enum { // components
115 uint8_t components; member in struct:android::PixelFormatInfo
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.h252 // 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...]
H A Dshader_program.cpp68 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_siz
615 CheckValueCount(const std::string& var_type, const std::string& var_name, int expected_count, int components, int value_size) argument
631 CheckValueMult(const std::string& var_type, const std::string& var_name, int components, int value_size) argument
721 const int components = GLEnv::NumberOfComponents(type); local
772 const int components = GLEnv::NumberOfComponents(type); local
951 SetAttributeValues(ProgramVar var, const VertexFrame* vbo, GLenum type, int components, int stride, int offset, bool normalize) argument
977 SetAttributeValues(ProgramVar var, const uint8_t* data, GLenum type, int components, int stride, int offset, bool normalize) argument
1002 SetAttributeValues(ProgramVar var, const std::vector<float>& data, int components) argument
1008 SetAttributeValues(ProgramVar var, const float* data, int total, int components) argument
[all...]
/frameworks/base/core/java/com/android/internal/content/
H A DPackageMonitor.java157 public void onPackageChanged(String packageName, int uid, String[] components) { argument
326 String[] components = intent.getStringArrayExtra(
331 onPackageChanged(pkg, uid, components);
/frameworks/base/services/java/com/android/server/pm/
H A DPackageSettingBase.java271 void setEnabledComponents(HashSet<String> components, int userId) { argument
272 modifyUserState(userId).enabledComponents = components;
275 void setDisabledComponents(HashSet<String> components, int userId) { argument
276 modifyUserState(userId).disabledComponents = components;
279 void setEnabledComponentsCopy(HashSet<String> components, int userId) { argument
280 modifyUserState(userId).enabledComponents = components != null
281 ? new HashSet<String>(components) : null;
284 void setDisabledComponentsCopy(HashSet<String> components, int userId) { argument
285 modifyUserState(userId).disabledComponents = components != null
286 ? new HashSet<String>(components)
[all...]
/frameworks/base/services/java/com/android/server/usb/
H A DUsbSettingsManager.java367 public void onPackageChanged(String packageName, int uid, String[] components) { argument
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java9546 ArrayList<ComponentName> components; field in class:ActivityManagerService.ItemMatcher
9558 if (components == null) {
9559 components = new ArrayList<ComponentName>();
9561 components.add(componentName);
9599 if (components != null) {
9600 for (int i=0; i<components.size(); i++) {
9601 if (components.get(i).equals(comp)) {
10842 // We have components that still need to be running in the
11813 // components to be launched.

Completed in 8432 milliseconds