Home
last modified time | relevance | path

Searched refs:rec (Results 1 – 23 of 23) sorted by relevance

/frameworks/native/libs/ui/
DGraphicBufferAllocator.cpp65 const alloc_rec_t& rec(list.valueAt(i)); in dump() local
66 if (rec.size) { in dump()
68 list.keyAt(i), rec.size/1024.0f, in dump()
69 rec.w, rec.s, rec.h, rec.format, rec.usage); in dump()
73 rec.w, rec.s, rec.h, rec.format, rec.usage); in dump()
76 total += rec.size; in dump()
119 alloc_rec_t rec; in alloc() local
120 rec.w = w; in alloc()
121 rec.h = h; in alloc()
122 rec.s = *stride; in alloc()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dfastidct.cpp47 tmp = *rec + tmp; \
49 *rec++ = tmp; \
54 *rec++ = tmp; \
313 void idct_row0Inter(Short *srce, UChar *rec, Int lx) in idct_row0Inter() argument
317 OSCL_UNUSED_ARG(rec); in idct_row0Inter()
324 void idct_row1Inter(Short *blk, UChar *rec, Int lx) in idct_row1Inter() argument
332 rec -= lx; in idct_row1Inter()
340 pred_word = *((uint32*)(rec += lx)); /* read 4 bytes from pred */ in idct_row1Inter()
352 *((uint32*)rec) = dst_word; /* save 4 bytes to dst */ in idct_row1Inter()
354 pred_word = *((uint32*)(rec + 4)); /* read 4 bytes from pred */ in idct_row1Inter()
[all …]
Ddct.h60 void idct_rowInter(Short *srce, UChar *rec, Int lx);
61 void idct_row0Inter(Short *blk, UChar *rec, Int lx);
62 void idct_row1Inter(Short *blk, UChar *rec, Int lx);
63 void idct_row2Inter(Short *blk, UChar *rec, Int lx);
64 void idct_row3Inter(Short *blk, UChar *rec, Int lx);
65 void idct_row4Inter(Short *blk, UChar *rec, Int lx);
66 void idct_row0x40Inter(Short *blk, UChar *rec, Int lx);
67 void idct_row0x20Inter(Short *blk, UChar *rec, Int lx);
68 void idct_row0x10Inter(Short *blk, UChar *rec, Int lx);
69 void idct_row0xCCInter(Short *blk, UChar *rec, Int lx);
[all …]
Dmotion_comp.cpp37 Int EncGetPredOutside(Int xpos, Int ypos, UChar *c_prev, UChar *rec,
352 UChar *rec, /* i */ in GetPredAdvBy0x0() argument
370 rec -= 16; /* preset */ in GetPredAdvBy0x0()
375 *((ULong*)(rec += 16)) = *((ULong*)(prev += lx)); in GetPredAdvBy0x0()
376 *((ULong*)(rec + 4)) = *((ULong*)(prev + 4)); in GetPredAdvBy0x0()
383 rec -= 16; /* preset */ in GetPredAdvBy0x0()
392 *((ULong*)(rec += 16)) = pred_word; in GetPredAdvBy0x0()
397 *((ULong*)(rec + 4)) = pred_word; in GetPredAdvBy0x0()
405 rec -= 16; /* preset */ in GetPredAdvBy0x0()
414 *((ULong*)(rec += 16)) = pred_word; in GetPredAdvBy0x0()
[all …]
Dfastcodemb.cpp79 UChar *rec, *input, *pred; in CodeMB_H263() local
129 rec = currVop->yChan + offset; in CodeMB_H263()
146 rec += 8; in CodeMB_H263()
154 rec += dctMode; in CodeMB_H263()
161 rec = currVop->uChan + offsetc; in CodeMB_H263()
182 rec = currVop->vChan + offsetc; in CodeMB_H263()
236 … BlockIDCTMotionComp(dataBlock, bitmapcol, bitmaprow[k], dctMode, rec, pred, (lx << 1) | intra); in CodeMB_H263()
310 UChar *rec, *input, *pred; in CodeMB_MPEG() local
356 rec = currVop->yChan + offset; in CodeMB_MPEG()
373 rec += 8; in CodeMB_MPEG()
[all …]
Dfastcodemb.h56 Int Sad8x8(UChar *rec, UChar *prev, Int lx);
57 Int getBlockSum(UChar *rec, Int lx);
98 Int dctMode, UChar *rec, Int lx, Int intra);
101 void PutSkippedBlock(UChar *rec, UChar *prev, Int lx);
Dmp4enc_lib.h55 Int Sad8x8(UChar *rec, UChar *prev, Int lx);
56 Int getBlockSum(UChar *rec, Int lx);
97 Int dctMode, UChar *rec, UChar *prev, Int lx_intra_zeroMV);
114 void PutSkippedBlock(UChar *rec, UChar *prev, Int lx);
/frameworks/base/core/java/android/text/method/
DMultiTapKeyListener.java110 int rec = (content.getSpanFlags(TextKeyListener.ACTIVE) in onKeyDown() local
115 rec >= 0 && rec < sRecs.size()) { in onKeyDown()
137 if (sRecs.indexOfKey(keyCode) == rec) { in onKeyDown()
138 String val = sRecs.valueAt(rec); in onKeyDown()
158 rec = sRecs.indexOfKey(keyCode); in onKeyDown()
160 if (rec >= 0) { in onKeyDown()
165 rec = sRecs.indexOfKey(keyCode); in onKeyDown()
168 if (rec >= 0) { in onKeyDown()
173 String val = sRecs.valueAt(rec); in onKeyDown()
208 (rec << Spannable.SPAN_USER_SHIFT)); in onKeyDown()
/frameworks/base/cmds/installd/
Dutils.c325 int get_path_from_env(dir_rec_t* rec, const char* var) { in get_path_from_env() argument
327 int ret = get_path_from_string(rec, path); in get_path_from_env()
341 int get_path_from_string(dir_rec_t* rec, const char* path) { in get_path_from_string() argument
358 rec->path = strdup(path); in get_path_from_string()
359 if (rec->path == NULL) { in get_path_from_string()
363 rec->len = path_len; in get_path_from_string()
371 rec->path = malloc(dst_size); in get_path_from_string()
372 if (rec->path == NULL) { in get_path_from_string()
376 dst = rec->path; in get_path_from_string()
384 rec->len = dst - rec->path; in get_path_from_string()
Dinstalld.h128 int get_path_from_env(dir_rec_t* rec, const char* var);
130 int get_path_from_string(dir_rec_t* rec, const char* path);
/frameworks/base/services/sensorservice/
DSensorService.cpp386 SensorRecord* rec = mActiveSensors.valueAt(i); in cleanupConnection() local
387 ALOGE_IF(!rec, "mActiveSensors[%d] is null (handle=0x%08x)!", i, handle); in cleanupConnection()
392 if (rec && rec->removeConnection(connection)) { in cleanupConnection()
396 delete rec; in cleanupConnection()
415 SensorRecord* rec = mActiveSensors.valueFor(handle); in enable() local
416 if (rec == 0) { in enable()
417 rec = new SensorRecord(connection); in enable()
418 mActiveSensors.add(handle, rec); in enable()
423 if (rec->addConnection(connection)) { in enable()
459 SensorRecord* rec = mActiveSensors.valueFor(handle); in disable() local
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DUsimPhoneBookManager.java218 AdnRecord rec = mPhoneBookRecords.get(i); in updatePhoneAdnRecord() local
219 if (rec != null) { in updatePhoneAdnRecord()
220 rec.setEmails(emails); in updatePhoneAdnRecord()
223 rec = new AdnRecord("", "", emails); in updatePhoneAdnRecord()
225 mPhoneBookRecords.set(i, rec); in updatePhoneAdnRecord()
249 AdnRecord rec = mPhoneBookRecords.get(i); in updatePhoneAdnRecord() local
253 rec.setEmails(emails); in updatePhoneAdnRecord()
254 mPhoneBookRecords.set(i, rec); in updatePhoneAdnRecord()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dchvr_filter.cpp24 uint8 *rec, in CombinedHorzVertRingFilter() argument
100 ptr = rec + (brwidth << 6) + (bc << 3); in CombinedHorzVertRingFilter()
259 ptr = rec + (brwidth << 6) + (bc << 3); in CombinedHorzVertRingFilter()
445 ptr = rec + (brwidth << 6) + (bc << 3); in CombinedHorzVertRingFilter()
467 … AdaptiveSmooth_NoMMX(rec, v0, h0, v0 + 1, h0 + 1, thres, width, max_diff); in CombinedHorzVertRingFilter()
529 ptr = rec + (brwidth << 6) + (bc << 3); in CombinedHorzVertRingFilter()
546 … AdaptiveSmooth_NoMMX(rec, v0, h0, v0 - 3, h0 - 3, thres, width, max_diff); in CombinedHorzVertRingFilter()
Dchv_filter.cpp177 uint8 *rec, in CombinedHorzVertFilter() argument
221 ptr = rec + (brwidth << 6) + (bc << 3); in CombinedHorzVertFilter()
337 ptr = rec + (brwidth << 6) + (bc << 3); in CombinedHorzVertFilter()
454 uint8 *rec, in CombinedHorzVertFilter_NoSoftDeblocking() argument
498 ptr = rec + (brwidth << 6) + (bc << 3); in CombinedHorzVertFilter_NoSoftDeblocking()
576 ptr = rec + (brwidth << 6) + (bc << 3); in CombinedHorzVertFilter_NoSoftDeblocking()
Dmp4dec_lib.h283 …void H263_Deblock(uint8 *rec, int width, int height, int16 *QP_store, uint8 *mode, int chr, int …
295 void CombinedHorzVertFilter(uint8 *rec, int width, int height, int16 *QP_store,
297 void CombinedHorzVertFilter_NoSoftDeblocking(uint8 *rec, int width, int height, int16 *QP_store,
299 void CombinedHorzVertRingFilter(uint8 *rec, int width, int height,
Dpost_filter.cpp176 void H263_Deblock(uint8 *rec, in H263_Deblock() argument
212 rec_y = rec + (width << 3); in H263_Deblock()
299 rec_y = rec + width * b_size; in H263_Deblock()
398 rec_y = rec + 8; in H263_Deblock()
488 rec_y = rec + b_size; in H263_Deblock()
/frameworks/base/core/java/android/os/
DBatteryStats.java1987 public void printNextItem(PrintWriter pw, HistoryItem rec, long now) { in printNextItem() argument
1989 TimeUtils.formatDuration(rec.time-now, pw, TimeUtils.HUNDRED_DAY_FIELD_LEN); in printNextItem()
1991 if (rec.cmd == HistoryItem.CMD_START) { in printNextItem()
1993 } else if (rec.cmd == HistoryItem.CMD_OVERFLOW) { in printNextItem()
1996 if (rec.batteryLevel < 10) pw.print("00"); in printNextItem()
1997 else if (rec.batteryLevel < 100) pw.print("0"); in printNextItem()
1998 pw.print(rec.batteryLevel); in printNextItem()
2000 if (rec.states < 0x10) pw.print("0000000"); in printNextItem()
2001 else if (rec.states < 0x100) pw.print("000000"); in printNextItem()
2002 else if (rec.states < 0x1000) pw.print("00000"); in printNextItem()
[all …]
/frameworks/compile/slang/
Dslang_rs_type_spec.h171 struct RSRecordType rec; member
179 #define RS_CAST_TO_RECORD_TYPE(R) (&((R)->rec))
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1370 HistoryItem rec = mHistoryCache; in addHistoryRecordLocked() local
1371 if (rec != null) { in addHistoryRecordLocked()
1372 mHistoryCache = rec.next; in addHistoryRecordLocked()
1374 rec = new HistoryItem(); in addHistoryRecordLocked()
1376 rec.setTo(mHistoryBaseTime + curTime, cmd, mHistoryCur); in addHistoryRecordLocked()
1378 addHistoryRecordLocked(rec); in addHistoryRecordLocked()
1381 void addHistoryRecordLocked(HistoryItem rec) { in addHistoryRecordLocked() argument
1383 rec.next = null; in addHistoryRecordLocked()
1386 mHistoryEnd.next = rec; in addHistoryRecordLocked()
1387 mHistoryEnd = rec; in addHistoryRecordLocked()
[all …]
/frameworks/base/services/java/com/android/server/am/
DActivityManagerService.java2924 ProcessRecord rec = mLruProcesses.get(i); in getLRURecordIndexForAppLocked() local
2925 if (rec.thread != null && rec.thread.asBinder() == threadBinder) { in getLRURecordIndexForAppLocked()
2972 ProcessRecord rec = mLruProcesses.get(i); in appDiedLocked() local
2973 if (rec.thread != null && rec.setAdj >= ProcessList.HIDDEN_APP_MIN_ADJ) { in appDiedLocked()
2983 ProcessRecord rec = mLruProcesses.get(i); in appDiedLocked() local
2984 if (rec != app && rec.thread != null && in appDiedLocked()
2985 (rec.lastLowMemory+GC_MIN_INTERVAL) <= now) { in appDiedLocked()
2989 if (rec.setAdj <= ProcessList.HEAVY_WEIGHT_APP_ADJ) { in appDiedLocked()
2990 rec.lastRequestedGc = 0; in appDiedLocked()
2992 rec.lastRequestedGc = rec.lastLowMemory; in appDiedLocked()
[all …]
DActivityStack.java3840 PendingIntentRecord rec = apr.get(); in cleanUpActivityLocked() local
3841 if (rec != null) { in cleanUpActivityLocked()
3842 mService.cancelIntentSenderLocked(rec, false); in cleanUpActivityLocked()
/frameworks/base/telephony/java/com/android/internal/telephony/
DRIL.java2755 for (CdmaInformationRecords rec : listInfoRecs) { in processUnsolicited()
2756 if (RILJ_LOGD) unsljLogRet(response, rec); in processUnsolicited()
2757 notifyRegistrantsCdmaInfoRec(rec); in processUnsolicited()
/frameworks/base/core/java/android/app/
DActivityManagerNative.java272 IIntentReceiver rec in onTransact() local
276 Intent intent = registerReceiver(app, packageName, rec, filter, perm); in onTransact()
294 IIntentReceiver rec = IIntentReceiver.Stub.asInterface(b); in onTransact() local
295 unregisterReceiver(rec); in onTransact()