/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
D | db_utilities_indexing.cpp | 36 void db_LeanPartitionOnPivot(double pivot,double *dest,const double *source,long first,long last,lo… in db_LeanPartitionOnPivot() argument 44 s_point=source+first; in db_LeanPartitionOnPivot() 46 d_bottom=dest+first; in db_LeanPartitionOnPivot() 61 long first=0; in db_LeanQuickSelect() local 76 for(;last-first>2;) in db_LeanQuickSelect() 78 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]); in db_LeanQuickSelect() 79 db_LeanPartitionOnPivot(pivot,dest,source,first,last,&first_equal,&last_equal); in db_LeanQuickSelect() 82 else if(last_equal<pos) first=last_equal+1; in db_LeanQuickSelect() 95 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]); in db_LeanQuickSelect()
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities_indexing.cpp | 36 void db_LeanPartitionOnPivot(double pivot,double *dest,const double *source,long first,long last,lo… in db_LeanPartitionOnPivot() argument 44 s_point=source+first; in db_LeanPartitionOnPivot() 46 d_bottom=dest+first; in db_LeanPartitionOnPivot() 61 long first=0; in db_LeanQuickSelect() local 76 for(;last-first>2;) in db_LeanQuickSelect() 78 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]); in db_LeanQuickSelect() 79 db_LeanPartitionOnPivot(pivot,dest,source,first,last,&first_equal,&last_equal); in db_LeanQuickSelect() 82 else if(last_equal<pos) first=last_equal+1; in db_LeanQuickSelect() 95 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]); in db_LeanQuickSelect()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | RawContactDeltaListTests.java | 361 final RawContactDeltaList first = buildSet(buildBeforeEntity(mContext, CONTACT_BOB, in testMergeDataRemoteInsert() local 367 final RawContactDeltaList merged = RawContactDeltaList.mergeAfter(second, first); in testMergeDataRemoteInsert() 372 final RawContactDeltaList first = buildSet(buildBeforeEntity(mContext, CONTACT_BOB, in testMergeDataLocalUpdateRemoteInsert() local 378 final ValuesDelta phone = getPhone(first, CONTACT_BOB, PHONE_RED); in testMergeDataLocalUpdateRemoteInsert() 381 assertDiffPattern(first, in testMergeDataLocalUpdateRemoteInsert() 388 final RawContactDeltaList merged = RawContactDeltaList.mergeAfter(second, first); in testMergeDataLocalUpdateRemoteInsert() 397 final RawContactDeltaList first = buildSet(buildBeforeEntity(mContext, CONTACT_BOB, in testMergeDataLocalUpdateRemoteDelete() local 403 final ValuesDelta phone = getPhone(first, CONTACT_BOB, PHONE_RED); in testMergeDataLocalUpdateRemoteDelete() 406 assertDiffPattern(first, in testMergeDataLocalUpdateRemoteDelete() 414 final RawContactDeltaList merged = RawContactDeltaList.mergeAfter(second, first); in testMergeDataLocalUpdateRemoteDelete() [all …]
|
D | RawContactModifierTests.java | 586 final ContentValues first = new ContentValues(); in testTrimUpdateRemain() local 587 first.put(Data._ID, TEST_ID); in testTrimUpdateRemain() 588 first.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testTrimUpdateRemain() 589 first.put(kindPhone.typeColumn, typeHome.rawValue); in testTrimUpdateRemain() 590 first.put(Phone.NUMBER, TEST_PHONE); in testTrimUpdateRemain() 598 final RawContactDelta state = getRawContact(TEST_ID, first, second); in testTrimUpdateRemain() 657 final ContentValues first = new ContentValues(); in testTrimUpdateUpdate() local 658 first.put(Data._ID, TEST_ID); in testTrimUpdateUpdate() 659 first.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testTrimUpdateUpdate() 660 first.put(kindPhone.typeColumn, typeHome.rawValue); in testTrimUpdateUpdate() [all …]
|
/packages/apps/Email/src/com/android/email/mail/store/imap/ |
D | ImapUtility.java | 108 int first = Integer.parseInt(range.substring(0, colonPos)); in getImapRangeValues() local 110 if (first < second) { in getImapRangeValues() 111 for (int i = first; i <= second; i++) { in getImapRangeValues() 115 for (int i = first; i >= second; i--) { in getImapRangeValues()
|
/packages/apps/Phone/src/com/android/phone/ |
D | AnimationUtils.java | 181 Drawable first = getDrawable(0); in draw() local 185 first.setAlpha(mCrossFadeAlpha); in draw() 186 first.draw(canvas); in draw() 187 first.setAlpha(255); in draw() 198 private static CrossFadeDrawable newCrossFadeDrawable(Drawable first, Drawable second) { in newCrossFadeDrawable() argument 200 layers[0] = first; in newCrossFadeDrawable()
|
/packages/apps/Email/src/org/apache/james/mime4j/ |
D | MimeBoundaryInputStream.java | 41 private boolean first = true; field in MimeBoundaryInputStream 121 if (first) { in read() 122 first = false; in read()
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/ |
D | GLCanvasTest.java | 174 public void glDrawArrays(int mode, int first, int count) { in glDrawArrays() argument 181 mGLVertexPointer.getArrayElement(first, coord); in glDrawArrays() 184 mGLVertexPointer.getArrayElement(first + 1, coord); in glDrawArrays() 218 public void glDrawArrays(int mode, int first, int count) { in glDrawArrays() argument 226 mGLVertexPointer.getArrayElement(first + i, coord); in glDrawArrays() 287 public void glDrawArrays(int mode, int first, int count) { in glDrawArrays() argument
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | DeferredHandler.java | 48 r = p.first; in handleMessage() 130 p.first.run(); in flush() 137 Runnable peek = p.first; in scheduleNextLocked()
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/ |
D | LocalDataTest.java | 150 MediaSet first = mAlbumSet.getSubMediaSet(0); in verifyResult() local 151 assertEquals(1, first.getMediaItemCount()); in verifyResult() 152 LocalMediaItem item = (LocalMediaItem) first.getMediaItem(0, 1).get(0); in verifyResult() 329 MediaSet first = mAlbumSet.getSubMediaSet(0); in verifyResult() local 330 assertEquals(1, first.getMediaItemCount()); in verifyResult() 331 LocalMediaItem item = (LocalMediaItem) first.getMediaItem(0, 1).get(0); in verifyResult()
|
/packages/inputmethods/OpenWnn/ |
D | ChangeLog.txt | 72 The first release implemented following features: 87 The first release implemented following features: 94 The first release implemented following features:
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Blend.cpp | 1132 double dx = (m_AllSites[ce->second].getVCenter().x - m_AllSites[ce->first].getVCenter().x); in ClipBlendRect() 1133 double dy = (m_AllSites[ce->second].getVCenter().y - m_AllSites[ce->first].getVCenter().y); in ClipBlendRect() 1134 double xmid = m_AllSites[ce->first].getVCenter().x + dx/2.0; in ClipBlendRect() 1135 double ymid = m_AllSites[ce->first].getVCenter().y + dy/2.0; in ClipBlendRect() 1195 MosaicFrame *first = frames[0]; in SelectRelevantFrames() local 1199 double fxpos = first->trs[0][2], fypos = first->trs[1][2]; in SelectRelevantFrames() 1203 double z = ProjZ(first->trs, midX, midY, 1.0); in SelectRelevantFrames() 1205 double prevX = firstX = ProjX(first->trs, midX, midY, z, 1.0); in SelectRelevantFrames() 1206 double prevY = firstY = ProjY(first->trs, midX, midY, z, 1.0); in SelectRelevantFrames() 1208 relevant_frames[0] = first; // Add first frame by default in SelectRelevantFrames() [all …]
|
D | CSite.h | 28 short first; member
|
D | Delaunay.cpp | 310 return (ev[i].first - ev[j].first); in cmpev() 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/Camera/jni/feature_mos/src/mosaic/ |
D | Blend.cpp | 1152 double dx = (m_AllSites[ce->second].getVCenter().x - m_AllSites[ce->first].getVCenter().x); in ClipBlendRect() 1153 double dy = (m_AllSites[ce->second].getVCenter().y - m_AllSites[ce->first].getVCenter().y); in ClipBlendRect() 1154 double xmid = m_AllSites[ce->first].getVCenter().x + dx/2.0; in ClipBlendRect() 1155 double ymid = m_AllSites[ce->first].getVCenter().y + dy/2.0; in ClipBlendRect() 1215 MosaicFrame *first = frames[0]; in SelectRelevantFrames() local 1219 double fxpos = first->trs[0][2], fypos = first->trs[1][2]; in SelectRelevantFrames() 1223 double z = ProjZ(first->trs, midX, midY, 1.0); in SelectRelevantFrames() 1225 double prevX = firstX = ProjX(first->trs, midX, midY, z, 1.0); in SelectRelevantFrames() 1226 double prevY = firstY = ProjY(first->trs, midX, midY, z, 1.0); in SelectRelevantFrames() 1228 relevant_frames[0] = first; // Add first frame by default in SelectRelevantFrames() [all …]
|
D | CSite.h | 28 short first; member
|
D | Delaunay.cpp | 310 return (ev[i].first - ev[j].first); in cmpev() 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/ |
D | MediaPlaybackService.java | 1573 public int removeTracks(int first, int last) { in removeTracks() argument 1574 int numremoved = removeTracksInternal(first, last); in removeTracks() 1581 private int removeTracksInternal(int first, int last) { in removeTracksInternal() argument 1583 if (last < first) return 0; in removeTracksInternal() 1584 if (first < 0) first = 0; in removeTracksInternal() 1588 if (first <= mPlayPos && mPlayPos <= last) { in removeTracksInternal() 1589 mPlayPos = first; in removeTracksInternal() 1592 mPlayPos -= (last - first + 1); in removeTracksInternal() 1596 mPlayList[first + i] = mPlayList[last + 1 + i]; in removeTracksInternal() 1598 mPlayListLen -= last - first + 1; in removeTracksInternal() [all …]
|
D | IMediaPlaybackService.aidl | 49 int removeTracks(int first, int last); in removeTracks() argument
|
/packages/apps/Settings/src/com/android/settings/tts/ |
D | TtsEngineSettingsFragment.java | 227 return lhs.first.compareToIgnoreCase(rhs.first); in updateDefaultLocalePref() 240 entries[i] = entry.first; in updateDefaultLocalePref()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | EventLogTags.logtags | 5 # logged on the first P2P sharing event
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | PositionController.java | 1077 int first, last; in moveBox() local 1078 for (first = -BOX_MAX; first <= BOX_MAX; first++) { in moveBox() 1079 if (from.get(first) != Integer.MAX_VALUE) break; in moveBox() 1086 if (first > BOX_MAX) { in moveBox() 1088 first = last = 0; in moveBox() 1096 for (int i = Math.max(0, first + 1); i < last; i++) { in moveBox() 1112 for (int i = Math.min(-1, last - 1); i > first; i--) { in moveBox() 1139 if (i >= first && i < last) { in moveBox() 1149 for (int i = first - 1; i >= -BOX_MAX; i--) { in moveBox()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
D | HistoryAdapter.java | 105 ImagePreset first = getItem(getCount() - 1); in reset() local 107 addHistoryItem(first); in reset()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | Suggest.java | 209 } else if (SuggestedWordInfo.KIND_WHITELIST != suggestionsSet.first().mKind) { in getSuggestedWordsForTypingInput() 212 whitelistedWord = suggestionsSet.first().mWord; in getSuggestedWordsForTypingInput() 241 suggestionsSet.first(), consideredWord, mAutoCorrectionThreshold); in getSuggestedWordsForTypingInput()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppManager.java | 162 if (V) Log.v(TAG, "Cleaning out whitelist entry " + entry.first); in cleanupWhitelist() 173 if (entry.first.equals(address)) { in addToWhitelist() 183 if (entry.first.equals(address)) return true; in isWhitelisted()
|