/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 45 s_top=source+last; 47 d_top=dest+last; 62 long last=nr_elements-1; 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); 81 if(first_equal>pos) last=first_equal-1; 95 pivot=db_TripleMedian(source[first],source[last],sourc [all...] |
/packages/apps/LegacyCamera/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 45 s_top=source+last; 47 d_top=dest+last; 62 long last=nr_elements-1; 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); 81 if(first_equal>pos) last=first_equal-1; 95 pivot=db_TripleMedian(source[first],source[last],sourc [all...] |
/packages/experimental/procstatlog/ |
H A 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 [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | StopWatch.java | 74 long last = start; 79 sb.append((current - last)); 81 last = current;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | BoundedTreeSet.java | 38 if (comparator().compare(e, last()) > 0) return false; 40 pollLast(); // removes the last element
|
H A D | UserHistoryForgettingCurveUtils.java | 57 public ForgettingCurveParams(int fc, long now, long last) { argument 61 this(fc, now, last, fcToLevel((byte)fc) > 0); 64 private ForgettingCurveParams(int fc, long now, long last, boolean isValid) { argument 67 mLastTouchedTime = last;
|
H A D | UserHistoryDictionary.java | 221 final long last = SettingsValues.getLastUserHistoryWriteTime(mPrefs, mLocale); 222 final boolean initializing = last == 0; 248 : new ForgettingCurveParams(frequency, now, last));
|
/packages/apps/Music/src/com/android/music/ |
H A D | IMediaPlaybackService.aidl | 49 int removeTracks(int first, int last);
|
H A D | RepeatingImageButton.java | 121 private void doRepeat(boolean last) { argument 124 mListener.onRepeat(this, now - mStartTime, last ? -1 : mRepeatCount++); 136 * If this is going to be the last call in this sequence (i.e. the user
|
H A D | MediaPlaybackService.java | 784 * the last file in the list has been played, 1570 * @param last The last file to be removed 1573 public int removeTracks(int first, int last) { argument 1574 int numremoved = removeTracksInternal(first, last); 1581 private int removeTracksInternal(int first, int last) { argument 1583 if (last < first) return 0; 1585 if (last >= mPlayListLen) last = mPlayListLen - 1; 1588 if (first <= mPlayPos && mPlayPos <= last) { 2157 removeTracks(int first, int last) argument [all...] |
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/utility/ |
H A D | SimpleIcsWriterTests.java | 61 for (String last : new String[] {UTF8_1_BYTE, UTF8_2_BYTES, UTF8_3_BYTES, UTF8_4_BYTES}) { 63 String input = stringOfLength(i) + last;
|
/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
H A D | SimpleIcsWriterTests.java | 61 for (String last : new String[] {UTF8_1_BYTE, UTF8_2_BYTES, UTF8_3_BYTES, UTF8_4_BYTES}) { 63 String input = stringOfLength(i) + last;
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
H A D | Pyramid.h | 42 static void createPyramid(ImageType image, PyramidShort *pyramid, int last = 3 );
|
H A D | Blend.cpp | 1216 MosaicFrame *last = frames[frames_size-1]; local 1221 double midX = last->width / 2.0; 1222 double midY = last->height / 2.0; 1253 // Add last frame by default 1254 relevant_frames[relevant_frames_size] = last; 1269 MosaicFrame *last = frames[frames_size-1]; local 1272 double lxpos = last->trs[0][2], lypos = last->trs[1][2]; 1277 double midX = last->width / 2.0; 1278 double midY = last [all...] |
H A D | Delaunay.cpp | 253 continue; // the one deleted was the last one anyway 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);
|
H A D | Pyramid.cpp | 38 PyramidShort *curr, *last; local 41 for (last = (curr = img) + levels; curr < last; curr++) {
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | Pyramid.h | 42 static void createPyramid(ImageType image, PyramidShort *pyramid, int last = 3 );
|
H A D | Blend.cpp | 1196 MosaicFrame *last = frames[frames_size-1]; local 1201 double midX = last->width / 2.0; 1202 double midY = last->height / 2.0; 1233 // Add last frame by default 1234 relevant_frames[relevant_frames_size] = last; 1249 MosaicFrame *last = frames[frames_size-1]; local 1252 double lxpos = last->trs[0][2], lypos = last->trs[1][2]; 1257 double midX = last->width / 2.0; 1258 double midY = last [all...] |
H A D | Delaunay.cpp | 253 continue; // the one deleted was the last one anyway 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);
|
H A D | Pyramid.cpp | 38 PyramidShort *curr, *last; local 41 for (last = (curr = img) + levels; curr < last; curr++) {
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | ComposingText.java | 177 StrSegment last = strUplayer.get(strUplayer.size() - 1); 178 if (last.to < mod_from) { 180 last.to = mod_to; 181 last.string = toString(layer, last.from, last.to);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | NinePatchTexture.java | 93 V old = mValue[CACHE_SIZE - 1]; // remove the last item 298 // the last fixed segment 303 int last = 0; 305 if ((x[i] - x[last]) < 1f) continue; 306 x[++last] = x[i]; 307 u[last] = u[i]; 309 return last + 1;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/ |
H A D | ImageCurves.java | 298 float last = 0; 310 last = x; 313 gHistoPath.lineTo(last, h);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
H A D | BinaryDictInputOutput.java | 179 * @return the index after the last character. 819 // number of steps to the bigramFrequency. One last thing: we want our steps to include 1060 + " last terminal at " + lastTerminalAddress + "\n" 1417 CharGroupInfo last = null; 1428 if (null == last) continue; 1429 builder.append(new String(last.mCharacters, 0, last.mCharacters.length)); 1430 buffer.position(last.mChildrenAddress + headerSize); 1431 groupOffset = last.mChildrenAddress + 1; 1433 last [all...] |
/packages/apps/Browser/src/com/android/browser/view/ |
H A D | PieMenu.java | 310 PieItem last = mCurrentItem; 312 last = mOpenItem; 315 if (item != last) { 319 if (last != null) { 320 drawItem(canvas, last);
|