Searched refs:first (Results 1 - 25 of 67) sorted by relevance

123

/packages/apps/Camera/jni/feature_stab/db_vlvm/
H A Ddb_utilities_indexing.cpp36 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/Gallery2/jni_mosaic/feature_stab/db_vlvm/
H A Ddb_utilities_indexing.cpp36 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/LegacyCamera/jni/feature_stab/db_vlvm/
H A Ddb_utilities_indexing.cpp36 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 DImapUtility.java108 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 DRawContactDeltaListTests.java360 final RawContactDeltaList first = buildSet(buildBeforeEntity(mContext, CONTACT_BOB,
366 final RawContactDeltaList merged = RawContactDeltaList.mergeAfter(second, first);
371 final RawContactDeltaList first = buildSet(buildBeforeEntity(mContext, CONTACT_BOB,
377 final ValuesDelta phone = getPhone(first, CONTACT_BOB, PHONE_RED);
380 assertDiffPattern(first,
387 final RawContactDeltaList merged = RawContactDeltaList.mergeAfter(second, first);
396 final RawContactDeltaList first = buildSet(buildBeforeEntity(mContext, CONTACT_BOB,
402 final ValuesDelta phone = getPhone(first, CONTACT_BOB, PHONE_RED);
405 assertDiffPattern(first,
413 final RawContactDeltaList merged = RawContactDeltaList.mergeAfter(second, first);
[all...]
H A DRawContactModifierTests.java215 // Add first home, first work
258 // Add first home, first work
295 // Add first home, should now suggest work
586 final ContentValues first = new ContentValues();
587 first.put(Data._ID, TEST_ID);
588 first.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE);
589 first.put(kindPhone.typeColumn, typeHome.rawValue);
590 first
[all...]
/packages/apps/Email/src/org/apache/james/mime4j/
H A DMimeBoundaryInputStream.java41 private boolean first = true; field in class:MimeBoundaryInputStream
121 if (first) {
122 first = false;
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DThreadingTest.java80 d.first.waitForStatus(DownloadManager.STATUS_SUCCESSFUL, startMillis);
87 final String file = d.first.getStringField(DownloadManager.COLUMN_LOCAL_FILENAME);
93 final String actual = d.first.getContents();
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DCSite.h28 short first; member in struct:__anon1
H A DBlend.cpp114 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
1152 double dx = (m_AllSites[ce->second].getVCenter().x - m_AllSites[ce->first].getVCenter().x);
1153 double dy = (m_AllSites[ce->second].getVCenter().y - m_AllSites[ce->first].getVCenter().y);
1154 double xmid = m_AllSites[ce->first].getVCenter().x + dx/2.0;
1155 double ymid = m_AllSites[ce->first].getVCenter().y + dy/2.0;
1215 MosaicFrame *first = frames[0]; local
1219 double fxpos = first->trs[0][2], fypos = first->trs[1][2];
1223 double z = ProjZ(first
1268 MosaicFrame *first = frames[0]; local
[all...]
/packages/apps/Gallery2/jni_mosaic/feature_mos/src/mosaic/
H A DCSite.h28 short first; member in struct:__anon8
H A DBlend.cpp114 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
1152 double dx = (m_AllSites[ce->second].getVCenter().x - m_AllSites[ce->first].getVCenter().x);
1153 double dy = (m_AllSites[ce->second].getVCenter().y - m_AllSites[ce->first].getVCenter().y);
1154 double xmid = m_AllSites[ce->first].getVCenter().x + dx/2.0;
1155 double ymid = m_AllSites[ce->first].getVCenter().y + dy/2.0;
1215 MosaicFrame *first = frames[0]; local
1219 double fxpos = first->trs[0][2], fypos = first->trs[1][2];
1223 double z = ProjZ(first
1268 MosaicFrame *first = frames[0]; local
[all...]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DCSite.h28 short first; member in struct:__anon15
H A DBlend.cpp114 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...]
/packages/apps/Music/src/com/android/music/
H A DIMediaPlaybackService.aidl49 int removeTracks(int first, int last);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DDeferredHandler.java48 r = p.first;
130 p.first.run();
137 Runnable peek = p.first;
/packages/inputmethods/LatinIME/native/jni/src/
H A Ddigraph_utils.h36 typedef struct { int first; int second; int compositeGlyph; } digraph_t; member in struct:latinime::DigraphUtils::__anon30
H A Ddigraph_utils.cpp64 // (which specifies the first or second codepoint in the digraph).
76 return digraph->first;
/packages/apps/Phone/src/com/android/phone/
H A DAnimationUtils.java181 Drawable first = getDrawable(0);
185 first.setAlpha(mCrossFadeAlpha);
186 first.draw(canvas);
187 first.setAlpha(255);
198 private static CrossFadeDrawable newCrossFadeDrawable(Drawable first, Drawable second) { argument
200 layers[0] = first;
/packages/apps/Gallery2/tests/src/com/android/gallery3d/glrenderer/
H A DGLCanvasTest.java174 public void glDrawArrays(int mode, int first, int count) { argument
181 mGLVertexPointer.getArrayElement(first, coord);
184 mGLVertexPointer.getArrayElement(first + 1, coord);
218 public void glDrawArrays(int mode, int first, int count) { argument
226 mGLVertexPointer.getArrayElement(first + i, coord);
287 public void glDrawArrays(int mode, int first, int count) { argument
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DGlobalDismissManager.java119 if (GOOGLE_ACCOUNT_TYPE.equals(accountPair.first)) {
201 if (GOOGLE_ACCOUNT_TYPE.equals(account.first)) {
202 Uri uri = asSync(Events.CONTENT_URI, account.first, account.second);
264 boolean first = true;
266 if (first) {
267 first = false;
345 Context context = params[0].first;
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/
H A DLocalDataTest.java141 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/apps/Gallery2/src/com/android/photos/data/
H A DPhotoDatabase.java139 boolean first = true;
141 if (!first) {
144 first = false;
/packages/apps/Settings/src/com/android/settings/tts/
H A DTtsEngineSettingsFragment.java226 return lhs.first.compareToIgnoreCase(rhs.first);
239 entries[i] = entry.first;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
H A DHistoryAdapter.java118 ImagePreset first = getItem(getCount() - 1);
120 addHistoryItem(first);

Completed in 1586 milliseconds

123