Home
last modified time | relevance | path

Searched refs:another (Results 1 – 25 of 212) sorted by relevance

123456789

/frameworks/base/core/java/android/hardware/input/
DKeyboardLayout.java96 public int compareTo(KeyboardLayout another) { in compareTo() argument
97 int result = mLabel.compareToIgnoreCase(another.mLabel); in compareTo()
99 result = mCollection.compareToIgnoreCase(another.mCollection); in compareTo()
/frameworks/base/core/tests/coretests/src/android/net/http/
DHttpResponseCacheTest.java58 HttpResponseCache another = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testSecondEquivalentInstallDoesNothing() local
59 assertSame(first, another); in testSecondEquivalentInstallDoesNothing()
64 HttpResponseCache another = HttpResponseCache.install(cacheDir, 8 * 1024 * 1024); in testInstallClosesPreviouslyInstalled() local
65 assertNotSame(first, another); in testInstallClosesPreviouslyInstalled()
/frameworks/base/core/java/com/android/internal/util/
DCharSequences.java117 public static int compareToIgnoreCase(CharSequence me, CharSequence another) {
119 int myLen = me.length(), anotherLen = another.length();
125 - Character.toLowerCase(another.charAt(anotherPos++))) != 0) {
/frameworks/base/core/java/android/net/
DNetworkPolicy.java135 public int compareTo(NetworkPolicy another) { in compareTo() argument
136 if (another == null || another.limitBytes == LIMIT_DISABLED) { in compareTo()
140 if (limitBytes == LIMIT_DISABLED || another.limitBytes < limitBytes) { in compareTo()
DNetworkStats.java114 public void add(Entry another) { in add() argument
115 this.rxBytes += another.rxBytes; in add()
116 this.rxPackets += another.rxPackets; in add()
117 this.txBytes += another.txBytes; in add()
118 this.txPackets += another.txPackets; in add()
119 this.operations += another.operations; in add()
312 public void combineAllValues(NetworkStats another) { in combineAllValues() argument
314 for (int i = 0; i < another.size; i++) { in combineAllValues()
315 entry = another.getValues(i, entry); in combineAllValues()
/frameworks/base/docs/html/training/basics/activity-lifecycle/
Dindex.jd45 action that starts another activity or switches to another app, the system calls another set of
51 you might pause the video and terminate the network connection when the user switches to another
Dstarting.jd60 move only part way down the pyramid and wait (such as when the user switches to another app), from
78 <li>Does not crash if the user receives a phone call or switches to another app
124 <dd>In this state, the activity is partially obscured by another activity&mdash;the
232 navigates to another activity, or the device screen turns off.</p>
287 launch another activity, you might call {@link android.app.Activity#finish()} from within {@link
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DAbstractResult.java80 public int compareTo(AbstractResult another) { in compareTo() argument
81 return getRelativePath().compareTo(another.getRelativePath()); in compareTo()
/frameworks/base/docs/html/training/basics/intents/
Dindex.jd37 To take the user from one activity to another, your app must use an {@link
49 interactions with other apps, such as start another app, receive a result from that app, and
59 <dd>Shows how to start another activity and receive a result from the activity.</dd>
Dresult.jd30 <p>Starting another activity doesn't have to be one-way. You can also start another activity and
40 sends the result as another {@link android.content.Intent} object. Your activity receives it in
/frameworks/base/docs/html/training/improving-layouts/
Dreusing-layouts.jd44 to embed another layout inside the current layout.</p>
120 when including one layout within another. For example, if your main layout is a vertical {@link
123 own root view. However, using another {@link android.widget.LinearLayout} as the root for the
147 <p>Now, when you include this layout in another layout (using the {@code &lt;include/&gt;} tag), the
/frameworks/base/docs/html/guide/practices/app-design/
Dindex.jd4 …e and how to use them. Later, you learn the nuances of the platform. Put another way: first you le…
13 qualities at one time or another. However, each platform achieves them in
/frameworks/base/core/java/android/preference/
DPreference.java1062 public int compareTo(Preference another) { in compareTo() argument
1064 || (mOrder == DEFAULT_ORDER && another.mOrder != DEFAULT_ORDER)) { in compareTo()
1066 return mOrder - another.mOrder; in compareTo()
1069 } else if (another.mTitle == null) { in compareTo()
1073 return CharSequences.compareToIgnoreCase(mTitle, another.mTitle); in compareTo()
/frameworks/base/services/java/com/android/server/net/
DNetworkStatsCollection.java226 public void recordCollection(NetworkStatsCollection another) { in recordCollection() argument
227 for (Map.Entry<Key, NetworkStatsHistory> entry : another.mStats.entrySet()) { in recordCollection()
529 public int compareTo(Key another) { in compareTo() argument
530 return Integer.compare(uid, another.uid); in compareTo()
/frameworks/base/core/java/com/android/internal/app/
DLocalePicker.java75 public int compareTo(LocaleInfo another) { in compareTo() argument
76 return sCollator.compare(this.label, another.label); in compareTo()
/frameworks/base/docs/html/guide/topics/ui/layout/
Drelative.jd23 the left-of or below another view) or in positions relative to the parent {@link
38 make one below another, centered in the screen, centered left, and so on. By default, all child
69 references another view in the layout against which the view should be positioned.</p>
/frameworks/base/docs/html/training/managing-audio/
Daudio-focus.jd109 <p>Whenever another app requests audio focus as described above, its choice between permanent and
116 <p>If your app can request audio focus, it follows that it will in turn lose that focus when another
131 <p>If the audio focus loss is permanent, it’s assumed that another application is now being used to
164 another app easier to hear without totally disrupting the audio from your own application.</p>
/frameworks/base/docs/html/training/graphics/opengl/
Dmotion.jd42 <p>In this lesson, you take another step forward into using OpenGL ES by learning how to add motion
48 <p>Rotating a drawing object with OpenGL ES 2.0 is relatively simple. You create another
/frameworks/base/docs/html/design/patterns/
Dnotifications.jd22 synchronous form of communication: there is another user actively waiting on you to respond.
23 Calendar events are another good example of when to use a notification and grab the user's
45 chatting with another user.</p>
86 <p>For notifications of items sent by another user (such as a message or status update), include th…
114 <p>If your app creates a notification while another of the same type is still pending, avoid creati…
/frameworks/base/docs/html/guide/faq/
Dframework.jd12 from one Activity/Service to another?</a></li>
32 another process.</p>
92 keys. When an activity wants to pass an object to another activity, it
/frameworks/base/core/java/android/widget/
DExpandableListConnector.java911 public int compareTo(GroupMetadata another) { in compareTo() argument
912 if (another == null) { in compareTo()
916 return gPos - another.gPos; in compareTo()
/frameworks/base/docs/html/training/sharing/
Dindex.jd27 already exists in another application?</p>
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ui/
DDirListActivity.java133 public int compareTo(ListItem another) { in compareTo() argument
134 return mRelativePath.compareTo(another.getRelativePath()); in compareTo()
/frameworks/base/docs/html/guide/topics/graphics/
Doverview.jd15 another.</p>
33 after another, like a roll of film. This method of animation is useful if you want to animate
/frameworks/base/docs/html/training/displaying-bitmaps/
Dprocess-bitmap.jd114 android.widget.GridView} introduce another issue when used in conjunction with the {@link
118 already been recycled for use in another child view. Furthermore, there is no guarantee that the
167 <p>The {@code cancelPotentialWork} method referenced in the code sample above checks if another

123456789