Searched refs:last (Results 1 - 25 of 61) 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.c34 * [in] last status of the last flag
51 OMX_U8 last,
72 /* If last is 1, fill the remaining elments of the buffer with zeros */
73 if (last == 1)
46 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.c79 OMX_U8 last,start = 0; local
96 &last,
112 if (last == 0)
H A DarmVCM4P2_PutVLCBits.c45 * [in] maxStoreRunL0 Max store possible (considering last and inter/intra)
46 * for last = 0
47 * [in] maxStoreRunL1 Max store possible (considering last and inter/intra)
48 * for last = 1
52 * (considering last and inter/intra status) for last = 0
56 * (considering last and inter/intra status) for last = 1
58 * armVCM4P2_Huff_Tables_VLC.c for last == 0
59 * [in] pVlcTableL0 VLC table for last
108 OMX_U8 last = 0, first = 1, fMode; local
[all...]
H A DarmVCM4P2_DecodeVLCZigzag_intra.c80 OMX_U8 last = 0; local
120 &last,
136 if (last == 0)
H A DarmVCM4P2_FillVLCBuffer.c44 * [in] last status of the last flag
47 * (considering last and inter/intra status)
71 OMX_U8 last,
103 armPackBits(ppBitStream, pBitOffset, (OMX_U32)last, 1);
142 armPackBits(ppBitStream, pBitOffset, (OMX_U32)last, 1);
63 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/core/java/android/os/
H A DFileUtils.java161 } else if (max < 0) { // "tail" mode: keep the last N
164 byte[] last = null, data = null;
166 if (last != null) rolled = true;
167 byte[] tmp = last; last = data; data = tmp;
172 if (last == null && len <= 0) return "";
173 if (last == null) return new String(data, 0, len);
176 System.arraycopy(last, len, last, 0, last
[all...]
/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/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/services/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/compile/mclinker/lib/MC/
H A DInputFactory.cpp30 new (result) mcld::Input(pName, pPath, m_AttrFactory.last(), pType, pFileOffset);
H A DAttributeFactory.cpp62 AttributeProxy& AttributeFactory::last() function in class:AttributeFactory
67 const AttributeProxy& AttributeFactory::last() const function in class:AttributeFactory
/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/compile/mclinker/include/mcld/MC/
H A DAttributeFactory.h59 // last - the last touched attribute.
60 AttributeProxy& last();
61 const AttributeProxy& last() const;
/frameworks/native/include/utils/
H A DList.h189 * Return the first element or one past the last element. The
222 void insert(iterator posn, const_iterator first, const_iterator last) { argument
223 for ( ; first != last; ++first)
238 iterator erase(iterator first, iterator last) { argument
239 while (first != last)
241 return iterator(last);
260 * will be equal to "last". The iterators must refer to the same
274 _ListIterator<U, CL> first, _ListIterator<U, CR> last) const
277 while (first != last) {
/frameworks/compile/mclinker/lib/CodeGen/
H A DSectLinker.cpp314 if (info.attrFactory().last().isStatic()) {
362 info.attrFactory().last().setWholeArchive();
365 info.attrFactory().last().unsetWholeArchive();
368 info.attrFactory().last().setAsNeeded();
371 info.attrFactory().last().unsetAsNeeded();
374 info.attrFactory().last().setAddNeeded();
377 info.attrFactory().last().unsetAddNeeded();
380 info.attrFactory().last().setStatic();
383 info.attrFactory().last().setDynamic();
/frameworks/base/libs/hwui/
H A DPathRenderer.cpp123 const Vertex* last = &(perimeter[perimeter.size() - 1]); local
125 vec2 lastNormal(current->position[1] - last->position[1],
126 last->position[0] - current->position[0]);
145 last = current;
211 const Vertex* last = &(perimeter[perimeter.size() - 1]); local
213 vec2 lastNormal(current->position[1] - last->position[1],
214 last->position[0] - current->position[0]);
237 last = current;
286 const Vertex* last = &(vertices[0]); local
288 vec2 lastNormal(current->position[1] - last
440 const Vertex* last = &(perimeter[perimeter.size() - 1]); local
[all...]
/frameworks/support/volley/src/com/android/volley/
H A DVolleyLog.java86 /** Minimum duration from first marker to last in an marker log to warrant logging. */
115 * the first and last markers is greater than {@link #MIN_DURATION_FOR_LOGGING_MS}.
145 /** Returns the time difference between the first and last events in this log. */
152 long last = mMarkers.get(mMarkers.size() - 1).time;
153 return last - first;
/frameworks/base/core/java/android/text/method/
H A DLinkMovementMethod.java103 int last = layout.getLineEnd(linebot);
105 ClickableSpan[] candidates = buffer.getSpans(first, last, ClickableSpan.class);
119 if (selStart > last)
/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.java351 int last = value.length() - 1;
352 int end = last;
359 if (start == 0 && end == last) {
557 * <li>the last instance of a repeated parameter is preferred.
580 * <li>the last instance of a repeated parameter is preferred.
735 * False means that the last repeated parameter is preferred.

Completed in 525 milliseconds

123