/frameworks/base/core/java/android/hardware/input/ |
D | KeyboardLayout.java | 96 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/ |
D | HttpResponseCacheTest.java | 58 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/ |
D | CharSequences.java | 117 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/ |
D | NetworkPolicy.java | 135 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()
|
D | NetworkStats.java | 114 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/ |
D | index.jd | 45 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
|
D | starting.jd | 60 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—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/ |
D | AbstractResult.java | 80 public int compareTo(AbstractResult another) { in compareTo() argument 81 return getRelativePath().compareTo(another.getRelativePath()); in compareTo()
|
/frameworks/base/docs/html/training/basics/intents/ |
D | index.jd | 37 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>
|
D | result.jd | 30 <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/ |
D | reusing-layouts.jd | 44 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 <include/>} tag), the
|
/frameworks/base/docs/html/guide/practices/app-design/ |
D | index.jd | 4 …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/ |
D | Preference.java | 1062 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/ |
D | NetworkStatsCollection.java | 226 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/ |
D | LocalePicker.java | 75 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/ |
D | relative.jd | 23 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/ |
D | audio-focus.jd | 109 <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/ |
D | motion.jd | 42 <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/ |
D | notifications.jd | 22 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/ |
D | framework.jd | 12 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/ |
D | ExpandableListConnector.java | 911 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/ |
D | index.jd | 27 already exists in another application?</p>
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ui/ |
D | DirListActivity.java | 133 public int compareTo(ListItem another) { in compareTo() argument 134 return mRelativePath.compareTo(another.getRelativePath()); in compareTo()
|
/frameworks/base/docs/html/guide/topics/graphics/ |
D | overview.jd | 15 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/ |
D | process-bitmap.jd | 114 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
|