/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
H A D | db_utilities_indexing.cpp | 36 void db_LeanPartitionOnPivot(double pivot,double *dest,const double *source,long first,long last,long *first_equal,long *last_equal) argument 44 s_point=source+first; 46 d_bottom=dest+first; 61 long first=0; local 76 for(;last-first>2;) 78 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]); 79 db_LeanPartitionOnPivot(pivot,dest,source,first,last,&first_equal,&last_equal); 82 else if(last_equal<pos) first=last_equal+1; 95 pivot=db_TripleMedian(source[first],sourc [all...] |
/packages/apps/Email/src/com/android/email/mail/store/imap/ |
H A D | ImapUtility.java | 108 int first = Integer.parseInt(range.substring(0, colonPos)); 110 if (first < second) { 111 for (int i = first; i <= second; i++) { 115 for (int i = first; i >= second; i--) {
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
H A D | EntityDeltaListTests.java | 360 final EntityDeltaList first = buildSet(buildBeforeEntity(CONTACT_BOB, VER_FIRST, 366 final EntityDeltaList merged = EntityDeltaList.mergeAfter(second, first); 371 final EntityDeltaList first = buildSet(buildBeforeEntity(CONTACT_BOB, VER_FIRST, 377 final ValuesDelta phone = getPhone(first, CONTACT_BOB, PHONE_RED); 380 assertDiffPattern(first, 387 final EntityDeltaList merged = EntityDeltaList.mergeAfter(second, first); 396 final EntityDeltaList first = buildSet(buildBeforeEntity(CONTACT_BOB, VER_FIRST, 402 final ValuesDelta phone = getPhone(first, CONTACT_BOB, PHONE_RED); 405 assertDiffPattern(first, 413 final EntityDeltaList merged = EntityDeltaList.mergeAfter(second, first); [all...] |
H A D | EntityModifierTests.java | 216 // Add first home, first work 259 // Add first home, first work 296 // Add first home, should now suggest work 582 final ContentValues first = new ContentValues(); 583 first.put(Data._ID, TEST_ID); 584 first.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); 585 first.put(kindPhone.typeColumn, typeHome.rawValue); 586 first [all...] |
/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/ |
H A D | MimeBoundaryInputStream.java | 41 private boolean first = true;
field in class:MimeBoundaryInputStream 121 if (first) {
122 first = false;
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
H A D | CSite.h | 28 short first; member in struct:__anon1
|
H A D | Blend.cpp | 114 else // For WIDE strip mode, first select the relevant frames to blend. 437 // from the first image, then go to 50% contribution from each image at 1132 double dx = (m_AllSites[ce->second].getVCenter().x - m_AllSites[ce->first].getVCenter().x); 1133 double dy = (m_AllSites[ce->second].getVCenter().y - m_AllSites[ce->first].getVCenter().y); 1134 double xmid = m_AllSites[ce->first].getVCenter().x + dx/2.0; 1135 double ymid = m_AllSites[ce->first].getVCenter().y + dy/2.0; 1195 MosaicFrame *first = frames[0]; local 1199 double fxpos = first->trs[0][2], fypos = first->trs[1][2]; 1203 double z = ProjZ(first 1248 MosaicFrame *first = frames[0]; local [all...] |
H A D | Delaunay.cpp | 310 return (ev[i].first - ev[j].first); 611 if ((int) fabs(sa[currv->first].getVCenter().x - sa[currv->second].getVCenter().x) <= width && 612 (int) fabs(sa[currv->first].getVCenter().y - sa[currv->second].getVCenter().y) <= height) { 629 for (; edge->first == i && nedge; edge++, nedge--) {
|
/packages/apps/Music/src/com/android/music/ |
H A D | IMediaPlaybackService.aidl | 49 int removeTracks(int first, int last);
|
H A D | MediaPlaybackService.java | 858 * the first track. 859 * If the action is NOW, playback will switch to the first of 1098 // if we are at the end of the song, go to the next song first 1493 * @param first The first file to be removed 1497 public int removeTracks(int first, int last) { argument 1498 int numremoved = removeTracksInternal(first, last); 1505 private int removeTracksInternal(int first, int last) { argument 1507 if (last < first) return 0; 1508 if (first < 1998 removeTracks(int first, int last) argument [all...] |
H A D | TouchInterceptor.java | 256 View first = getChildAt(mSrcDragPos - getFirstVisiblePosition()); 268 if (vv.equals(first)) { 273 } else if (vv.equals(first)) {
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/ |
H A D | GLCanvasTest.java | 194 public void glDrawArrays(int mode, int first, int count) { argument 201 mGLVertexPointer.getArrayElement(first, coord); 204 mGLVertexPointer.getArrayElement(first + 1, coord); 238 public void glDrawArrays(int mode, int first, int count) { argument 246 mGLVertexPointer.getArrayElement(first + i, coord); 307 public void glDrawArrays(int mode, int first, int count) { argument 545 public void glDrawArrays(int mode, int first, int count) { argument 552 mGLVertexPointer.getArrayElement(first, coord); 555 mGLVertexPointer.getArrayElement(first + 1, coord);
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/ |
H A D | LocalDataTest.java | 141 insertImageData(db, 3000, 0xB001, "first"); // id 3 150 MediaSet first = mAlbumSet.getSubMediaSet(0); 151 assertEquals(1, first.getMediaItemCount()); 152 LocalMediaItem item = (LocalMediaItem) first.getMediaItem(0, 1).get(0); 190 insertImageData(db, 3000, 0xB001, "first"); // id 3 320 insertVideoData(db, 3000, 0xB001, "first"); // id 3 329 MediaSet first = mAlbumSet.getSubMediaSet(0); 330 assertEquals(1, first.getMediaItemCount()); 331 LocalMediaItem item = (LocalMediaItem) first.getMediaItem(0, 1).get(0);
|
/packages/inputmethods/LatinIME/native/src/ |
H A D | unigram_dictionary.h | 128 static const struct digraph_t { int first; int second; } GERMAN_UMLAUT_DIGRAPHS[]; member in struct:latinime::UnigramDictionary::digraph_t
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
H A D | VpnDialog.java | 303 String first = (firstId == 0) ? "" : context.getString(firstId); 307 certificates = new String[] {first}; 310 array[0] = first;
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | HtmlUtils.java | 150 public int getLeadingMargin(boolean first) { argument
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
H A D | ExportOptionsDialog.java | 117 sizeAdapter.add(supportedSizes[i].first + "x" + supportedSizes[i].second);
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | AsyncQueryServiceHelper.java | 258 OperationInfo first = sWorkQueue.peek(); 259 long waitTime = first.mScheduledTimeMillis - SystemClock.elapsedRealtime(); 291 * filled, which will make the first access on the main
|
H A D | CalendarController.java | 436 // Handle the 'first' one before handling the others 439 && !mToBeRemovedEventHandlers.contains(mFirstEventHandler.first)) { 448 if (mFirstEventHandler != null && key == mFirstEventHandler.first) { 449 // If this was the 'first' handler it was already handled 471 if (mFirstEventHandler != null && zombie.equals(mFirstEventHandler.first)) { 563 if (mFirstEventHandler != null && mFirstEventHandler.first == key) {
|
/packages/apps/Email/src/com/android/email/mail/store/ |
H A D | Pop3Store.java | 568 char first = response.charAt(0); 569 if (first == '+') { 581 } else if (first == '-') { 600 char first = response.charAt(0); 601 if (first == '.') {
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | AccountCheckSettingsFragment.java | 155 // If this is the first time, start the AsyncTask 639 boolean first = true; 641 if (first) { 642 first = false;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | Suggest.java | 263 private CharSequence capitalizeWord(boolean all, boolean first, CharSequence word) { argument 264 if (TextUtils.isEmpty(word) || !(all || first)) return word; 270 } else if (first) { 312 // At first character typed, search only the bigrams 331 // Word entered: return only bigrams that match the first char of the typed word
|
/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/field/address/parser/ |
H A D | AddressListParser.java | 803 if (c.gen < jj_gen) c.first = null; 948 jj_la = p.arg; jj_lastpos = jj_scanpos = p.first; 967 p.gen = jj_gen + xla - jj_la; p.first = token; p.arg = xla; 972 Token first; field in class:AddressListParser.JJCalls
|
/packages/apps/Mms/src/com/android/mms/data/ |
H A D | Contact.java | 610 boolean first = true; 614 if (first) { 615 first = false; 623 if (first) return null; 658 // Do the quick check first.
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
H A D | ndapi.c | 189 NJ_INT32 i, next, first; local 200 first= 0; 239 first = 1; 336 if ((!first) ||
|