Searched refs:last (Results 26 - 50 of 62) sorted by relevance

123

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
H A DHistogramView.java113 float last = 0;
125 last = x;
128 mHistoPath.lineTo(last, h);
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationItemViewModel.java288 // If all are read, get the last sender.
291 int last = conversation.conversationInfo.participantInfos != null ?
293 if (last != -1) {
294 lastParticipant = conversation.conversationInfo.participantInfos.get(last).name;
313 // Just take the last sender
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/
H A DUnicodeEscaper.java104 * @param end the index immediately after the last character to be scanned
238 * determine when the last characters have been appended.
288 char last = csq.charAt(end - 1);
289 if (Character.isHighSurrogate(last)) {
290 pendingHighSurrogate = last;
325 * Our last append operation ended halfway through a surrogate pair so we
385 * @param end the index beyond the last valid character to decode
397 // If the high surrogate was the last character, return its inverse
H A DSplitter.java170 for (int p = start, last = toSplit.length() - delimeterLength;
171 p <= last; p++) {
246 * iterable containing {@code ["ab", "cd", "e"]}. The last piece can be
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DUnicodeEscaper.java104 * @param end the index immediately after the last character to be scanned
238 * determine when the last characters have been appended.
288 char last = csq.charAt(end - 1);
289 if (Character.isHighSurrogate(last)) {
290 pendingHighSurrogate = last;
325 * Our last append operation ended halfway through a surrogate pair so we
385 * @param end the index beyond the last valid character to decode
397 // If the high surrogate was the last character, return its inverse
H A DSplitter.java170 for (int p = start, last = toSplit.length() - delimeterLength;
171 p <= last; p++) {
246 * iterable containing {@code ["ab", "cd", "e"]}. The last piece can be
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DDelaunay.cpp253 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 DPyramid.cpp38 PyramidShort *curr, *last; local
41 for (last = (curr = img) + levels; curr < last; curr++) {
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DDelaunay.cpp253 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 DPyramid.cpp38 PyramidShort *curr, *last; local
41 for (last = (curr = img) + levels; curr < last; curr++) {
/packages/apps/Music/src/com/android/music/
H A DMediaPlaybackService.java790 * the last file in the list has been played,
1578 * @param last The last file to be removed
1581 public int removeTracks(int first, int last) { argument
1582 int numremoved = removeTracksInternal(first, last);
1589 private int removeTracksInternal(int first, int last) { argument
1591 if (last < first) return 0;
1593 if (last >= mPlayListLen) last = mPlayListLen - 1;
1596 if (first <= mPlayPos && mPlayPos <= last) {
2165 removeTracks(int first, int last) argument
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
H A DStopwatchFragment.java315 int last = mLapsList.getLastVisiblePosition();
317 if (last < first) {
318 last = first;
321 long offset = duration / (last - first + 1) / 5;
322 for (int visibleIndex = first; visibleIndex <= last; visibleIndex++) {
332 animation.setStartOffset((last - visibleIndex) * offset);
346 int last = mLapsList.getLastVisiblePosition();
348 visibleIndex <= last; visibleIndex++) {
/packages/apps/Browser/src/com/android/browser/view/
H A DPieMenu.java310 PieItem last = mCurrentItem;
312 last = mOpenItem;
315 if (item != last) {
319 if (last != null) {
320 drawItem(canvas, last);
/packages/apps/Settings/src/com/android/settings/applications/
H A DAppOpsState.java442 AppOpEntry last = entries.get(entries.size()-1);
443 if (last.getAppEntry() == appEntry) {
444 boolean lastExe = last.getTime() != 0;
448 + pkgOps.getPackageName() + ": append to " + last);
449 last.addOp(opEntry);
/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/
H A DTextUtilities.java377 // 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/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageCurves.java392 float last = 0;
404 last = x;
407 gHistoPath.lineTo(last, h);
/packages/apps/Camera/jni/feature_stab/src/dbreg/
H A Ddbreg.cpp473 ///// IF BAD, then update reference to the last correctly aligned inspection frame;
482 ///// IF GOOD, then update the last correctly aligned inspection frame to be this;
659 int i = 0, last=0; local
662 if ( last > m_cost_histogram[i] )
664 last = m_cost_histogram[i];
674 //if ( last < m_cost_histogram[i] )
676 last = m_cost_histogram[i];
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
H A Ddbreg.cpp473 ///// IF BAD, then update reference to the last correctly aligned inspection frame;
482 ///// IF GOOD, then update the last correctly aligned inspection frame to be this;
658 int i = 0, last=0; local
661 if ( last > m_cost_histogram[i] )
663 last = m_cost_histogram[i];
673 //if ( last < m_cost_histogram[i] )
675 last = m_cost_histogram[i];
/packages/apps/OMA-DM/engine/dmlib/dmengine/oma_toolkit/sml/xlt/src/
H A Dxltmetinf.c96 rc = buildPCData(pDecoder, (VoidPtr_t)&pAnchor->last);
309 if ((_err = metinfEncBlock(TN_METINF_LAST, OPTIONAL, ((SmlMetInfAnchorPtr_t) pContent)->last, enc, pBufMgr, SML_EXT_METINF)) != SML_ERR_OK) return _err;
/packages/apps/OMA-DM/engine/dmlib/dmengine/oma_toolkit/src/
H A Dxltmetinf.c96 rc = buildPCData(pDecoder, (VoidPtr_t)&pAnchor->last);
309 if ((_err = metinfEncBlock(TN_METINF_LAST, OPTIONAL, ((SmlMetInfAnchorPtr_t) pContent)->last, enc, pBufMgr, SML_EXT_METINF)) != SML_ERR_OK) return _err;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DPositionController.java601 // tries to go left of the first image or go right of the last image.
637 // tries to go left of the first image or go right of the last image.
1075 // First try to find the first and the last box which the absolute X
1077 int first, last;
1081 for (last = BOX_MAX; last >= -BOX_MAX; last--) {
1082 if (from.get(last) != Integer.MAX_VALUE) break;
1088 first = last = 0;
1090 // Now for those boxes between first and last, assig
[all...]
/packages/apps/Calendar/src/com/android/calendar/month/
H A DMonthByWeekFragment.java203 long last = Long.parseLong(pathSegments.get(size - 1));
206 mTempTime.set(last);
207 mLastLoadedJulianDay = Time.getJulianDay(last, mTempTime.gmtoff);
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DUserDictionaryToolsList.java733 int last = (start + MAX_LIST_WORD_COUNT);
734 t.setText((start + 1) + " - " + Math.min(last, size));
737 mRightButton.setEnabled(last < size);
/packages/apps/Calendar/src/com/android/calendar/agenda/
H A DAgendaWindowAdapter.java156 /** Cached value of the last used adapter */
1132 DayAdapterInfo last = mAdapterInfos.getLast();
1138 if (querySpec.start <= last.end + 1 && last.end < querySpec.end) {
1139 last.end = querySpec.end;
1143 totalAgendaRangeEnd = last.end;
/packages/apps/Camera/jni/feature_stab/db_vlvm/
H A Ddb_feature_detection.cpp706 int x,next_x,last,right; local
708 last=w-4;
709 for(x=3;x<=last;x=next_x)
713 if(right>last) right=last;
729 int x,next_x,last; local
732 last=w-4;
733 for(x=3;x<=last;x=next_x)
738 nc = db_mini(128,last-x+1);

Completed in 857 milliseconds

123