/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 45 s_top=source+last; in db_LeanPartitionOnPivot() 47 d_top=dest+last; in db_LeanPartitionOnPivot() 62 long last=nr_elements-1; 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() 81 if(first_equal>pos) last=first_equal-1; in db_LeanQuickSelect() 95 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]); in db_LeanQuickSelect()
|
D | db_feature_detection.cpp | 706 int x,next_x,last,right; in db_HarrisStrength_f() local 708 last=w-4; in db_HarrisStrength_f() 709 for(x=3;x<=last;x=next_x) in db_HarrisStrength_f() 713 if(right>last) right=last; in db_HarrisStrength_f() 729 int x,next_x,last; in db_HarrisStrength_u() local 732 last=w-4; in db_HarrisStrength_u() 733 for(x=3;x<=last;x=next_x) in db_HarrisStrength_u() 738 nc = db_mini(128,last-x+1); in db_HarrisStrength_u()
|
/packages/experimental/procstatlog/ |
D | procstatreport.py | 178 last = last_state.get("/proc/stat:cpu", "").split() 180 if last and next: 181 stime = sum([int(next[x]) - int(last[x]) for x in [2, 5, 6]]) 182 utime = sum([int(next[x]) - int(last[x]) for x in [0, 1]]) 183 idle = sum([int(next[x]) - int(last[x]) for x in [3, 4]]) 227 last = int(last_state.get(key, -1)) 229 if last != -1 and next != -1: 231 total_time += next - last 232 total_cycles += (next - last) * speed 263 last = int(last_state.get("/proc/stat:ctxt", -1)) [all …]
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
D | Blend.cpp | 1162 MosaicFrame *last = frames[frames_size-1]; in SelectRelevantFrames() local 1167 double midX = last->width / 2.0; in SelectRelevantFrames() 1168 double midY = last->height / 2.0; in SelectRelevantFrames() 1188 if (fabs(deltaX) > STRIP_SEPARATION_THRESHOLD * last->width || in SelectRelevantFrames() 1189 fabs(deltaY) > STRIP_SEPARATION_THRESHOLD * last->height) in SelectRelevantFrames() 1200 relevant_frames[relevant_frames_size] = last; in SelectRelevantFrames() 1215 MosaicFrame *last = frames[frames_size-1]; in ComputeBlendParameters() local 1218 double lxpos = last->trs[0][2], lypos = last->trs[1][2]; in ComputeBlendParameters() 1223 double midX = last->width / 2.0; in ComputeBlendParameters() 1224 double midY = last->height / 2.0; in ComputeBlendParameters() [all …]
|
D | Delaunay.cpp | 590 int CDelaunay::constructList(EdgePointer last, int width, int height) argument 596 c = (int) ((curr = (EdgePointer) ((last & ~3))) >> 1); 598 for (last -= 4; last >= 0; last -= 4) { 599 src = orig(last); 600 nex = dest(last);
|
D | Pyramid.h | 42 static void createPyramid(ImageType image, PyramidShort *pyramid, int last = 3 );
|
D | Pyramid.cpp | 38 PyramidShort *curr, *last; in allocatePyramidPacked() local 41 for (last = (curr = img) + levels; curr < last; curr++) { in allocatePyramidPacked()
|
/packages/inputmethods/LatinIME/tools/makedict/src/com/android/inputmethod/latin/ |
D | BinaryDictInputOutput.java | 871 CharGroupInfo last = null; in getWordAtAddress() local 882 if (null == last) continue; in getWordAtAddress() 883 builder.append(new String(last.mCharacters, 0, last.mCharacters.length)); in getWordAtAddress() 884 source.seek(last.mChildrenAddress + headerSize); in getWordAtAddress() 885 groupOffset = last.mChildrenAddress + 1; in getWordAtAddress() 887 last = null; in getWordAtAddress() 890 last = info; in getWordAtAddress() 892 if (0 == i && hasChildrenAddress(last.mChildrenAddress)) { in getWordAtAddress() 893 builder.append(new String(last.mCharacters, 0, last.mCharacters.length)); in getWordAtAddress() 894 source.seek(last.mChildrenAddress + headerSize); in getWordAtAddress() [all …]
|
/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
D | SimpleIcsWriterTests.java | 61 for (String last : new String[] {UTF8_1_BYTE, UTF8_2_BYTES, UTF8_3_BYTES, UTF8_4_BYTES}) { in testWriteLine() 63 String input = stringOfLength(i) + last; in testWriteLine()
|
/packages/apps/Music/src/com/android/music/ |
D | RepeatingImageButton.java | 121 private void doRepeat(boolean last) { in doRepeat() argument 124 mListener.onRepeat(this, now - mStartTime, last ? -1 : mRepeatCount++); in doRepeat()
|
D | MediaPlaybackService.java | 1497 public int removeTracks(int first, int last) { in removeTracks() argument 1498 int numremoved = removeTracksInternal(first, last); in removeTracks() 1505 private int removeTracksInternal(int first, int last) { in removeTracksInternal() argument 1507 if (last < first) return 0; in removeTracksInternal() 1509 if (last >= mPlayListLen) last = mPlayListLen - 1; in removeTracksInternal() 1512 if (first <= mPlayPos && mPlayPos <= last) { in removeTracksInternal() 1515 } else if (mPlayPos > last) { in removeTracksInternal() 1516 mPlayPos -= (last - first + 1); in removeTracksInternal() 1518 int num = mPlayListLen - last - 1; in removeTracksInternal() 1520 mPlayList[first + i] = mPlayList[last + 1 + i]; in removeTracksInternal() [all …]
|
D | IMediaPlaybackService.aidl | 49 int removeTracks(int first, int last); in removeTracks() argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | NinePatchTexture.java | 264 int last = 0; in stretch() local 266 if ((x[i] - x[last]) < 1f) continue; in stretch() 267 x[++last] = x[i]; in stretch() 268 u[last] = u[i]; in stretch() 270 return last + 1; in stretch()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | ComposingText.java | 177 StrSegment last = strUplayer.get(strUplayer.size() - 1); in modifyUpper() local 178 if (last.to < mod_from) { in modifyUpper() 180 last.to = mod_to; in modifyUpper() 181 last.string = toString(layer, last.from, last.to); in modifyUpper()
|
D | UserDictionaryToolsList.java | 690 int last = (start + MAX_LIST_WORD_COUNT); in updateWordList() local 691 t.setText((start + 1) + " - " + Math.min(last, size)); in updateWordList() 694 mRightButton.setEnabled(last < size); in updateWordList()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | TextUtilities.java | 378 char last = ' '; in makeSnippetFromText() local 435 if (last == ' ') { in makeSnippetFromText() 441 } else if ((c == '-' || c == '=') && (last == c)) { in makeSnippetFromText() 449 last = c; in makeSnippetFromText() 453 if ((bufferCount > 0) && (last == ' ')) { in makeSnippetFromText()
|
/packages/apps/Camera/jni/feature_stab/src/dbreg/ |
D | dbreg.cpp | 658 int i = 0, last=0; in SetOutlierThreshold() local 661 if ( last > m_cost_histogram[i] ) in SetOutlierThreshold() 663 last = m_cost_histogram[i]; in SetOutlierThreshold() 675 last = m_cost_histogram[i]; in SetOutlierThreshold()
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaWindowAdapter.java | 969 DayAdapterInfo last = mAdapterInfos.getLast(); in onQueryComplete() local 975 if (querySpec.start <= last.end + 1 && last.end < querySpec.end) { in onQueryComplete() 976 last.end = querySpec.end; in onQueryComplete() 980 totalAgendaRangeEnd = last.end; in onQueryComplete()
|
/packages/apps/Camera/src/com/android/camera/panorama/ |
D | PanoramaActivity.java | 399 int last = frameRates.size() - 1; in setupCaptureParams() local 400 int minFps = (frameRates.get(last))[Parameters.PREVIEW_FPS_MIN_INDEX]; in setupCaptureParams() 401 int maxFps = (frameRates.get(last))[Parameters.PREVIEW_FPS_MAX_INDEX]; in setupCaptureParams()
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
D | ImapStoreUnitTests.java | 653 String last = imapIdResponse[imapIdResponse.length-1]; in expectLogin() local 654 last = expectedNextTag + " " + last; in expectLogin() 655 imapIdResponse[imapIdResponse.length-1] = last; in expectLogin()
|
/packages/apps/Settings/src/com/android/settings/ |
D | AccessibilityTutorialActivity.java | 393 final int last = mAllApps.getLastVisiblePosition(); in onShown() local
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 2708 long last = calculateLastDate(values); in updateLastDate() local 2709 if (last != -1) { in updateLastDate() 2710 values.put(Events.LAST_DATE, last); in updateLastDate()
|