Home
last modified time | relevance | path

Searched refs:needs (Results 1 – 25 of 261) sorted by relevance

1234567891011

/frameworks/native/services/surfaceflinger/RenderEngine/
DProgramCache.cpp119 Key needs; in computeKey() local
120 needs.set(Key::TEXTURE_MASK, in computeKey()
133 return needs; in computeKey()
136 String8 ProgramCache::generateVertexShader(const Key& needs) { in generateVertexShader() argument
138 if (needs.isTexturing()) { in generateVertexShader()
147 if (needs.isTexturing()) { in generateVertexShader()
154 String8 ProgramCache::generateFragmentShader(const Key& needs) { in generateFragmentShader() argument
156 if (needs.getTextureTarget() == Key::TEXTURE_EXT) { in generateFragmentShader()
163 if (needs.getTextureTarget() == Key::TEXTURE_EXT) { in generateFragmentShader()
166 } else if (needs.getTextureTarget() == Key::TEXTURE_2D) { in generateFragmentShader()
[all …]
DProgramCache.h120 static Program* generateProgram(const Key& needs);
122 static String8 generateVertexShader(const Key& needs);
124 static String8 generateFragmentShader(const Key& needs);
DProgram.h39 Program(const ProgramCache::Key& needs, const char* vertex, const char* fragment);
/frameworks/base/docs/html/training/permissions/
Ddeclaring.jd36 Every Android app runs in a limited-access sandbox. If an app needs to use
38 the appropriate <i>permission.</i> You declare that your app needs a
48 if your app needs to read the user's contacts, the system asks the user
61 example, if an app needs to access the internet, use the device camera, or
62 turn Wi-Fi on or off, the app needs the appropriate permission. For a list of
69 Your app only needs permissions for actions that it performs directly. Your
71 task or provide the information. For example, if your app needs to read the
72 user's address book, the app needs the {@link
84 To declare that your app needs a permission, put a <a href=
91 element. For example, an app that needs to send SMS messages would have this
Drequesting.jd75 On all versions of Android, your app needs to declare both the normal and the
76 dangerous permissions it needs in its app manifest, as described in <a href=
91 <em>and</em> it must request each dangerous permission it needs while the app
118 If your app needs a dangerous permission, you must check whether you have
148 If your app needs a dangerous permission that was listed in the app manifest,
153 <h3 id="explain">Explain why the app needs permissions</h3>
168 app needs a permission. For example, if a user launches a photography app,
182 the app needs the permission to provide that functionality. In a situation
205 If your app doesn't already have the permission it needs, the app must call
258 needs permissions</a>.
[all …]
/frameworks/base/docs/html/training/transitions/
Dcustom-transitions.jd62 period of time, so the framework needs to have both the starting and ending value of
65 <p>However, a property animation usually needs only a small subset of all the view's property
66 values. For example, a color animation needs color property values, while a movement
67 animation needs position property values. Since the property values needed for an animation
70 capture only the property values it needs and store them in the framework.</p>
/frameworks/base/docs/html/training/custom-views/
Doptimizing-view.jd53 requestLayout()}, the Android UI system needs to traverse the entire view hierarchy to find out how
54 big each view needs
/frameworks/base/docs/html/distribute/googleplay/work/
Dabout.jd7 …y bulk deploy free apps to their employees or bulk purchase paid apps depending on their needs.</p>
43 … your organization, enabling you to move paid apps between users as users needs change and staff t…
69 <li>Request the minimum permissions that your app needs.</li>
/frameworks/base/docs/html/guide/topics/processes/
Dprocess-lifecycle.jd5 This process is created for the application when some of its code needs to
7 the system needs to reclaim its memory for use by other applications.</p>
98 improve startup time the next time a component of its application needs to
/frameworks/av/services/audioflinger/
DAudioMixer.cpp172 t->needs = 0; in getTrackName()
963 t.needs = n; in process__validate()
1023 if ((t.needs & NEEDS_MUTE) == 0) { in process__validate()
1054 t.needs |= NEEDS_MUTE; in process__validate()
1459 if (CC_UNLIKELY(t.needs & NEEDS_AUX)) { in process__genericNoResampling()
1549 if (CC_UNLIKELY(t.needs & NEEDS_AUX)) { in process__genericResampling()
1556 if (t.needs & NEEDS_RESAMPLE) { in process__genericResampling()
1619 in, i, t.channelCount, t.needs, vrl, t.mVolume[0], t.mVolume[1]); in process__OneTrack16BitsStereoNoResampling()
1840 in, t, t->channelCount, t->needs); in process_NoResampleOneTrack()
/frameworks/base/docs/html/guide/topics/graphics/
Doverview.jd6 and help you decide with approach is best for your needs.</p>
27 setup and offers enough capabilities to meet many application's needs.</dd>
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/
Dvignette_f.rsh37 // Range needs to be between 1.3 to 0.6. When scale is zero then range is
Dvignette_approx_f.rsh37 // Range needs to be between 1.3 to 0.6. When scale is zero then range is
/frameworks/base/docs/html/distribute/users/
Dyoutube.jd43 <li>In order to display cards, your account needs to be in good standing.
/frameworks/base/docs/html/training/basics/supporting-devices/
Dindex.jd29 as possible on Android, your app needs to adapt to various device configurations. Some of the
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dvignette.rsh37 // Range needs to be between 1.3 to 0.6. When scale is zero then range is
Dvignette_approx.rsh37 // Range needs to be between 1.3 to 0.6. When scale is zero then range is
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dvignette_approx.rsh37 // Range needs to be between 1.3 to 0.6. When scale is zero then range is
Dvignette.rsh37 // Range needs to be between 1.3 to 0.6. When scale is zero then range is
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dvignette_approx.rsh37 // Range needs to be between 1.3 to 0.6. When scale is zero then range is
Dvignette.rsh37 // Range needs to be between 1.3 to 0.6. When scale is zero then range is
/frameworks/base/docs/html/training/scheduling/
Dwakelock.jd30 However, there are times when an application needs to wake up the screen or the CPU
33 <p>The approach you take depends on the needs of your app. However, a general rule of thumb
123 that needs to grab a wake lock to keep the CPU running to do work while the screen is off.
/frameworks/base/docs/html/work/
Ddevice-management-policy.jd116 <p>Before enforcing any policies, the user needs to manually activate the application as a device
154 <p>The application also needs to be prepared to handle set back situations where the user abandons
156 {@link android.app.Activity#onResume onResume()} in the Policy Set Up Activity needs to have logic
/frameworks/base/docs/html/training/articles/
Ddirect-boot.jd32 If your app needs to take action during Direct Boot mode, you can register
43 <p>If your app needs to access data while running in Direct Boot mode, use
139 existing data that needs to get migrated to device encrypted storage. Use
Dwear-permissions.jd47 actually needs them.</p>
148 stream notification asking the user to grant the permissions the app needs.
195 action, if it’s unclear why your app needs access to the requested permission
229 alt="If the app obviously needs a permission to run at all, it can ask for it immediately on
246 alt="When requesting a permission on launch, the app can explain why it needs the permission."

1234567891011