Searched refs:result (Results 1 - 25 of 410) sorted by relevance

1234567891011>>

/packages/apps/Email/tests/src/com/android/email/activity/
H A DMessagesAdapterTests.java74 MessagesAdapter.MessagesCursor result = getLoaderResult(accountId, mailboxId);
75 assertTrue(result.mIsFound);
76 assertEquals(accountId, result.mAccount.mId);
77 assertEquals(mailboxId, result.mMailbox.mId);
78 assertFalse(result.mIsEasAccount);
79 assertTrue(result.mIsRefreshable);
89 MessagesAdapter.MessagesCursor result = getLoaderResult(accountId, mailboxId);
90 assertTrue(result.mIsFound);
91 assertEquals(accountId, result.mAccount.mId);
92 assertEquals(mailboxId, result
[all...]
/packages/apps/Camera/src/com/android/camera/
H A DIntArray.java38 public int[] toArray(int[] result) { argument
39 if (result == null || result.length < mSize) {
40 result = new int[mSize];
42 System.arraycopy(mData, 0, result, 0, mSize);
43 return result;
/packages/apps/Camera/tests/src/com/android/camera/
H A DStressTests.java40 TestSuite result = new TestSuite();
41 result.addTestSuite(SwitchPreview.class);
42 result.addTestSuite(ImageCapture.class);
43 result.addTestSuite(CameraLatency.class);
44 result.addTestSuite(CameraStartUp.class);
45 return result;
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DIntArray.java39 public int[] toArray(int[] result) { argument
40 if (result == null || result.length < mSize) {
41 result = new int[mSize];
43 System.arraycopy(mData, 0, result, 0, mSize);
44 return result;
/packages/apps/LegacyCamera/src/com/android/camera/
H A DIntArray.java38 public int[] toArray(int[] result) { argument
39 if (result == null || result.length < mSize) {
40 result = new int[mSize];
42 System.arraycopy(mData, 0, result, 0, mSize);
43 return result;
/packages/apps/LegacyCamera/tests/src/com/android/camera/
H A DStressTests.java39 TestSuite result = new TestSuite();
40 result.addTestSuite(SwitchPreview.class);
41 result.addTestSuite(ImageCapture.class);
42 result.addTestSuite(CameraLatency.class);
43 result.addTestSuite(CameraStartUp.class);
44 return result;
/packages/apps/Email/src/org/apache/commons/io/output/
H A DCountingOutputStream.java99 long result = getByteCount();
100 if (result > Integer.MAX_VALUE) {
101 throw new ArithmeticException("The byte count " + result + " is too large to be converted to an int");
103 return (int) result;
117 long result = resetByteCount();
118 if (result > Integer.MAX_VALUE) {
119 throw new ArithmeticException("The byte count " + result + " is too large to be converted to an int");
121 return (int) result;
129 * result in incorrect count for files over 2GB.
143 * result i
[all...]
/packages/apps/Email/src/com/android/email/
H A DControllerResultUiThreadWrapper.java61 public void loadAttachmentCallback(final MessagingException result, final long accountId, argument
70 mWrappee.loadAttachmentCallback(result, accountId, messageId, attachmentId,
77 public void loadMessageForViewCallback(final MessagingException result, final long accountId, argument
82 mWrappee.loadMessageForViewCallback(result, accountId, messageId, progress);
88 public void sendMailCallback(final MessagingException result, final long accountId, argument
93 mWrappee.sendMailCallback(result, accountId, messageId, progress);
99 public void serviceCheckMailCallback(final MessagingException result, final long accountId, argument
104 mWrappee.serviceCheckMailCallback(result, accountId, mailboxId, progress, tag);
110 public void updateMailboxCallback(final MessagingException result, final long accountId, argument
116 mWrappee.updateMailboxCallback(result, accountI
123 updateMailboxListCallback(final MessagingException result, final long accountId, final int progress) argument
[all...]
/packages/apps/Email/src/org/apache/commons/io/comparator/
H A DLastModifiedFileComparator.java68 long result = file1.lastModified() - file2.lastModified();
69 if (result < 0) {
71 } else if (result > 0) {
/packages/apps/Mms/src/com/android/mms/util/
H A DItemLoadedCallback.java25 * Called when an item's loading is complete. At most one of {@code result}
28 * @param result the object result, or {@code null} if the request failed or
31 void onItemLoaded(T result, Throwable exception); argument
/packages/apps/Calendar/src/com/android/calendar/
H A DCalendarEventModel.java469 int result = 1;
470 result = prime * result + (mAllDay ? 1231 : 1237);
471 result = prime * result + ((mAttendeesList == null) ? 0 : getAttendeesString().hashCode());
472 result = prime * result + (int) (mCalendarId ^ (mCalendarId >>> 32));
473 result = prime * result + ((mDescription == null) ? 0 : mDescription.hashCode());
474 result
[all...]
/packages/apps/Email/src/org/apache/commons/io/input/
H A DCountingInputStream.java120 long result = getByteCount();
121 if (result > Integer.MAX_VALUE) {
122 throw new ArithmeticException("The byte count " + result + " is too large to be converted to an int");
124 return (int) result;
138 long result = resetByteCount();
139 if (result > Integer.MAX_VALUE) {
140 throw new ArithmeticException("The byte count " + result + " is too large to be converted to an int");
142 return (int) result;
150 * result in incorrect count for files over 2GB.
164 * result i
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
H A DSQLiteAsyncQuery.java24 * @param <A> The type of the result of the query.
29 * Performs a query and computes some value from the result
32 * @return The result of the query.
37 * Runs the query against the database and passes the result to the consumer.
40 A result = performQuery(db);
41 consumer.consume(result);
H A DNoOpConsumer.java25 public boolean consume(A result) { argument
26 // Tell the caller that we haven't taken ownership of this result.
/packages/apps/Mms/src/com/android/mms/dom/smil/
H A DTimeImpl.java132 float result = 0;
139 result = parseFloat(clockValue, 2, true);
141 result = 1000*parseFloat(clockValue, 1, true);
143 result = 60000*parseFloat(clockValue, 3, true);
145 result = 3600000*parseFloat(clockValue, 1, true);
162 result = 3600000*(int)parseFloat(timeValues[0], 0, false);
171 result += 60000*minutes;
179 result += 60000*seconds;
185 return result;
211 float result;
[all...]
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/
H A DBinaryDictInputOutputTest.java51 final ArrayList<Node> result = BinaryDictInputOutput.flattenTree(dict.mRoot);
52 assertEquals(4, result.size());
53 while (!result.isEmpty()) {
54 final Node n = result.remove(0);
55 assertFalse("Flattened array contained the same node twice", result.contains(n));
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
H A Dneapi.c24 static NJ_INT16 set_previous_selection(NJ_CLASS *iwnn, NJ_RESULT *result);
25 static NJ_INT16 set_learn_word_info(NJ_CLASS *iwnn, NJ_LEARN_WORD_INFO *lword, NJ_RESULT *result);
70 NJ_EXTERN NJ_INT16 njx_get_candidate(NJ_CLASS *iwnn, NJ_RESULT *result, NJ_CHAR *buf, NJ_UINT16 buf_size) { argument
78 if (result == NULL) {
86 switch (NJ_GET_RESULT_OP(result->operation_id)) {
88 ret = njd_get_candidate(iwnn, result, buf, buf_size);
100 NJ_EXTERN NJ_INT16 njx_get_stroke(NJ_CLASS *iwnn, NJ_RESULT *result, NJ_CHAR *buf, NJ_UINT16 buf_size) { argument
108 if (result == NULL) {
116 switch (NJ_GET_RESULT_OP(result->operation_id)) {
118 ret = njd_get_stroke(iwnn, result, bu
130 set_previous_selection(NJ_CLASS *iwnn, NJ_RESULT *result) argument
150 set_learn_word_info(NJ_CLASS *iwnn, NJ_LEARN_WORD_INFO *lword, NJ_RESULT *result) argument
[all...]
/packages/apps/Nfc/nxp/jni/
H A Dcom_android_nfc_list.cpp58 bool result; local
64 result = false;
93 result = true;
97 return result;
104 bool result; local
112 result = false;
140 result = false;
156 result = true;
160 return result;
166 bool result; local
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSuggestionData.java26 * Holds data for each suggest item including the display data and how to launch the result.
223 int result = 1;
224 result = prime * result + ((mFormat == null) ? 0 : mFormat.hashCode());
225 result = prime * result + ((mIcon1 == null) ? 0 : mIcon1.hashCode());
226 result = prime * result + ((mIcon2 == null) ? 0 : mIcon2.hashCode());
227 result = prime * result
[all...]
/packages/apps/Contacts/src/com/android/contacts/calllog/
H A DContactInfo.java48 int result = 1;
49 result = prime * result + ((lookupUri == null) ? 0 : lookupUri.hashCode());
50 result = prime * result + ((name == null) ? 0 : name.hashCode());
51 return result;
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/
H A DMockSet.java51 ArrayList<MediaItem> result = new ArrayList<MediaItem>();
55 result.add(mItems.get(i));
57 return result;
72 int result = mItems.size();
74 result += s.getTotalMediaItemCount();
76 return result;
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadDrmHelper.java42 boolean result = false;
47 result = drmClient.canHandle("", mimetype);
56 return result;
96 String result = containingMime;
100 result = drmClient.getOriginalMimeType(path);
108 return result;
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
H A DPointerInfo.java88 ByteBuffer result = null;
96 result = ByteBuffer.allocate(byteCount).order(input2.order());
98 result.put(input2.get());
107 result = ByteBuffer.allocate(byteCount).order(input2.order());
108 CharBuffer result2 = result.asCharBuffer();
119 result = ByteBuffer.allocate(byteCount).order(input2.order());
120 ShortBuffer result2 = result.asShortBuffer();
131 result = ByteBuffer.allocate(byteCount).order(input2.order());
132 IntBuffer result2 = result.asIntBuffer();
143 result
183 getArrayElement(int index, double[] result) argument
[all...]
/packages/apps/Gallery2/tests/src/com/android/gallery3d/util/
H A DIntArrayTest.java45 int[] result = a.toArray(buf);
46 assertSame(buf, result);
54 result = b.toArray(buf);
55 assertEquals(100, result.length);
57 assertEquals(i * i, result[i]);
/packages/apps/Contacts/src/com/android/contacts/dialpad/
H A DUnicodeDialerKeyListener.java38 CharSequence result = super.filter(converted, start, end, dest, dstart, dend);
39 if (result == null) {
48 // result == null we return the unfiltered but converted numeric string instead.
52 return result;

Completed in 702 milliseconds

1234567891011>>