Home
last modified time | relevance | path

Searched refs:rec (Results 1 – 25 of 37) 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.width, rec.stride, rec.height, rec.format, rec.usage); in dump()
73 rec.width, rec.stride, rec.height, rec.format, rec.usage); in dump()
76 total += rec.size; in dump()
123 alloc_rec_t rec; in alloc() local
124 rec.width = width; in alloc()
125 rec.height = height; in alloc()
126 rec.stride = *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/com/android/internal/alsa/
DAlsaCardsParser.java147 for (AlsaCardRecord rec : mCardRecords) { in getCardRecordFor()
148 if (rec.mCardNum == cardNum) { in getCardRecordFor()
149 return rec; in getCardRecordFor()
161 for (AlsaCardRecord rec : mCardRecords) { in isCardUsb()
162 if (rec.mCardNum == cardNum) { in isCardUsb()
163 return rec.mIsUsb; in isCardUsb()
174 for (AlsaCardRecord rec : mCardRecords) { in getDefaultUsbCard()
175 if (rec.mIsUsb) { in getDefaultUsbCard()
176 return rec.mCardNum; in getDefaultUsbCard()
205 for (AlsaCardRecord rec : mCardRecords) { in getNewCardRecords()
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java4273 public void printNextItem(PrintWriter pw, HistoryItem rec, long baseTime, boolean checkin, in printNextItem() argument
4277 TimeUtils.formatDuration(rec.time - baseTime, pw, TimeUtils.HUNDRED_DAY_FIELD_LEN); in printNextItem()
4279 pw.print(rec.numReadInts); in printNextItem()
4285 pw.print(rec.time - baseTime); in printNextItem()
4287 pw.print(rec.time - lastTime); in printNextItem()
4289 lastTime = rec.time; in printNextItem()
4291 if (rec.cmd == HistoryItem.CMD_START) { in printNextItem()
4297 } else if (rec.cmd == HistoryItem.CMD_CURRENT_TIME in printNextItem()
4298 || rec.cmd == HistoryItem.CMD_RESET) { in printNextItem()
4302 if (rec.cmd == HistoryItem.CMD_RESET) { in printNextItem()
[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/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/base/libs/hwui/
DSkiaShader.cpp291 SkShader::ComposeRec rec; in tryStoreCompose() local
292 if (!shader.asACompose(&rec)) return false; in tryStoreCompose()
294 const SkiaShaderType shaderAType = getComposeSubType(*rec.fShaderA); in tryStoreCompose()
295 const SkiaShaderType shaderBType = getComposeSubType(*rec.fShaderB); in tryStoreCompose()
305 storeCompose(caches, *rec.fShaderA, *rec.fShaderB, in tryStoreCompose()
309 storeCompose(caches, *rec.fShaderB, *rec.fShaderA, in tryStoreCompose()
312 if (!SkXfermode::AsMode(rec.fMode, &description->shadersMode)) { in tryStoreCompose()
DSkiaCanvas.cpp234 const SaveRec* rec = (NULL == mSaveStack.get()) in restore() local
238 SkASSERT(NULL == rec || currentSaveCount >= rec->saveCount); in restore()
240 if (NULL == rec || rec->saveCount != currentSaveCount) { in restore()
246 bool preserveMatrix = !(rec->saveFlags & SkCanvas::kMatrix_SaveFlag); in restore()
247 bool preserveClip = !(rec->saveFlags & SkCanvas::kClip_SaveFlag); in restore()
314 SaveRec* rec = static_cast<SaveRec*>(mSaveStack->push_back()); in recordPartialSave() local
317 rec->saveCount = mCanvas->getSaveCount() - 1; in recordPartialSave()
318 rec->saveFlags = flags; in recordPartialSave()
/frameworks/base/services/core/java/com/android/server/
DMountService.java348 final VolumeRecord rec = findRecordForPath(path); in scrubPath() local
349 if (rec == null || rec.createdMillis == 0) { in scrubPath()
352 return "ext:" + (int) ((System.currentTimeMillis() - rec.createdMillis) in scrubPath()
374 final VolumeRecord rec = mRecords.get(vol.fsUuid); in shouldBenchmark() local
375 if (vol.isMountedReadable() && rec != null) { in shouldBenchmark()
376 final long benchAge = System.currentTimeMillis() - rec.lastBenchMillis; in shouldBenchmark()
1093 final VolumeRecord rec = findRecordForPath(path); in onEventLocked() local
1094 if (rec != null) { in onEventLocked()
1095 rec.lastBenchMillis = System.currentTimeMillis(); in onEventLocked()
1111 final VolumeRecord rec = findRecordForPath(path); in onEventLocked() local
[all …]
/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/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java80 public void onVolumeRecordChanged(VolumeRecord rec) {
84 final VolumeInfo vol = mStorageManager.findVolumeByUuid(rec.getFsUuid());
180 for (VolumeRecord rec : recs) { in updateMissingPrivateVolumes()
181 if (rec.getType() != VolumeInfo.TYPE_PRIVATE) continue; in updateMissingPrivateVolumes()
183 final String fsUuid = rec.getFsUuid(); in updateMissingPrivateVolumes()
185 if ((info != null && info.isMountedWritable()) || rec.isSnoozed()) { in updateMissingPrivateVolumes()
192 rec.getNickname()); in updateMissingPrivateVolumes()
200 .setContentIntent(buildForgetPendingIntent(rec)) in updateMissingPrivateVolumes()
320 final VolumeRecord rec = mStorageManager.findRecordByUuid(vol.getFsUuid()); in onVolumeMounted() local
325 if (rec.isSnoozed() && disk.isAdoptable()) { in onVolumeMounted()
[all …]
/frameworks/base/core/java/android/os/storage/
DIMountServiceListener.java96 final VolumeRecord rec = (VolumeRecord) data.readParcelable(null); in onTransact() local
97 onVolumeRecordChanged(rec); in onTransact()
209 public void onVolumeRecordChanged(VolumeRecord rec) throws RemoteException { in onVolumeRecordChanged() argument
214 _data.writeParcelable(rec, 0); in onVolumeRecordChanged()
303 public void onVolumeRecordChanged(VolumeRecord rec) throws RemoteException; in onVolumeRecordChanged() argument
DStorageManager.java176 public void onVolumeRecordChanged(VolumeRecord rec) { in onVolumeRecordChanged() argument
178 args.arg1 = rec; in onVolumeRecordChanged()
554 for (VolumeRecord rec : getVolumeRecords()) { in findRecordByUuid()
555 if (Objects.equals(rec.fsUuid, fsUuid)) { in findRecordByUuid()
556 return rec; in findRecordByUuid()
630 final VolumeRecord rec = findRecordByUuid(vol.fsUuid); in getBestVolumeDescription() local
631 if (rec != null && !TextUtils.isEmpty(rec.nickname)) { in getBestVolumeDescription()
632 return rec.nickname; in getBestVolumeDescription()
DStorageEventListener.java44 public void onVolumeRecordChanged(VolumeRecord rec) { in onVolumeRecordChanged() argument
/frameworks/native/services/sensorservice/
DSensorService.cpp573 SensorRecord* rec = mActiveSensors.valueFor(sensor_handle); in threadLoop() local
574 if (rec != NULL) { in threadLoop()
575 mMapFlushEventsToConnections[i] = rec->getFirstPendingFlushConnection(); in threadLoop()
576 rec->removeFirstPendingFlushConnection(); in threadLoop()
802 SensorRecord* rec = mActiveSensors.valueAt(i); in cleanupConnection() local
803 ALOGE_IF(!rec, "mActiveSensors[%zu] is null (handle=0x%08x)!", i, handle); in cleanupConnection()
808 if (rec && rec->removeConnection(connection)) { in cleanupConnection()
812 delete rec; in cleanupConnection()
852 SensorRecord* rec = mActiveSensors.valueFor(handle); in enable() local
853 if (rec == 0) { in enable()
[all …]
/frameworks/native/cmds/installd/
Dutils.cpp965 int get_path_from_env(dir_rec_t* rec, const char* var) { in get_path_from_env() argument
967 int ret = get_path_from_string(rec, path); in get_path_from_env()
981 int get_path_from_string(dir_rec_t* rec, const char* path) { in get_path_from_string() argument
998 rec->path = strdup(path); in get_path_from_string()
999 if (rec->path == NULL) { in get_path_from_string()
1003 rec->len = path_len; in get_path_from_string()
1011 rec->path = (char*) malloc(dst_size); in get_path_from_string()
1012 if (rec->path == NULL) { in get_path_from_string()
1016 dst = rec->path; in get_path_from_string()
1024 rec->len = dst - rec->path; in get_path_from_string()

12