Searched defs:cur (Results 1 - 25 of 40) sorted by path

12

/frameworks/av/media/libmedia/
H A DIOMX.cpp578 ComponentInfo &cur = *it; local
580 reply->writeString8(cur.mName);
581 reply->writeInt32(cur.mRoles.size());
582 for (List<String8>::iterator role_it = cur.mRoles.begin();
583 role_it != cur.mRoles.end(); ++role_it) {
/frameworks/av/media/libstagefright/
H A DMPEG4Extractor.cpp1017 Track *cur = mFirstTrack; local
1019 if (cur == mLastTrack) {
1020 delete cur;
1023 while (cur && cur->next != mLastTrack) {
1024 cur = cur->next;
1026 if (cur) {
1027 cur->next = NULL;
1030 mLastTrack = cur;
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Ddct.cpp38 Void BlockDCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) argument
59 tmp = *((Int*) cur); /* contains 4 pixels */
73 tmp = *((Int*)(cur + 4)); /* another 4 pixels */
87 cur += width;
267 Void Block4x4DCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) argument
288 tmp = *((Int*) cur); /* contains 4 pixels */
302 tmp = *((Int*)(cur + 4)); /* another 4 pixels */
316 cur += width;
473 Void Block2x2DCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) argument
494 tmp = *((Int*) cur); /* contain
652 BlockDCT_AANIntra(Short *out, UChar *cur, UChar *dummy2, Int width) argument
863 Block4x4DCT_AANIntra(Short *out, UChar *cur, UChar *dummy2, Int width) argument
1050 Block2x2DCT_AANIntra(Short *out, UChar *cur, UChar *dummy2, Int width) argument
1210 Block1x1DCTwSub(Short *out, UChar *cur, UChar *pred, Int width) argument
1247 Block1x1DCTIntra(Short *out, UChar *cur, UChar *dummy2, Int width) argument
[all...]
H A Dfastcodemb.cpp533 Int Sad8x8(UChar *cur, UChar *prev, Int width) argument
535 UChar *end = cur + (width << 3);
537 Int *curInt = (Int*) cur;
546 cur1 = curInt[1]; /* load cur[4..7] */
548 curInt += (width >> 2); /* load cur[0..3] and +=lx */
599 Int getBlockSum(UChar *cur, Int width) argument
602 UChar *end = cur + (width << 3);
603 Int *curInt = (Int*)cur;
H A Dfindhalfpel.cpp65 void FindHalfPelMB(VideoEncData *video, UChar *cur, MOT *mot, UChar *ncand, argument
89 cur = video->currYMB;
135 d = (*(SAD_MB_HalfPel[((yh&1)<<1)+(xh&1)]))(ncand, cur, (dmin << 16) | lx, extra_info);
184 Int FindHalfPelBlk(VideoEncData *video, UChar *cur, MOT *mot, Int sad16, UChar *ncand8[], argument
231 cur8 = cur + ((comp & 1) << 3) + ((comp & 2) << 2) * width ;
H A Dme_utils.cpp35 void ChooseMode_C(UChar *Mode, UChar *cur, Int lx, Int min_SAD) argument
40 UChar *p = cur;
41 Int *pint = (Int *) cur, temp = 0;
67 p = cur;
313 void ComputeMBSum_C(UChar *cur, Int lx, MOT *mot_mb) argument
320 cInt = (Int*)cur; /* make sure this is word-align */
321 cInt2 = (Int*)(cur + (lx << 3));
H A Dmotion_est.cpp75 void MBMotionSearch(VideoEncData *video, UChar *cur, UChar *best_cand[],
78 Int fullsearch(VideoEncData *video, Vol *currVol, UChar *ref, UChar *cur,
80 Int fullsearchBlk(VideoEncData *video, Vol *currVol, UChar *cent, UChar *cur,
91 void PrepareCurMB(VideoEncData *video, UChar *cur);
105 void HTFMPrepareCurMB(VideoEncData *video, HTFM_Stat *htfm_stat, UChar *cur);
156 UChar *cur, *best_cand[5]; local
187 cur = currFrame->yChan;
196 (*ComputeMBSum)(cur + (i << 4), width, mot_mb);
202 cur += (width << 4);
274 cur
674 HTFMPrepareCurMB(VideoEncData *video, HTFM_Stat *htfm_stat, UChar *cur) argument
739 PrepareCurMB(VideoEncData *video, UChar *cur) argument
770 MBMotionSearch(VideoEncData *video, UChar *cur, UChar *best_cand[], Int i0, Int j0, Int type_pred, Int FS_en, Int *hp_guess) argument
1179 fullsearch(VideoEncData *video, Vol *currVol, UChar *prev, UChar *cur, Int *imin, Int *jmin, Int ilow, Int ihigh, Int jlow, Int jhigh) argument
1266 fullsearchBlk(VideoEncData *video, Vol *currVol, UChar *cent, UChar *cur, Int *imin, Int *jmin, Int ilow, Int ihigh, Int jlow, Int jhigh, Int range) argument
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DAHierarchicalStateMachine.cpp57 sp<AState> cur = mState; local
58 while (cur != NULL && !cur->onMessageReceived(msg)) {
63 cur = cur->parentState();
66 if (cur != NULL) {
81 sp<AState> cur = mState; local
83 A.push(cur);
84 if (cur == NULL) {
87 cur
[all...]
/frameworks/av/media/libstagefright/webm/
H A DWebmElement.cpp90 uint8_t *cur = buf; local
91 int head = serializeCodedUnsigned(mId, cur);
92 cur += head;
93 int neck = serializePayloadSize(cur);
94 cur += neck;
95 serializePayload(cur);
96 cur += mSize;
97 return cur - buf;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DSerializer.cpp33 string getXmlAttribute(const xmlNode *cur, const char *attribute) argument
35 xmlChar *xmlValue = xmlGetProp(cur, (const xmlChar*)attribute);
59 const xmlNode *cur = col->children; local
60 while (cur != NULL) {
61 if ((!xmlStrcmp(cur->name, (const xmlChar *)gReferenceElementName))) {
62 string name = getXmlAttribute(cur, gReferenceAttributeName);
64 refNode = cur;
68 cur = cur->next;
77 static status_t deserializeCollection(_xmlDoc *doc, const _xmlNode *cur, argument
492 deserialize(const xmlNode *cur, AudioPolicyConfig &config) argument
596 xmlNodePtr cur = xmlDocGetRootElement(doc); local
[all...]
/frameworks/av/services/camera/libcameraservice/gui/
H A DRingBufferConsumer.cpp70 BufferInfo acc, cur; local
81 cur.mCrop = item.mCrop;
82 cur.mTransform = item.mTransform;
83 cur.mScalingMode = item.mScalingMode;
84 cur.mTimestamp = item.mTimestamp;
85 cur.mFrameNumber = item.mFrameNumber;
86 cur.mPinned = item.mPinCount > 0;
88 int ret = filter.compare(accPtr, &cur);
93 acc = cur;
/frameworks/base/core/java/android/os/
H A DWorkSource.java445 private static WorkSource addWork(WorkSource cur, int newUid) { argument
446 if (cur == null) {
449 cur.insert(cur.mNum, newUid);
450 return cur;
537 private static WorkSource addWork(WorkSource cur, int newUid, String newName) { argument
538 if (cur == null) {
541 cur.insert(cur.mNum, newUid, newName);
542 return cur;
[all...]
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java1310 Header findBestMatchingHeader(Header cur, ArrayList<Header> from) { argument
1314 if (cur == oh || (cur.id != HEADER_ID_UNDEFINED && cur.id == oh.id)) {
1320 if (cur.fragment != null) {
1321 if (cur.fragment.equals(oh.fragment)) {
1324 } else if (cur.intent != null) {
1325 if (cur.intent.equals(oh.intent)) {
1328 } else if (cur.title != null) {
1329 if (cur
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java2342 Slog.wtf(TAG, "Cleaning up with active overflow, but no overflow entry: cur="
2764 public void writeHistoryDelta(Parcel dest, HistoryItem cur, HistoryItem last) { argument
2765 if (last == null || cur.cmd != HistoryItem.CMD_UPDATE) {
2767 cur.writeToParcel(dest, 0);
2771 final long deltaTime = cur.time - last.time;
2783 int firstToken = deltaTimeToken | (cur.states&DELTA_STATE_MASK);
2784 final int includeStepDetails = mLastHistoryStepLevel > cur.batteryLevel
2788 final int batteryLevelInt = buildBatteryLevelInt(cur) | includeStepDetails;
2793 final int stateInt = buildStateInt(cur);
2798 final boolean state2IntChanged = cur
3021 readHistoryDelta(Parcel src, HistoryItem cur) argument
3157 addHistoryBufferLocked(long elapsedRealtimeMs, long uptimeMs, HistoryItem cur) argument
3292 addHistoryBufferLocked(long elapsedRealtimeMs, long uptimeMs, byte cmd, HistoryItem cur) argument
3336 addHistoryRecordInnerLocked(long elapsedRealtimeMs, long uptimeMs, HistoryItem cur) argument
3407 addHistoryRecordLocked(long elapsedRealtimeMs, long uptimeMs, byte cmd, HistoryItem cur) argument
[all...]
/frameworks/base/core/java/com/android/internal/policy/
H A DPhoneWindow.java2920 } else if (st != null && (st.cur != drawable || st.curAlpha != st.alpha)) {
2921 // System.out.println("Drawable changed: old=" + st.cur
2923 st.cur = drawable;
3324 Drawable cur; field in class:PhoneWindow.DrawableFeatureState
/frameworks/base/core/java/com/android/internal/util/
H A DArrayUtils.java343 public static @NonNull int[] appendInt(@Nullable int[] cur, int val, argument
345 if (cur == null) {
348 final int N = cur.length;
351 if (cur[i] == val) {
352 return cur;
357 System.arraycopy(cur, 0, ret, 0, N);
366 public static @NonNull int[] appendInt(@Nullable int[] cur, int val) { argument
367 return appendInt(cur, val, false);
373 public static @Nullable int[] removeInt(@Nullable int[] cur, int val) { argument
374 if (cur
396 removeString(@ullable String[] cur, String val) argument
420 appendLong(@ullable long[] cur, long val) argument
439 removeLong(@ullable long[] cur, long val) argument
467 add(@ullable ArraySet<T> cur, T val) argument
475 remove(@ullable ArraySet<T> cur, T val) argument
487 add(@ullable ArrayList<T> cur, T val) argument
495 remove(@ullable ArrayList<T> cur, T val) argument
507 contains(@ullable Collection<T> cur, T val) argument
[all...]
H A DCollectionUtils.java68 public static @NonNull <I, O> List<O> map(@Nullable List<I> cur, argument
70 if (isEmpty(cur)) return Collections.emptyList();
72 for (int i = 0; i < cur.size(); i++) {
73 result.add(f.apply(cur.get(i)));
85 * map(cur, f),
89 public static @NonNull <I, O> List<O> mapNotNull(@Nullable List<I> cur, argument
91 if (isEmpty(cur)) return Collections.emptyList();
93 for (int i = 0; i < cur.size(); i++) {
94 O transformed = f.apply(cur.get(i));
109 public static @NonNull <T> List<T> emptyIfNull(@Nullable List<T> cur) { argument
120 emptyIfNull(@ullable Set<T> cur) argument
127 size(@ullable Collection<?> cur) argument
173 add(@ullable List<T> cur, T val) argument
185 remove(@ullable List<T> cur, T val) argument
196 copyOf(@ullable List<T> cur) argument
[all...]
/frameworks/base/core/java/org/apache/http/conn/ssl/
H A DAndroidDistinguishedNameParser.java40 private int cur; field in class:AndroidDistinguishedNameParser
216 cur = end;
227 return new String(chars, beg, cur - beg);
360 cur = 0;
425 cur = 0;
/frameworks/base/core/jni/android/graphics/
H A DGIFMovie.cpp306 static void disposeFrameIfNeeded(SkBitmap* bm, const SavedImage* cur, const SavedImage* next, argument
313 getTransparencyAndDisposalMethod(cur, &curTrans, &curDisposal);
318 && (nextTrans || !checkIfCover(next, cur))) {
323 fillRect(bm, cur->ImageDesc.Left, cur->ImageDesc.Top,
324 cur->ImageDesc.Width, cur->ImageDesc.Height,
401 const SavedImage* cur = &fGIF->SavedImages[i]; local
405 getTransparencyAndDisposalMethod(cur, &trans, &disposal);
417 disposeFrameIfNeeded(bm, prev, cur,
[all...]
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteConnection.cpp764 int cur = -1; local
766 sqlite3_db_status(connection->db, SQLITE_DBSTATUS_LOOKASIDE_USED, &cur, &unused, 0);
767 return cur;
/frameworks/base/libs/androidfw/
H A DAsset.cpp107 Asset* cur = gHead; local
108 while (cur != NULL) {
109 if (cur->isAllocated()) {
111 res.append(cur->getAssetSource());
112 off64_t size = (cur->getLength()+512)/1024;
117 cur = cur->mNext;
H A DCursorWindow.cpp157 uint32_t cur = mHeader->numColumns; local
158 if ((cur > 0 || mHeader->numRows > 0) && cur != numColumns) {
159 ALOGE("Trying to go from %d columns to %d", cur, numColumns);
H A DResourceTypes.cpp4499 bag_entry* cur = entries+curEntry; local
4501 cur->stringBlock = entry.package->header->index;
4502 cur->map.name.ident = newName;
4503 cur->map.value.copyFrom_dtoh(map->value);
4504 status_t err = grp->dynamicRefTable.lookupResourceValue(&cur->map.value);
4506 ALOGE("Reference item(0x%08x) in bag could not be resolved.", cur->map.value.data);
4512 curEntry, cur, cur->stringBlock, cur->map.name.ident,
4513 cur
4948 const unit_entry* cur = unitNames; local
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java5711 final void showLaunchWarningLocked(final ActivityRecord cur, final ActivityRecord next) { argument
5718 final Dialog d = new LaunchWarningWindow(mContext, cur, next);
7783 ImportanceToken cur
7785 if (cur != token) {
16629 pw.print(" cur="); pw.print(r.curAdj);
16633 pw.print("state: cur="); pw.print(ProcessList.makeProcStateString(r.curProcState));
[all...]
H A DLaunchWarningWindow.java30 public LaunchWarningWindow(Context context, ActivityRecord cur, ActivityRecord next) { argument
51 icon.setImageDrawable(cur.info.applicationInfo.loadIcon(context.getPackageManager()));
54 cur.info.applicationInfo.loadLabel(context.getPackageManager()).toString()));

Completed in 4254 milliseconds

12