/frameworks/base/core/java/com/android/internal/util/ |
H A D | 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) { 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 D | EGL_test.cpp | 72 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); 143 EGLint components[4]; local 145 success = eglGetConfigAttrib(mEglDisplay, config, EGL_RED_SIZE, &components[0]); 148 success = eglGetConfigAttrib(mEglDisplay, config, EGL_GREEN_SIZE, &components[ [all...] |
/frameworks/base/core/java/com/android/internal/content/ |
H A D | PackageMonitor.java | 149 * 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) { 343 String[] components = intent.getStringArrayExtra( 349 if (onPackageChanged(pkg, uid, components)) {
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | 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...] |
H A D | 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_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/services/java/com/android/server/pm/ |
H A D | PackageSettingBase.java | 294 void setEnabledComponents(HashSet<String> components, int userId) { argument 295 modifyUserState(userId).enabledComponents = components; 298 void setDisabledComponents(HashSet<String> components, int userId) { argument 299 modifyUserState(userId).disabledComponents = components; 302 void setEnabledComponentsCopy(HashSet<String> components, int userId) { argument 303 modifyUserState(userId).enabledComponents = components != null 304 ? new HashSet<String>(components) : null; 307 void setDisabledComponentsCopy(HashSet<String> components, int userId) { argument 308 modifyUserState(userId).disabledComponents = components != null 309 ? new HashSet<String>(components) [all...] |
H A D | PackageManagerService.java | 439 // Set of pending broadcasts for aggregating enable/disable of components. 441 // for each user id, a map of <package name -> components within that package> 453 public void put(int userId, String packageName, ArrayList<String> components) { argument 455 packages.put(packageName, components); 732 ArrayList<String> components[]; 746 components = new ArrayList[size]; 758 components[i] = ent.getValue(); 771 sendPackageChangedBroadcast(packages[i], true, components[i], uids[i]); 10247 ArrayList<String> components; 10316 components [all...] |
/frameworks/base/services/java/com/android/server/usb/ |
H A D | UsbSettingsManager.java | 368 public boolean onPackageChanged(String packageName, int uid, String[] components) { argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | ImageShader.java | 96 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/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 11111 ArrayList<ComponentName> components; field in class:ActivityManagerService.ItemMatcher 11123 if (components == null) { 11124 components = new ArrayList<ComponentName>(); 11126 components.add(componentName); 11164 if (components != null) { 11165 for (int i=0; i<components.size(); i++) { 11166 if (components.get(i).equals(comp)) { 12540 // We have components that still need to be running in the 13545 // components to be launched.
|