Searched refs:components (Results 1 - 15 of 15) 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/base/media/mca/filterfw/native/core/
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...]
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...]
/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...]
H A DSettings.java91 private static final String TAG_DISABLED_COMPONENTS = "disabled-components";
92 private static final String TAG_ENABLED_COMPONENTS = "enabled-components";
949 HashSet<String> components = null;
964 if (components == null) {
965 components = new HashSet<String>();
967 components.add(componentName);
971 return components;
2200 "Error in package manager settings: <disabled-components> has"
2205 "Unknown element under <disabled-components>: " + parser.getName());
2228 "Error in package manager settings: <enabled-components> ha
[all...]
H A DPackageManagerService.java410 // Set of pending broadcasts for aggregating enable/disable of components.
641 ArrayList<String> components[];
655 components = new ArrayList[size];
663 components[i] = ent.getValue();
673 sendPackageChangedBroadcast(packages[i], true, components[i], uids[i]);
8880 ArrayList<String> components;
8945 components = mPendingBroadcasts.get(packageName);
8946 final boolean newPackage = components == null;
8948 components = new ArrayList<String>();
8950 if (!components
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DPackageManagerSettingsTests.java185 HashSet<String> components = new HashSet<String>();
187 components.add(component1);
188 ps.setDisabledComponents(components, 0);
196 // User 1 should not have any disabled components
200 ps.setEnabledComponents(components, 1);
/frameworks/native/include/ui/
H A DPixelFormat.h79 enum { // components
115 uint8_t components; member in struct:android::PixelFormatInfo
/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/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DLayoutTestsAutoTest.java174 String[] components = line.split(" ");
175 mTestList.add(components[0]);
176 mTestListIgnoreResult.add(components.length > 1 && components[1].equals("IGNORE_RESULT"));
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DCompoundTransform.java157 throw new IllegalArgumentException("Transform components may not be shared");
167 throw new IllegalArgumentException("Transform components may not be shared");
192 mField.set_components(0, mTransformData.components, false);
207 mTransformData.components = mComponentField.getAllocation();
/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 2083 milliseconds