Home
last modified time | relevance | path

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

12

/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/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java517 final LayoutRecord rec = mLayoutRecords.get(mFirstPosition + i); in recycleOffscreenViews() local
521 final int colTop = top - rec.getMarginAbove(col - lp.column); in recycleOffscreenViews()
522 final int colBottom = bottom + rec.getMarginBelow(col - lp.column); in recycleOffscreenViews()
812 final LayoutRecord rec = mLayoutRecords.get(position); in layoutChildren() local
813 if (rec != null && rec.height != childHeight) { in layoutChildren()
815 rec.height = childHeight; in layoutChildren()
819 if (rec != null && rec.span != span) { in layoutChildren()
821 rec.span = span; in layoutChildren()
844 LayoutRecord rec = mLayoutRecords.get(position); in layoutChildren() local
845 if (rec == null) { in layoutChildren()
[all …]
/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/libs/hwui/
DSkiaShader.cpp108 SkShader::ComposeRec rec; in getType() local
109 if (shader.asACompose(&rec)) { in getType()
110 const SkiaShaderType shaderAType = getType(*rec.fShaderA); in getType()
111 const SkiaShaderType shaderBType = getType(*rec.fShaderB); in getType()
439 SkShader::ComposeRec rec; in describe() local
440 if (!shader.asACompose(&rec)) { in describe()
443 SkiaShader::describe(caches, description, extensions, *rec.fShaderA); in describe()
444 SkiaShader::describe(caches, description, extensions, *rec.fShaderB); in describe()
445 if (SkiaShader::getType(*rec.fShaderA) == kBitmap_SkiaShaderType) { in describe()
448 if (!SkXfermode::AsMode(rec.fMode, &description.shadersMode)) { in describe()
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java3492 public void printNextItem(PrintWriter pw, HistoryItem rec, long baseTime, boolean checkin, in printNextItem() argument
3496 TimeUtils.formatDuration(rec.time - baseTime, pw, TimeUtils.HUNDRED_DAY_FIELD_LEN); in printNextItem()
3498 pw.print(rec.numReadInts); in printNextItem()
3504 pw.print(rec.time - baseTime); in printNextItem()
3506 pw.print(rec.time - lastTime); in printNextItem()
3508 lastTime = rec.time; in printNextItem()
3510 if (rec.cmd == HistoryItem.CMD_START) { in printNextItem()
3516 } else if (rec.cmd == HistoryItem.CMD_CURRENT_TIME in printNextItem()
3517 || rec.cmd == HistoryItem.CMD_RESET) { in printNextItem()
3521 if (rec.cmd == HistoryItem.CMD_RESET) { in printNextItem()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DUsimPhoneBookManager.java217 AdnRecord rec = mPhoneBookRecords.get(i); in updatePhoneAdnRecord() local
218 if (rec != null) { in updatePhoneAdnRecord()
219 rec.setEmails(emails); in updatePhoneAdnRecord()
222 rec = new AdnRecord("", "", emails); in updatePhoneAdnRecord()
224 mPhoneBookRecords.set(i, rec); in updatePhoneAdnRecord()
248 AdnRecord rec = mPhoneBookRecords.get(i); in updatePhoneAdnRecord() local
252 rec.setEmails(emails); in updatePhoneAdnRecord()
253 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/native/services/sensorservice/
DSensorService.cpp488 SensorRecord* rec = mActiveSensors.valueFor(sensor_handle); in threadLoop() local
489 if (rec != NULL) { in threadLoop()
490 mMapFlushEventsToConnections[i] = rec->getFirstPendingFlushConnection(); in threadLoop()
491 rec->removeFirstPendingFlushConnection(); in threadLoop()
685 SensorRecord* rec = mActiveSensors.valueAt(i); in cleanupConnection() local
686 ALOGE_IF(!rec, "mActiveSensors[%zu] is null (handle=0x%08x)!", i, handle); in cleanupConnection()
691 if (rec && rec->removeConnection(connection)) { in cleanupConnection()
695 delete rec; in cleanupConnection()
729 SensorRecord* rec = mActiveSensors.valueFor(handle); in enable() local
730 if (rec == 0) { in enable()
[all …]
/frameworks/base/core/jni/android/graphics/
DSkiaCanvas.cpp244 const SaveRec* rec = (NULL == mSaveStack.get()) in restore() local
248 SkASSERT(NULL == rec || currentSaveCount >= rec->saveCount); in restore()
250 if (NULL == rec || rec->saveCount != currentSaveCount) { in restore()
256 bool preserveMatrix = !(rec->saveFlags & SkCanvas::kMatrix_SaveFlag); in restore()
257 bool preserveClip = !(rec->saveFlags & SkCanvas::kClip_SaveFlag); in restore()
324 SaveRec* rec = static_cast<SaveRec*>(mSaveStack->push_back()); in recordPartialSave() local
327 rec->saveCount = mCanvas->getSaveCount() - 1; in recordPartialSave()
328 rec->saveFlags = flags; in recordPartialSave()
/frameworks/native/cmds/installd/
Dutils.c957 int get_path_from_env(dir_rec_t* rec, const char* var) { in get_path_from_env() argument
959 int ret = get_path_from_string(rec, path); in get_path_from_env()
973 int get_path_from_string(dir_rec_t* rec, const char* path) { in get_path_from_string() argument
990 rec->path = strdup(path); in get_path_from_string()
991 if (rec->path == NULL) { in get_path_from_string()
995 rec->len = path_len; in get_path_from_string()
1003 rec->path = malloc(dst_size); in get_path_from_string()
1004 if (rec->path == NULL) { in get_path_from_string()
1008 dst = rec->path; in get_path_from_string()
1016 rec->len = dst - rec->path; in get_path_from_string()
Dinstalld.h184 int get_path_from_env(dir_rec_t* rec, const char* var);
186 int get_path_from_string(dir_rec_t* rec, const char* path);
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java147 for (Object rec : ((ArrayMap) receiverMap).keySet()) { in setWebViewProxy()
148 Class clazz = rec.getClass(); in setWebViewProxy()
153 onReceiveMethod.invoke(rec, getApplicationContext(), intent); in setWebViewProxy()
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java679 final DisableRecord rec = mDisableRecords.get(i); in gatherDisableActionsLocked() local
680 if (rec.userId == userId) { in gatherDisableActionsLocked()
681 net |= rec.what; in gatherDisableActionsLocked()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java4600 ProcessRecord rec = mLruProcesses.get(i); in getLRURecordIndexForAppLocked() local
4601 if (rec.thread != null && rec.thread.asBinder() == threadBinder) { in getLRURecordIndexForAppLocked()
4624 ProcessRecord rec = mLruProcesses.get(i); in doLowMemReportIfNeededLocked() local
4625 if (rec.thread != null in doLowMemReportIfNeededLocked()
4626 && rec.setProcState >= ActivityManager.PROCESS_STATE_CACHED_ACTIVITY) { in doLowMemReportIfNeededLocked()
4647 ProcessRecord rec = mLruProcesses.get(i); in doLowMemReportIfNeededLocked() local
4648 if (rec == dyingProc || rec.thread == null) { in doLowMemReportIfNeededLocked()
4652 memInfos.add(new ProcessMemInfo(rec.processName, rec.pid, rec.setAdj, in doLowMemReportIfNeededLocked()
4653 rec.setProcState, rec.adjType, rec.makeAdjReason())); in doLowMemReportIfNeededLocked()
4655 if ((rec.lastLowMemory+GC_MIN_INTERVAL) <= now) { in doLowMemReportIfNeededLocked()
[all …]
DActivityStack.java2984 PendingIntentRecord rec = apr.get(); in cleanUpActivityLocked() local
2985 if (rec != null) { in cleanUpActivityLocked()
2986 mService.cancelIntentSenderLocked(rec, false); in cleanUpActivityLocked()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2402 HistoryItem rec = mHistoryCache; in addHistoryRecordLocked() local
2403 if (rec != null) { in addHistoryRecordLocked()
2404 mHistoryCache = rec.next; in addHistoryRecordLocked()
2406 rec = new HistoryItem(); in addHistoryRecordLocked()
2408 rec.setTo(mHistoryBaseTime + elapsedRealtimeMs, cmd, cur); in addHistoryRecordLocked()
2410 addHistoryRecordLocked(rec); in addHistoryRecordLocked()
2413 void addHistoryRecordLocked(HistoryItem rec) { in addHistoryRecordLocked() argument
2415 rec.next = null; in addHistoryRecordLocked()
2418 mHistoryEnd.next = rec; in addHistoryRecordLocked()
2419 mHistoryEnd = rec; in addHistoryRecordLocked()
[all …]

12