Home
last modified time | relevance | path

Searched refs:always (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/frameworks/support/v4/java/android/support/v4/util/
DTimeUtils.java38 static private int accumField(int amt, int suffix, boolean always, int zeropad) { in accumField() argument
39 if (amt > 99 || (always && zeropad >= 3)) { in accumField()
42 if (amt > 9 || (always && zeropad >= 2)) { in accumField()
45 if (always || amt > 0) { in accumField()
52 boolean always, int zeropad) { in printField() argument
53 if (always || amt > 0) { in printField()
55 if ((always && zeropad >= 3) || amt > 99) { in printField()
61 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) { in printField()
/frameworks/base/core/java/android/util/
DTimeUtils.java253 static private int accumField(int amt, int suffix, boolean always, int zeropad) { in accumField() argument
254 if (amt > 99 || (always && zeropad >= 3)) { in accumField()
257 if (amt > 9 || (always && zeropad >= 2)) { in accumField()
260 if (always || amt > 0) { in accumField()
267 boolean always, int zeropad) { in printField() argument
268 if (always || amt > 0) { in printField()
270 if ((always && zeropad >= 3) || amt > 99) { in printField()
276 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) { in printField()
/frameworks/base/services/core/java/com/android/server/pm/
DPreferredActivity.java39 boolean always) { in PreferredActivity() argument
41 mPref = new PreferredComponent(this, match, set, activity, always); in PreferredActivity()
DPreferredComponent.java61 ComponentName component, boolean always) { in PreferredComponent() argument
65 mAlways = always; in PreferredComponent()
/frameworks/base/core/java/android/service/notification/
DCondition.java117 final boolean always = (flags & FLAG_RELEVANT_ALWAYS) != 0; in relevanceToString()
118 if (!now && !always) return "NONE"; in relevanceToString()
119 if (now && always) return "NOW, ALWAYS"; in relevanceToString()
/frameworks/base/docs/html/training/cloudsync/
Dindex.jd21 service, making sure all your devices always stay in sync, and your valuable
22 data is always backed up to the cloud.</p>
/frameworks/base/docs/html/training/multiscreen/
Dscreendensities.jd57 different devices. Therefore, when specifying dimensions, always use either
74 <p>When specifying text size, always use <code>sp</code>:</p>
86 you should always provide your bitmap resources tailored to each of
/frameworks/base/docs/html/distribute/
Dindex.jd6 …he most visited store in the world for Android apps. Cloud-connected and always synced, it's never…
/frameworks/base/docs/html/training/sync-adapters/
Dcreating-stub-provider.jd95 * query() always returns no results
108 * insert() always returns null (no URI)
115 * delete() always returns "no rows affected" (0)
122 * update() always returns "no rows affected" (0)
/frameworks/base/docs/html/tools/help/
Dzipalign.jd17 <p>This tool should always be used to align your .apk file before
55 This must always be 4 (which provides 32-bit alignment) or else it effectively
/frameworks/base/core/java/android/view/
DWindowManagerPolicy.java1116 public void showBootMessage(final CharSequence msg, final boolean always); in showBootMessage() argument
1141 public boolean performHapticFeedbackLw(WindowState win, int effectId, boolean always); in performHapticFeedbackLw() argument
DIWindowSession.aidl137 boolean performHapticFeedback(IWindow window, int effectId, boolean always); in performHapticFeedback() argument
/frameworks/base/docs/html/guide/components/
Drecents.jd65 attributes you can choose between always opening the document in a new task or reusing an
83 the new document, the system always creates a new task with the target activity as the root.
152 <p>An activity can also specify in its manifest that it always launches into a new task by using
165 <dt>"{@code always}"</dt>
194 <p>You can always exclude a task from the overview screen entirely by setting the
Dtasks-and-back-stack.jd240 <li><a href="{@docRoot}guide/topics/manifest/activity-element.html#always">
347 the task holding the instance. The activity is always the single and only member of its task;
353 always open in its own task&mdash;by specifying the {@code singleTask} launch mode in the <a
362 started it, the <em>Back</em> button always takes the user to the previous activity. However, if you
423 the incoming intent. That's because a new instance is always created for a new intent when the
472 notification manager) always start activities in an external task, never as part of their own, so
473 they always put {@code FLAG_ACTIVITY_NEW_TASK} in the intents they pass to
513 href="{@docRoot}guide/topics/manifest/activity-element.html#always">alwaysRetainTaskState</a></code>
524 <a href="{@docRoot}guide/topics/manifest/activity-element.html#always">
525 {@code alwaysRetainTaskState}</a>. The user always returns to the task in its
[all …]
/frameworks/base/docs/html/guide/topics/manifest/
Ddata-element.jd93 case-sensitive, unlike the RFC. As a result, you should always specify schemes
103 case-sensitive, unlike the formal RFC. As a result, you should always specify
164 case-sensitive, unlike formal RFC MIME types. As a result, you should always
Dactivity-element.jd10 android:<a href="#always">alwaysRetainTaskState</a>=["true" | "false"]
17 android:<a href="#dlmode">documentLaunchMode</a>=["intoExisting", "always",
117 Therefore, by definition, a root activity is always in a task with the
125 <dt><a name="always"></a>{@code android:alwaysRetainTaskState}</dt>
126 <dd>Whether or not the state of the task that the activity is in will always
141 However, when this attribute is "{@code true}", users will always return
159 "{@code true}" if the task is always stripped down to its root activity, and
170 <code><a href="#always">alwaysRetainTaskState</a></code> attribute), but not always.
265 activity always handles this configuration change itself (this configuration change does not restart
275 your activity always handles this configuration change itself (this configuration change does not
[all …]
/frameworks/base/docs/html/training/basics/data-storage/
Dfiles.jd52 without a removable storage medium, there are always two storage spaces and
59 <li>It's always available.</li>
71 <li>It's not always available, because the user can mount the external storage as USB storage
126 storage. Your application always has permission to read and
212 should always verify that the volume is available before accessing it. You can query the external
354 <p>You should always delete files that you no longer need. The most straightforward way to delete a
/frameworks/base/docs/html/guide/topics/text/
Dindex.jd29 <p>The word "multitouch" gets thrown around quite a bit and it’s not always clear what people
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeWindowSession.java84 public boolean performHapticFeedback(IWindow window, int effectId, boolean always) { in performHapticFeedback() argument
/frameworks/base/docs/html/guide/topics/graphics/
Dindex.jd32 <p>Hardware accelerated graphics is nothing new to the Android platform, it has always been
/frameworks/base/docs/html/guide/topics/sensors/
Dsensors_environment.jd41 sensors are not always available on devices. Because of this, it's particularly important that you
150 <p>You must always include implementations of both the {@link
153 sure that you always unregister a sensor when an activity pauses. This prevents a sensor from
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java513 private void performFling(int position, float velocity, boolean always) {
518 if (always || (velocity > mMaximumMajorVelocity ||
535 if (!always && (velocity > mMaximumMajorVelocity ||
/frameworks/base/docs/html/about/versions/
Dandroid-2.0-highlights.jd35 <param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"><…
37 allowscriptaccess="always" allowfullscreen="true" width="278" height="180"></embed>
/frameworks/base/docs/html/tools/testing/
Dcontentprovider_testing.jd106 ensures that tests always run against data dependencies set explicitly in the test case. It
161 {@link android.test.ProviderTestCase2}, you should always test with a resolver object
173 data tables. These should always be constants publicly defined by the provider.
/frameworks/base/docs/html/training/articles/
Dperf-tips.jd28 performance effects. Choosing the right algorithms and data structures should always be your
48 code for a device with a JIT is not always the best code for a device
59 is always more expensive than not allocating memory.</p>
64 should always be avoided.</p>
71 will always be appended to a {@link java.lang.StringBuffer} anyway, change your signature
169 in the public interface, but within a class you should always access

12345678910>>...12