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

12

/frameworks/base/services/core/java/com/android/server/am/
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()));
/frameworks/compile/mclinker/lib/MC/
H A DAttributeSet.cpp26 iterator cur = m_AttrSet.begin(); local
29 while (cur != aEnd) {
30 delete (*cur);
31 ++cur;
39 const_iterator cur = m_AttrSet.begin();
41 while (cur != aEnd) {
42 if (*(*cur) == pAttr) {
43 return *cur;
45 ++cur;
/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/base/core/java/com/android/internal/util/
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...]
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...]
/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/compile/mclinker/lib/Script/
H A DGroupCmd.cpp48 bool prev = false, cur = false; local
55 cur = input->asNeeded();
56 if (!prev && cur)
58 else if (prev && !cur)
65 prev = cur;
H A DInputCmd.cpp59 bool prev = false, cur = false; local
66 cur = input->asNeeded();
67 if (!prev && cur)
69 else if (prev && !cur)
76 prev = cur;
/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));
/frameworks/native/opengl/libagl/
H A Dmipmap.cpp54 GGLSurface& cur = tex->editMip(level); local
59 uint16_t* dst = (uint16_t*)cur.data;
82 uint16_t* dst = (uint16_t*)cur.data;
102 uint32_t* dst = (uint32_t*)cur.data;
138 uint8_t* dst = (uint8_t*)cur.data;
158 uint16_t* dst = (uint16_t*)cur.data;
185 base = &cur;
/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/libs/androidfw/
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 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;
/frameworks/compile/mclinker/include/mcld/Support/
H A DAllocators.h215 chunk_type* cur = m_pRoot, *prev; local
216 while (cur != 0) {
217 prev = cur;
218 cur = cur->next;
/frameworks/native/opengl/libs/EGL/
H A DLoader.cpp400 struct dirent cur; local
402 while (readdir_r(d, &cur, &e) == 0 && e) {
/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/native/libs/binder/
H A DMemoryDealer.cpp325 chunk_t* cur = mList.head(); local
328 while (cur) {
331 extra = ( -cur->start & ((pagesize/kMemoryAlign)-1) ) ;
334 if (cur->free && (cur->size >= (size+extra))) {
335 if ((!free_chunk) || (cur->size < free_chunk->size)) {
336 free_chunk = cur;
338 if (cur->size == size) {
342 cur = cur
378 chunk_t* cur = mList.head(); local
441 chunk_t const* cur = mList.head(); local
[all...]
/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/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/native/libs/ui/
H A DRegion.cpp235 const_iterator cur = begin(); local
237 while (cur != tail) {
238 if (y >= cur->top && y < cur->bottom && x >= cur->left && x < cur->right) {
241 cur++;
425 Rect* cur; member in class:android::Region::rasterizer
428 : bounds(INT_MAX, 0, INT_MIN, 0), storage(reg.mStorage), head(), tail(), cur() {
468 if (cur
517 const_iterator cur = reg.begin(); local
[all...]

Completed in 528 milliseconds

12