Home
last modified time | relevance | path

Searched refs:components (Results 1 – 25 of 410) sorted by relevance

12345678910>>...17

/frameworks/base/core/java/com/android/internal/util/
DPredicates.java35 public static <T> Predicate<T> and(Predicate<? super T>... components) { in and() argument
36 return and(Arrays.asList(components)); in and()
47 public static <T> Predicate<T> and(Iterable<? extends Predicate<? super T>> components) { in and() argument
48 return new AndPredicate(components); in and()
56 public static <T> Predicate<T> or(Predicate<? super T>... components) { in or() argument
57 return or(Arrays.asList(components)); in or()
68 public static <T> Predicate<T> or(Iterable<? extends Predicate<? super T>> components) { in or() argument
69 return new OrPredicate(components); in or()
81 private final Iterable<? extends Predicate<? super T>> components; field in Predicates.AndPredicate
83 private AndPredicate(Iterable<? extends Predicate<? super T>> components) { in AndPredicate() argument
[all …]
/frameworks/native/opengl/tests/EGLTest/
DEGL_test.cpp72 EGLint components[3]; in TEST_F() local
74 success = eglGetConfigAttrib(mEglDisplay, config, EGL_RED_SIZE, &components[0]); in TEST_F()
77 success = eglGetConfigAttrib(mEglDisplay, config, EGL_GREEN_SIZE, &components[1]); in TEST_F()
80 success = eglGetConfigAttrib(mEglDisplay, config, EGL_BLUE_SIZE, &components[2]); in TEST_F()
84 EXPECT_GE(components[0], 8); in TEST_F()
85 EXPECT_GE(components[1], 8); in TEST_F()
86 EXPECT_GE(components[2], 8); in TEST_F()
146 EGLint components[4]; in TEST_F() local
148 success = eglGetConfigAttrib(mEglDisplay, config, EGL_RED_SIZE, &components[0]); in TEST_F()
151 success = eglGetConfigAttrib(mEglDisplay, config, EGL_GREEN_SIZE, &components[1]); in TEST_F()
[all …]
/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.cpp61 components(0), in VertexAttrib()
611 int components, in CheckValueCount() argument
613 if (expected_count != (value_size / components)) { in CheckValueCount()
617 expected_count, components * expected_count, in CheckValueCount()
618 value_size / components, value_size); in CheckValueCount()
626 int components, in CheckValueMult() argument
628 if (value_size % components != 0) { in CheckValueMult()
631 components, value_size); in CheckValueMult()
714 const int components = GLEnv::NumberOfComponents(type); in SetUniformValue() local
715 if (!CheckValueCount("Uniform (int)", name, capacity, components, count) in SetUniformValue()
[all …]
Dshader_program.h261 int components,
276 int components,
290 int components);
297 int components);
415 int components; member
473 int components,
480 int components,
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DViewInvertHelper.java87 float components = 1 - 2 * intensity; in updateInvertPaint() local
89 components, 0f, 0f, 0f, 255f * intensity, in updateInvertPaint()
90 0f, components, 0f, 0f, 255f * intensity, in updateInvertPaint()
91 0f, 0f, components, 0f, 255f * intensity, in updateInvertPaint()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java369 void setEnabledComponents(ArraySet<String> components, int userId) { in setEnabledComponents() argument
370 modifyUserState(userId).enabledComponents = components; in setEnabledComponents()
373 void setDisabledComponents(ArraySet<String> components, int userId) { in setDisabledComponents() argument
374 modifyUserState(userId).disabledComponents = components; in setDisabledComponents()
377 void setEnabledComponentsCopy(ArraySet<String> components, int userId) { in setEnabledComponentsCopy() argument
378 modifyUserState(userId).enabledComponents = components != null in setEnabledComponentsCopy()
379 ? new ArraySet<String>(components) : null; in setEnabledComponentsCopy()
382 void setDisabledComponentsCopy(ArraySet<String> components, int userId) { in setDisabledComponentsCopy() argument
383 modifyUserState(userId).disabledComponents = components != null in setDisabledComponentsCopy()
384 ? new ArraySet<String>(components) : null; in setDisabledComponentsCopy()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DImageShader.java96 public void set(boolean normalize, int stride, int components, int type, float[] values) { in set() argument
100 mComponents = components; in set()
110 public void set(boolean normalize, int offset, int stride, int components, int type, in set() argument
116 mComponents = components; in set()
400 public void setAttributeValues(String attributeName, float[] data, int components) { in setAttributeValues() argument
402 attr.set(false, FLOAT_SIZE * components, components, GLES20.GL_FLOAT, data); in setAttributeValues()
405 public void setAttributeValues(String attributeName, int vbo, int type, int components, in setAttributeValues() argument
408 attr.set(normalize, offset, stride, components, type, vbo); in setAttributeValues()
773 private void checkUniformAssignment(ProgramUniform uniform, int values, int components) { in checkUniformAssignment() argument
774 if (values % components != 0) { in checkUniformAssignment()
[all …]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
Dtransform.rs89 if (data->isDirty && rsIsObject(data->components)) {
91 uint32_t numComponenets = rsAllocationGetDimX(data->components);
99 comp = (const SgTransformComponent *)rsGetElementAt(data->components, i);
/frameworks/base/docs/html/guide/
Dindex.jd8 <a href="{@docRoot}guide/components/fundamentals.html">App Fundamentals</a>.</p>
27 <p>Android apps are built as a combination of distinct components that can be invoked
40 <li><a href="{@docRoot}guide/components/fundamentals.html">App Fundamentals</a>
41 <li><a href="{@docRoot}guide/components/intents-filters.html">Intents and Intent Filters</a>
42 <li><a href="{@docRoot}guide/components/activities.html">Activities</a>
/frameworks/base/docs/html/guide/topics/processes/
Dprocess-lifecycle.jd16 application developers understand how different application components
19 of the application's process. <strong>Not using these components correctly can
29 process no longer needed (unless other application components are active in
36 places each process into an "importance hierarchy" based on the components running in
37 them and the state of those components. These process types are (in order of importance):</p>
42 what the user is currently doing. Various application components can
97 components. The only reason to keep such a process around is as a cache to
107 important level found among all the components currently active in the process.
110 each of these components contribute to the overall life-cycle of a process.
/frameworks/base/docs/html/guide/components/
Dfundamentals.jd11 <li><a href="#ActivatingComponents">Activating components</a></li>
16 <li><a href="#DeclaringComponents">Declaring components</a></li>
44 of the app's components need to be executed, then shuts down the process when it's no longer
49 each app, by default, has access only to the components that it requires to do its work and
69 <li>The core framework components that define your app.</li>
70 <li>The manifest file in which you declare components and required device features for your
80 <p>App components are the essential building blocks of an Android app. Each
82 components are actual entry points for the user and some depend on each other, but each one exists
86 <p>There are four different types of app components. Each type serves a distinct purpose
89 <p>Here are the four types of app components:</p>
[all …]
Dindex.jd3 …nd innovative apps using a set of reusable components. This section explains how you can build the…
4 …nd innovative apps using a set of reusable components. This section explains how you can build the…
Dprocesses-and-threads.jd28 <p>When an application component starts and the application does not have any other components
30 execution. By default, all components of the same application run in the same process and thread
34 different components in your application to run in separate processes, and you can create additional
42 <p>By default, all components of the same application run in the same process and most applications
53 in its own process or so that some components share a process while others do not. You can also set
54 {@code android:process} so that components of different applications run in the same
60 default value that applies to all components.</p>
64 components running in the process that's killed are consequently destroyed. A process is started
65 again for those components when there's again work for them to do.</p>
70 terminate a process, therefore, depends on the state of the components running in that process. The
[all …]
/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java162 public boolean onPackageChanged(String packageName, int uid, String[] components) { in onPackageChanged() argument
163 if (components != null) { in onPackageChanged()
164 for (String name : components) { in onPackageChanged()
346 String[] components = intent.getStringArrayExtra( in onReceive() local
352 if (onPackageChanged(pkg, uid, components)) { in onReceive()
/frameworks/base/docs/html/training/run-background-service/
Dindex.jd18 <a href="{@docRoot}guide/components/services.html#ExtendingIntentService">Extending the IntentServi…
21 <a href="{@docRoot}guide/components/intents-filters.html">Intents and Intent Filters</a>
46 requests, and report its results to other components.
/frameworks/base/docs/html-intl/intl/ja/training/monitoring-device-state/
Dindex.jd16 …<li>「<a href="{@docRoot}guide/components/intents-filters.html">インテントとインテント フィルタ</a>」を読み終えていること</li>
21 <li><a href="{@docRoot}guide/components/services.html">サービス</a>
/frameworks/base/docs/html-intl/intl/zh-cn/training/monitoring-device-state/
Dindex.jd16 <li><a href="{@docRoot}guide/components/intents-filters.html">intent 和 intent 过滤器</a>的使用经验</li>
21 <li><a href="{@docRoot}guide/components/services.html">服务</a>
/frameworks/base/docs/html-intl/intl/ko/training/monitoring-device-state/
Dindex.jd16 <li> <a href="{@docRoot}guide/components/intents-filters.html">인텐트 및 인텐트 필터</a> 사용 경험</li>
21 <li><a href="{@docRoot}guide/components/services.html">서비스</a>
/frameworks/base/docs/html/tools/testing/
Dtesting_ui.jd53 In addition to unit testing the individual components that make up your Android application (such a…
63 <LI>{@code uiautomatorviewer} - A GUI tool to scan and analyze the UI components of an Android appl…
77 <LI>Prepare to test by installing the app on a test device, analyzing the app’s UI components, and …
86components (including the views and controls) of the targeted application. You can use the {@code …
96 <p>To analyze the UI components of the application that you want to test:</p>
116 …<LI>Hover over the snapshot in the left-hand panel to see the UI components identified by the {@co…
117 …e UI components that are not accessible to the {@code uiautomator} testing framework. Only limited…
128 <h3 id="identifyUI">Identify the application’s UI components</h3>
129components in the application that you want to test. Typically, good candidates for testing are UI…
131 …plication’s UI</a>. For more information about the common types of UI components provided by Andr…
[all …]
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/intents/
Dindex.jd26 <li><a href="{@docRoot}guide/components/intents-filters.html">意圖和意圖篩選器</a>
33 <p>Android 應用程式通常具有多個<a href="{@docRoot}guide/components/activities.html">應用行為顯示</a>。每個應用行為顯示都會顯示使用…
/frameworks/base/docs/html-intl/intl/ru/training/basics/intents/
Dindex.jd26 <li><a href="{@docRoot}guide/components/intents-filters.html">Объекты Intent и фильтры
33 <p>В приложениях Android обычно имеется несколько <a href="{@docRoot}guide/components/activities.ht…
/frameworks/base/docs/html-intl/intl/ru/training/monitoring-device-state/
Dindex.jd16 …<li>Опыт работы с <a href="{@docRoot}guide/components/intents-filters.html">намерениями и фильтрам…
21 <li><a href="{@docRoot}guide/components/services.html">Службы</a>
/frameworks/base/docs/html-intl/intl/ja/training/basics/intents/
Dindex.jd26 <li><a href="{@docRoot}guide/components/intents-filters.html">インテントとインテントフィルタ</a>
33 <p>Android アプリには通常、いくつかの<a href="{@docRoot}guide/components/activities.html">アクティビティ</a>があります。各アクティ…
/frameworks/base/docs/html-intl/intl/ko/training/basics/intents/
Dindex.jd26 <li><a href="{@docRoot}guide/components/intents-filters.html">인텐트 및 인텐트
33 <p>Android 앱은 보통 여러 <a href="{@docRoot}guide/components/activities.html">액티비티</a>를 가지고 있습니다. 각 액티비티는
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerSettingsTests.java318 ArraySet<String> components = new ArraySet<String>(); in testEnableDisable() local
320 components.add(component1); in testEnableDisable()
321 ps.setDisabledComponents(components, 0); in testEnableDisable()
333 ps.setEnabledComponents(components, 1); in testEnableDisable()

12345678910>>...17