Searched defs:components (Results 1 - 11 of 11) 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/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DRecentsPackageMonitor.java77 public boolean onPackageChanged(String packageName, int uid, String[] components) { argument
92 * Computes the components that have been removed as a result of a change in the specified
/frameworks/native/opengl/tests/EGLTest/
H A DEGL_test.cpp72 EGLint components[3]; local
74 success = eglGetConfigAttrib(mEglDisplay, config, EGL_RED_SIZE, &components[0]);
77 success = eglGetConfigAttrib(mEglDisplay, config, EGL_GREEN_SIZE, &components[1]);
80 success = eglGetConfigAttrib(mEglDisplay, config, EGL_BLUE_SIZE, &components[2]);
84 EXPECT_GE(components[0], 8);
85 EXPECT_GE(components[1], 8);
86 EXPECT_GE(components[2], 8);
146 EGLint components[4]; local
148 success = eglGetConfigAttrib(mEglDisplay, config, EGL_RED_SIZE, &components[0]);
151 success = eglGetConfigAttrib(mEglDisplay, config, EGL_GREEN_SIZE, &components[
[all...]
/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.java149 * changes to the enabled/disabled state of components in a package
154 * @param components Any components in the package that are changing. If
163 public boolean onPackageChanged(String packageName, int uid, String[] components) { argument
164 if (components != null) {
165 for (String name : components) {
347 String[] components = intent.getStringArrayExtra(
353 if (onPackageChanged(pkg, uid, components)) {
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageSettingBase.java346 void setEnabledComponents(ArraySet<String> components, int userId) { argument
347 modifyUserState(userId).enabledComponents = components;
350 void setDisabledComponents(ArraySet<String> components, int userId) { argument
351 modifyUserState(userId).disabledComponents = components;
354 void setEnabledComponentsCopy(ArraySet<String> components, int userId) { argument
355 modifyUserState(userId).enabledComponents = components != null
356 ? new ArraySet<String>(components) : null;
359 void setDisabledComponentsCopy(ArraySet<String> components, int userId) { argument
360 modifyUserState(userId).disabledComponents = components != null
361 ? new ArraySet<String>(components)
[all...]
H A DPackageManagerService.java491 // Set of pending broadcasts for aggregating enable/disable of components.
493 // for each user id, a map of <package name -> components within that package>
505 public void put(int userId, String packageName, ArrayList<String> components) { argument
507 packages.put(packageName, components);
924 ArrayList<String> components[];
938 components = new ArrayList[size];
950 components[i] = ent.getValue();
963 sendPackageChangedBroadcast(packages[i], true, components[i], uids[i]);
12156 ArrayList<String> components;
12225 components
[all...]
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbSettingsManager.java485 public boolean onPackageChanged(String packageName, int uid, String[] components) { argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DImageShader.java96 public void set(boolean normalize, int stride, int components, int type, float[] values) { argument
100 mComponents = components;
110 public void set(boolean normalize, int offset, int stride, int components, int type, argument
116 mComponents = components;
400 public void setAttributeValues(String attributeName, float[] data, int components) { argument
402 attr.set(false, FLOAT_SIZE * components, components, GLES20.GL_FLOAT, data);
405 public void setAttributeValues(String attributeName, int vbo, int type, int components, argument
408 attr.set(normalize, offset, stride, components, type, vbo);
773 private void checkUniformAssignment(ProgramUniform uniform, int values, int components) { argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java13250 ArrayList<ComponentName> components; field in class:ActivityManagerService.ItemMatcher
13262 if (components == null) {
13263 components = new ArrayList<ComponentName>();
13265 components.add(componentName);
13303 if (components != null) {
13304 for (int i=0; i<components.size(); i++) {
13305 if (components.get(i).equals(comp)) {
15015 // We have components that still need to be running in the
15298 * to export singleton components but prevents exporting singleton
15299 * components fo
[all...]

Completed in 2989 milliseconds