Searched refs:last (Results 1 - 25 of 68) sorted by relevance

123

/frameworks/base/core/java/android/content/
H A DContentUris.java73 * Converts the last path segment to a long.
76 * stored in the last segment.
79 * @throws NumberFormatException if the last segment isn't a number
81 * @return the long conversion of the last segment or -1 if the path is
85 String last = contentUri.getLastPathSegment();
86 return last == null ? -1 : Long.parseLong(last);
/frameworks/ex/variablespeed/jni/
H A Dmacros.h31 ForwardIterator min_element(ForwardIterator first, ForwardIterator last) { argument
33 if (first == last) return last;
34 while (++first != last)
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvlc_encode.h24 Int PutCoeff_Inter(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
25 Int PutCoeff_Intra(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
33 Int PutCoeff_Inter_RVLC(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
34 Int PutCoeff_Intra_RVLC(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
35 Int PutRunCoeff_Inter(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
36 Int PutRunCoeff_Intra(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
37 Int PutLevelCoeff_Inter(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
38 Int PutLevelCoeff_Intra(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DarmVCM4P2_FillVLDBuffer.c49 * [in] last status of the last flag
66 OMX_U8 last,
87 /* If last is 1, fill the remaining elments of the buffer with zeros */
88 if (last == 1)
61 armVCM4P2_FillVLDBuffer( OMX_U32 storeRun, OMX_S16 * pDst, OMX_S16 storeLevel, OMX_U8 sign, OMX_U8 last, OMX_U8 * pIndex, const OMX_U8 * pZigzagTable ) argument
H A DomxVCM4P2_DecodeVLCZigzag_Inter.c94 OMX_U8 last,start = 0; local
111 &last,
127 if (last == 0)
H A DarmVCM4P2_PutVLCBits.c60 * [in] maxStoreRunL0 Max store possible (considering last and inter/intra)
61 * for last = 0
62 * [in] maxStoreRunL1 Max store possible (considering last and inter/intra)
63 * for last = 1
67 * (considering last and inter/intra status) for last = 0
71 * (considering last and inter/intra status) for last = 1
73 * armVCM4P2_Huff_Tables_VLC.c for last == 0
74 * [in] pVlcTableL0 VLC table for last
123 OMX_U8 last = 0, first = 1, fMode; local
[all...]
H A DarmVCM4P2_DecodeVLCZigzag_intra.c95 OMX_U8 last = 0; local
135 &last,
151 if (last == 0)
H A DarmVCM4P2_FillVLCBuffer.c59 * [in] last status of the last flag
62 * (considering last and inter/intra status)
86 OMX_U8 last,
118 armPackBits(ppBitStream, pBitOffset, (OMX_U32)last, 1);
157 armPackBits(ppBitStream, pBitOffset, (OMX_U32)last, 1);
78 armVCM4P2_FillVLCBuffer( OMX_U8 **ppBitStream, OMX_INT * pBitOffset, OMX_U32 run, OMX_S16 level, OMX_U32 runPlus, OMX_S16 levelPlus, OMX_U8 fMode, OMX_U8 last, OMX_U8 maxRunForMultipleEntries, const OMX_U8 *pRunIndexTable, const ARM_VLC32 *pVlcTable ) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNoisyVelocityTracker.java71 MotionEventCopy last = null;
78 if (last != null) {
79 final float dt = (float) (event.t - last.t) / units;
80 final float dx = (event.x - last.x);
81 final float dy = (event.y - last.y);
91 if (event.t == last.t) {
101 last = event;
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
H A DListGetSelectedViewTest.java58 View last = mListView.getChildAt(1);
59 TouchUtils.clickView(this, last);
/frameworks/av/media/libeffects/loudness/common/core/
H A Dbyte_swapper.h44 char *first = &new_val, *last = first + kValSize - 1, x; local
45 for (; first < last; ++first, --last) {
46 x = *last;
47 *last = *first;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvlc_decode.cpp875 pTcoef->last = (uint) tab->last; //(tab->val >> 16) & 1;
884 //if (((tab->run<<8)|(tab->level)|(tab->last<<16)) == VLC_ESCAPE_CODE)
922 pTcoef->last = (uint)tab->last; //(tab->val >> 16) & 1;
926 if ((pTcoef->last == 0 && pTcoef->run > 14) || (pTcoef->last == 1 && pTcoef->run > 20))
930 pTcoef->level = pTcoef->level + intra_max_level[pTcoef->last][pTcoef->run];
974 pTcoef->last = (uint)tab->last; //(ta
[all...]
H A Dvlc_dequant.cpp69 int last, return_status; local
117 last = 1;/* 11/1/2000 let it slips undetected, just like
125 last = run_level.last;
131 last = 1;
162 while (!last);
395 int last, return_status; local
422 last = 1;/* 11/1/2000 let it slips undetected, just like
430 last = run_level.last;
520 int last, return_status; local
822 int last, return_status; local
1078 int last, return_status; local
[all...]
H A Dmp4lib_int.h66 uint timeInc; /* VOP time increment (relative to last mtb) */
160 uint last; member in struct:tagTcoef
184 uint8 last; member in struct:tagVLCtab2
/frameworks/base/libs/common_time/
H A Dutils.cpp88 Entry* last = NULL; local
91 last = &(mRingBuffer[(mWr + mSize - 1) % mSize]);
94 if ((NULL != last) && !last->s.compare(s)) {
95 gettimeofday(&(last->last_ts), NULL);
96 ++last->count;
142 " (repeated %d times, last was %s.%03ld)",
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListScrollListener.java66 int last = firstCell + cellCount - 1;
67 mText.setText("Showing " + firstCell + "-" + last + "/" + itemCount);
/frameworks/base/core/java/android/os/
H A DFileUtils.java242 } else if (max < 0) { // "tail" mode: keep the last N
245 byte[] last = null;
248 if (last != null) rolled = true;
249 byte[] tmp = last; last = data; data = tmp;
254 if (last == null && len <= 0) return "";
255 if (last == null) return new String(data, 0, len);
258 System.arraycopy(last, len, last, 0, last
[all...]
/frameworks/av/media/libmedia/
H A DAudioParameter.cpp40 char *last; local
43 char *pair = strtok_r(str, ";", &last);
62 pair = strtok_r(NULL, ";", &last);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DColumnAdapter.java99 final int last = mWrapped.getCount() - 1;
108 final int validPos = Math.min(pos, last);
/frameworks/base/libs/hwui/
H A DPathTessellator.cpp212 const Vertex* last = &(perimeter[perimeter.size() - 1]); local
214 Vector2 lastNormal = {current->y - last->y, last->x - current->x};
232 last = current;
309 const Vertex* last = &(vertices[0]); local
311 Vector2 lastNormal = {current->y - last->y, last->x - current->x};
354 const Vertex* last = &(perimeter[perimeter.size() - 1]); local
356 Vector2 lastNormal = {current->y - last->y, last
592 const Vertex* last = &(vertices[0]); local
660 const Vertex* last = &(perimeter[perimeter.size() - 1]); local
[all...]
/frameworks/volley/src/com/android/volley/
H A DVolleyLog.java106 /** Minimum duration from first marker to last in an marker log to warrant logging. */
135 * the first and last markers is greater than {@link #MIN_DURATION_FOR_LOGGING_MS}.
165 /** Returns the time difference between the first and last events in this log. */
172 long last = mMarkers.get(mMarkers.size() - 1).time;
173 return last - first;
/frameworks/base/core/java/android/text/method/
H A DLinkMovementMethod.java108 int last = layout.getLineEnd(linebot);
110 ClickableSpan[] candidates = buffer.getSpans(first, last, ClickableSpan.class);
124 if (selStart > last)
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneData.java231 TimeZoneInfo last = null;
248 if (true && last != null) {
249 if (last.compareTo(tz) == 0) {
251 Log.e("SAME", last.toString());
259 last = tz;
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DRecurrenceProcessorTest.java72 String last) throws Exception {
155 if (last != null && last.length() > 0) {
157 expectedLast.parse(last);
163 Log.i(TAG, "Expected: " + last + "; Actual: " + lastStr);
167 throw new RuntimeException("expected last occurrence date does not match."
168 + " expected=" + last
2107 // Monthly on the last Monday
2403 "20100526T153000" /* last */);
2417 null /* last */);
70 verifyRecurrence(String dtstartStr, String rrule, String rdate, String exrule, String exdate, String rangeStartStr, String rangeEndStr, String[] expected, String last) argument
[all...]
/frameworks/base/core/java/android/net/
H A DUrlQuerySanitizer.java352 int last = value.length() - 1;
353 int end = last;
360 if (start == 0 && end == last) {
558 * <li>the last instance of a repeated parameter is preferred.
581 * <li>the last instance of a repeated parameter is preferred.
736 * False means that the last repeated parameter is preferred.

Completed in 668 milliseconds

123