Searched refs:last (Results 1 - 25 of 62) 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
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 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
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/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictDecoderUtils.java162 * @return the index after the last character.
307 PtNodeInfo last = null;
318 if (null == last) continue;
319 builder.append(new String(last.mCharacters, 0, last.mCharacters.length));
320 dictDecoder.setPosition(last.mChildrenAddress);
322 groupPos = last.mChildrenAddress + BinaryDictIOUtils.getPtNodeCountSize(i);
323 last = null;
326 last = info;
328 if (0 == i && BinaryDictIOUtils.hasChildrenAddress(last
[all...]
/packages/experimental/procstatlog/
H A Dprocstatreport.py178 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/OMA-DM/engine/dmlib/dmengine/dm_ssession/src/
H A DSYNCML_DM_MultipleChoiceAlert.cc73 int last = atoi(pdSegment); local
82 if((first >=0) && (last >= 0))
84 for ( first; first <= last; first++ ) {
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DInputSmoother.java53 final Sample last = mRecentSamples.peekLast();
54 if (last != null && nowMs - last.millis > MAX_SAMPLE_INTERVAL_MS) {
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DStopWatch.java74 long last = start;
79 sb.append((current - last));
81 last = current;
/packages/apps/OMA-DM/engine/dmlib/dmengine/oma_toolkit/hdr/
H A Dsmlmetinfdtd.h72 SmlPcdataPtr_t last; /* optional */ member in struct:sml_metinf_anchor_s
/packages/apps/OMA-DM/engine/dmlib/dmengine/oma_toolkit/sml/ghdr/
H A Dsmlmetinfdtd.h72 SmlPcdataPtr_t last; /* optional */ member in struct:sml_metinf_anchor_s
/packages/apps/Music/src/com/android/music/
H A DIMediaPlaybackService.aidl49 int removeTracks(int first, int last);
H A DRepeatingImageButton.java121 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
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DConversationInfo.java47 String last) {
51 set(messageCount, draft, first, firstUnread, last);
112 public void set(int count, int draft, String first, String firstUnread, String last) { argument
118 lastSnippet = last;
46 ConversationInfo(int messageCount, int draft, String first, String firstUnread, String last) argument
/packages/apps/Exchange/tests/src/com/android/exchange/utility/
H A DSimpleIcsWriterTests.java61 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/UnifiedEmail/src/com/android/mail/compose/
H A DAttachmentsView.java365 int last = 0;
367 last = mTileGrid.getChildCount() - 1;
368 if (last > 0) {
369 lastView = mTileGrid.getChildAt(last);
372 last = mAttachmentLayout.getChildCount() - 1;
373 if (last > 0) {
374 lastView = mAttachmentLayout.getChildAt(last);
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/
H A DCharMatcher.java802 * Returns the index of the last matching character in a character sequence,
981 int last;
988 for (last = len - 1; last > first; last--) {
989 if (!matches(sequence.charAt(last))) {
994 return sequence.subSequence(first, last + 1).toString();
1030 int last;
1032 for (last = len - 1; last >
[all...]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DCharMatcher.java802 * Returns the index of the last matching character in a character sequence,
981 int last;
988 for (last = len - 1; last > first; last--) {
989 if (!matches(sequence.charAt(last))) {
994 return sequence.subSequence(first, last + 1).toString();
1030 int last;
1032 for (last = len - 1; last >
[all...]
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
H A DSendersFormattingTests.java100 final String last = "*^*^*^*";
102 final ConversationInfo before = new ConversationInfo(42, 49, first, firstUnread, last);
106 assertEquals(last, before.lastSnippet);
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DPyramid.h42 static void createPyramid(ImageType image, PyramidShort *pyramid, int last = 3 );
H A DBlend.cpp1216 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...]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DPyramid.h42 static void createPyramid(ImageType image, PyramidShort *pyramid, int last = 3 );
H A DBlend.cpp1196 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...]
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DNinePatchTexture.java91 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/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DComposingText.java177 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DSuggestionResults.java61 if (comparator().compare(e, last()) > 0) return false;
63 pollLast(); // removes the last element
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DSplineMath.java32 int last = curve.length - 1;
33 curve[last][0] = (float) (points[points.length - 1][0]);
34 curve[last][1] = (float) (points[points.length - 1][1]);

Completed in 886 milliseconds

123