/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/Gallery2/src/com/android/gallery3d/photoeditor/actions/ |
H A D | Doodle.java | 70 PointF last = points.lastElement(); 71 normalizedPath.quadTo(last.x, last.y, (last.x + point.x) / 2, (last.y + point.y) / 2);
|
/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/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, 1552 * @param last The last file to be removed 1555 public int removeTracks(int first, int last) { argument 1556 int numremoved = removeTracksInternal(first, last); 1563 private int removeTracksInternal(int first, int last) { argument 1565 if (last < first) return 0; 1567 if (last >= mPlayListLen) last = mPlayListLen - 1; 1570 if (first <= mPlayPos && mPlayPos <= last) { 2139 removeTracks(int first, int last) argument [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
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;
|
/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/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
H A D | BinaryDictInputOutput.java | 243 * @return the index after the last character. 782 // number of steps to the bigramFrequency. One last thing: we want our steps to include 975 + " last terminal at " + lastTerminalAddress + "\n" 1229 CharGroupInfo last = null; 1240 if (null == last) continue; 1241 builder.append(new String(last.mCharacters, 0, last.mCharacters.length)); 1242 source.seek(last.mChildrenAddress + headerSize); 1243 groupOffset = last.mChildrenAddress + 1; 1245 last [all...] |
/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/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);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | TextUtilities.java | 377 // Start with space as last character to avoid leading whitespace 378 char last = ' '; 435 if (last == ' ') { 441 } else if ((c == '-' || c == '=') && (last == c)) { 449 last = c; 453 if ((bufferCount > 0) && (last == ' ')) { 587 // The position of the last input character copied to output
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
H A D | MonthByWeekFragment.java | 181 long last = Long.parseLong(pathSegments.get(size - 1)); 184 mTempTime.set(last); 185 mLastLoadedJulianDay = Time.getJulianDay(last, mTempTime.gmtoff);
|