Searched refs:cur (Results 26 - 50 of 64) sorted by relevance

123

/frameworks/support/tests/java/android/support/v4/content/
H A DFileProviderTest.java341 File cur = base;
343 if (cur == null) {
344 cur = new File(segment);
346 cur = new File(cur, segment);
349 return cur;
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java1224 Header findBestMatchingHeader(Header cur, ArrayList<Header> from) { argument
1228 if (cur == oh || (cur.id != HEADER_ID_UNDEFINED && cur.id == oh.id)) {
1234 if (cur.fragment != null) {
1235 if (cur.fragment.equals(oh.fragment)) {
1238 } else if (cur.intent != null) {
1239 if (cur.intent.equals(oh.intent)) {
1242 } else if (cur.title != null) {
1243 if (cur
[all...]
/frameworks/base/core/java/android/service/textservice/
H A DSpellCheckerService.java429 final SuggestionsInfo cur = results[j];
430 if (cur != null && cur.getSequence() == item.mTextInfo.getSequence()) {
431 result = cur;
/frameworks/base/libs/androidfw/
H A DCursorWindow.cpp152 uint32_t cur = mHeader->numColumns; local
153 if ((cur > 0 || mHeader->numRows > 0) && cur != numColumns) {
154 ALOGE("Trying to go from %d columns to %d", cur, numColumns);
H A DAsset.cpp63 Asset* cur = gHead; local
64 while (cur != NULL) {
65 if (cur->isAllocated()) {
67 res.append(cur->getAssetSource());
68 off64_t size = (cur->getLength()+512)/1024;
73 cur = cur->mNext;
H A DResourceTypes.cpp3645 bag_entry* cur = entries+curEntry; local
3647 cur->stringBlock = package->header->index;
3648 cur->map.name.ident = newName;
3649 cur->map.value.copyFrom_dtoh(map->value);
3651 curEntry, cur, cur->stringBlock, cur->map.name.ident,
3652 cur->map.value.dataType, cur->map.value.data));
4039 const unit_entry* cur local
[all...]
/frameworks/av/media/libstagefright/codecs/avc/common/include/
H A Davclib_common.h321 \param "cur" "Pointer to the origin of the output area."
322 \param "width" "Pitch of cur."
325 void itrans(int16 *block, uint8 *pred, uint8 *cur, int width);
331 \param "cur" "Pointer to the origin of the output area."
332 \param "width" "Pitch of cur."
335 void ictrans(int16 *block, uint8 *pred, uint8 *cur, int width);
347 This function copies a block from pred to cur.
349 \param "cur" "Pointer to the current YUV block."
350 \param "width" "Pitch of cur memory."
354 void copy_block(uint8 *pred, uint8 *cur, in
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dfindhalfpel.cpp54 int AVCFindHalfPelMB(AVCEncObject *encvid, uint8 *cur, AVCMV *mot, uint8 *ncand, argument
80 cur = encvid->currYMB; // pre-load current original MB
85 dmin = SATD_MB(cand, cur, 65535); // get Hadamaard transform SAD
94 d = SATD_MB(hpel_cand[h], cur, dmin);
118 d = SATD_MB(encvid->qpel_cand[q], cur, dmin);
608 int SATD_MB(uint8 *cand, uint8 *cur, int dmin) argument
614 cost = AVCSAD_Macroblock_C(cand, cur, dmin, NULL);
H A Dslice.cpp163 uint8 *cur, *curL, *curCb, *curCr; local
231 cur = curL;
241 video->pred_block = cur;
242 numcoeff = dct_luma(encvid, blkidx, cur, org4, &cost8);
252 cur += ((picPitch << 2) - 4);
257 cur += 4;
282 cur -= 8;
287 cur += (8 - (picPitch << 3));
H A Dintra_est.cpp720 int blk_intra4x4_search(AVCEncObject *encvid, int blkidx, uint8 *cur, uint8 *org) argument
767 temp = *(uint32*)(cur - pitch);
780 temp = *(uint32*)(cur - pitch + 4);
793 cur--;
794 P_I = *cur;
795 P_J = *(cur += pitch);
796 P_K = *(cur += pitch);
797 P_L = *(cur + pitch);
798 cur -= (pitch << 1);
799 cur
[all...]
/frameworks/base/core/java/android/database/
H A DDatabaseUtils.java1028 Cursor cur = null;
1030 cur = mDb.rawQuery("PRAGMA table_info(" + mTableName + ")", null);
1031 mColumns = new HashMap<String, Integer>(cur.getCount());
1032 while (cur.moveToNext()) {
1033 String columnName = cur.getString(TABLE_INFO_PRAGMA_COLUMNNAME_INDEX);
1034 String defaultValue = cur.getString(TABLE_INFO_PRAGMA_DEFAULT_INDEX);
1049 sb.append(i == cur.getCount() ? ") " : ", ");
1050 sbv.append(i == cur.getCount() ? ");" : ", ");
1054 if (cur != null) cur
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfastcodemb.cpp530 Int Sad8x8(UChar *cur, UChar *prev, Int width) argument
532 UChar *end = cur + (width << 3);
534 Int *curInt = (Int*) cur;
543 cur1 = curInt[1]; /* load cur[4..7] */
545 curInt += (width >> 2); /* load cur[0..3] and +=lx */
594 Int getBlockSum(UChar *cur, Int width) argument
597 UChar *end = cur + (width << 3);
598 Int *curInt = (Int*)cur;
H A Dmp4lib_int.h242 void (*ComputeMBSum)(UChar *cur, Int lx, MOT *mot_mb);
243 void (*ChooseMode)(UChar *Mode, UChar *cur, Int lx, Int min_SAD);
/frameworks/base/core/java/android/util/
H A DMapCollections.java413 Object cur = colGetEntry(i, 1);
414 if (collection.contains(cur)) {
429 Object cur = colGetEntry(i, 1);
430 if (!collection.contains(cur)) {
/frameworks/support/v4/java/android/support/v4/content/
H A DFileProvider.java753 File cur = base;
756 cur = new File(cur, segment);
759 return cur;
/frameworks/support/v4/java/android/support/v4/util/
H A DMapCollections.java411 Object cur = colGetEntry(i, 1);
412 if (collection.contains(cur)) {
427 Object cur = colGetEntry(i, 1);
428 if (!collection.contains(cur)) {
/frameworks/native/opengl/libs/EGL/
H A DLoader.cpp329 struct dirent cur; local
331 while (readdir_r(d, &cur, &e) == 0 && e) {
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp1060 HWComposer::LayerListIterator cur = hwc.begin(id); local
1062 for (size_t i=0 ; cur!=end && i<count ; ++i, ++cur) {
1064 layer->setGeometry(hw, *cur);
1066 cur->setSkip(true);
1082 HWComposer::LayerListIterator cur = hwc.begin(id); local
1084 for (size_t i=0 ; cur!=end && i<count ; ++i, ++cur) {
1090 layer->setPerFrameData(hw, *cur);
1158 HWComposer::LayerListIterator cur local
1706 HWComposer::LayerListIterator cur = hwc.begin(id); local
[all...]
/frameworks/av/media/libmedia/
H A DIOMX.cpp529 ComponentInfo &cur = *it; local
531 reply->writeString8(cur.mName);
532 reply->writeInt32(cur.mRoles.size());
533 for (List<String8>::iterator role_it = cur.mRoles.begin();
534 role_it != cur.mRoles.end(); ++role_it) {
/frameworks/native/libs/input/
H A DKeyCharacterMap.cpp1060 for (const char* cur = str; ; cur++) {
1061 char ch = *cur;
1063 size_t len = cur - start;
1082 start = cur + 1;
/frameworks/base/services/java/com/android/server/content/
H A DSyncStorageEngine.java1000 PendingOperation cur = mPendingOperations.get(i);
1001 if (cur.account.equals(op.account)
1002 && cur.authority.equals(op.authority)
1003 && cur.userId == op.userId) {
1370 SyncStatusInfo cur = mSyncStatus.valueAt(i);
1371 AuthorityInfo ainfo = mAuthorities.get(cur.authorityId);
1376 return cur;
1390 SyncStatusInfo cur = mSyncStatus.valueAt(i);
1391 AuthorityInfo ainfo = mAuthorities.get(cur.authorityId);
1401 if (ainfo.authority.equals(authority) && cur
[all...]
/frameworks/av/media/libstagefright/
H A DMPEG4Extractor.cpp875 Track *cur = mFirstTrack; local
877 if (cur == mLastTrack) {
878 delete cur;
881 while (cur && cur->next != mLastTrack) {
882 cur = cur->next;
884 cur->next = NULL;
886 mLastTrack = cur;
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java264 int cur = screenLayout&SCREENLAYOUT_SIZE_MASK;
265 if (cur == SCREENLAYOUT_SIZE_UNDEFINED) return false;
266 return cur >= size;
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteConnection.cpp766 int cur = -1; local
768 sqlite3_db_status(connection->db, SQLITE_DBSTATUS_LOOKASIDE_USED, &cur, &unused, 0);
769 return cur;
/frameworks/native/cmds/installd/
H A Dutils.c424 static void* _cache_realloc(cache_t* cache, void* cur, size_t origLen, size_t len) argument
428 if (alloc != NULL && cur != NULL) {
429 memcpy(alloc, cur, origLen < len ? origLen : len);

Completed in 1139 milliseconds

123