Home
last modified time | relevance | path

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

12

/frameworks/native/libs/ui/
DGraphicBufferAllocator.cpp79 const alloc_rec_t& rec(list.valueAt(i)); in dump() local
80 if (rec.size) { in dump()
83 list.keyAt(i), rec.size / 1024.0, rec.width, rec.stride, rec.height, in dump()
84 rec.layerCount, rec.format, rec.usage, rec.requestorName.c_str()); in dump()
88 list.keyAt(i), rec.width, rec.stride, rec.height, rec.layerCount, in dump()
89 rec.format, rec.usage, rec.requestorName.c_str()); in dump()
91 total += rec.size; in dump()
130 alloc_rec_t rec; in allocate() local
131 rec.width = width; in allocate()
132 rec.height = height; in allocate()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPlmnActRecordTest.java43 PlmnActRecord rec = new PlmnActRecord(TEST_PLMN_5DIGIT, ACCESS_TECHS_3GPP); in testConstructors() local
44 assertEquals(TEST_PLMN_5DIGIT, rec.plmn); in testConstructors()
45 assertEquals(ACCESS_TECHS_3GPP, rec.accessTechs); in testConstructors()
48 assertEquals(TEST_PLMN_5DIGIT, rec.plmn); in testConstructors()
49 assertEquals(ACCESS_TECHS_3GPP, rec.accessTechs); in testConstructors()
51 assertEquals(rec, rec2); in testConstructors()
53 rec = new PlmnActRecord(TEST_PLMN_6DIGIT, ACCESS_TECHS_3GPP); in testConstructors()
54 assertEquals(TEST_PLMN_6DIGIT, rec.plmn); in testConstructors()
55 assertEquals(ACCESS_TECHS_3GPP, rec.accessTechs); in testConstructors()
58 assertEquals(TEST_PLMN_6DIGIT, rec.plmn); in testConstructors()
[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);
/frameworks/base/services/core/java/com/android/server/am/
DPendingIntentController.java116 PendingIntentRecord rec = ref != null ? ref.get() : null; in getIntentSender() local
117 if (rec != null) { in getIntentSender()
120 if (rec.key.requestIntent != null) { in getIntentSender()
121 rec.key.requestIntent.replaceExtras(intents != null ? in getIntentSender()
125 intents[intents.length - 1] = rec.key.requestIntent; in getIntentSender()
126 rec.key.allIntents = intents; in getIntentSender()
127 rec.key.allResolvedTypes = resolvedTypes; in getIntentSender()
129 rec.key.allIntents = null; in getIntentSender()
130 rec.key.allResolvedTypes = null; in getIntentSender()
133 return rec; in getIntentSender()
[all …]
/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/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
Dfind_region.rs71 static int4 padRegionRect_ss(float4 rec) {
72 int width = rec.z - rec.x;
73 int height = rec.w - rec.y;
77 int4 out = {(int)(rec.x - 1), (int)(rec.y - 1), mWidth + (int)(rec.x - 1),
78 mHeight + (int)(rec.y - 1)};
130 static int width(int4 rec) { return rec.z - rec.x; }
131 static int height(int4 rec) { return rec.w - rec.y; }
DHealing.java49 private static Bitmap buildMask(Rect rec, float[] xy) { in buildMask() argument
50 Bitmap bitmap = Bitmap.createBitmap(rec.width(), rec.height(), Bitmap.Config.ALPHA_8); in buildMask()
59 path.moveTo(xy[i] - rec.left, xy[i + 1] - rec.top); in buildMask()
61 path.lineTo(xy[i] - rec.left, xy[i + 1] - rec.top); in buildMask()
/frameworks/base/services/core/java/com/android/server/incident/
DPendingReports.java186 final PendingReportRec rec; in approveReport() local
188 rec = findAndRemovePendingReportRecLocked(uri); in approveReport()
189 if (rec == null) { in approveReport()
201 rec.listener.onReportApproved(); in approveReport()
211 final PendingReportRec rec; in denyReport() local
213 rec = findAndRemovePendingReportRecLocked(uri); in denyReport()
214 if (rec == null) { in denyReport()
226 rec.listener.onReportDenied(); in denyReport()
292 PendingReportRec rec = null; in authorizeReportImpl() local
294 rec = new PendingReportRec(callingPackage, receiverClass, reportId, flags, listener); in authorizeReportImpl()
[all …]
/frameworks/base/core/java/android/text/method/
DMultiTapKeyListener.java113 int rec = (content.getSpanFlags(TextKeyListener.ACTIVE) in onKeyDown() local
118 rec >= 0 && rec < sRecs.size()) { in onKeyDown()
140 if (sRecs.indexOfKey(keyCode) == rec) { in onKeyDown()
141 String val = sRecs.valueAt(rec); in onKeyDown()
161 rec = sRecs.indexOfKey(keyCode); in onKeyDown()
163 if (rec >= 0) { in onKeyDown()
168 rec = sRecs.indexOfKey(keyCode); in onKeyDown()
171 if (rec >= 0) { in onKeyDown()
176 String val = sRecs.valueAt(rec); in onKeyDown()
211 (rec << Spannable.SPAN_USER_SHIFT)); in onKeyDown()
/frameworks/base/libs/hwui/
DSkiaCanvas.cpp127 const auto* rec = this->currentSaveRec(); in restore() local
128 if (!rec) { in restore()
134 bool preserveMatrix = !(rec->saveFlags & SaveFlags::Matrix); in restore()
135 bool preserveClip = !(rec->saveFlags & SaveFlags::Clip); in restore()
142 const size_t clipIndex = rec->clipIndex; in restore()
175 const SkCanvas::SaveLayerRec rec(&bounds, paint, layerFlags(flags)); in saveLayer() local
177 return mCanvas->saveLayer(rec); in saveLayer()
248 const SaveRec* rec = mSaveStack ? static_cast<const SaveRec*>(mSaveStack->back()) : nullptr; in currentSaveRec() local
250 SkASSERT(!rec || currentSaveCount >= rec->saveCount); in currentSaveRec()
252 return (rec && rec->saveCount == currentSaveCount) ? rec : nullptr; in currentSaveRec()
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java6223 public void printNextItem(PrintWriter pw, HistoryItem rec, long baseTime, boolean checkin, in printNextItem() argument
6225 pw.print(printNextItem(rec, baseTime, checkin, verbose)); in printNextItem()
6229 public void printNextItem(ProtoOutputStream proto, HistoryItem rec, long baseTime, in printNextItem() argument
6231 String item = printNextItem(rec, baseTime, true, verbose); in printNextItem()
6237 private String printNextItem(HistoryItem rec, long baseTime, boolean checkin, in printNextItem() argument
6243 rec.time - baseTime, item, TimeUtils.HUNDRED_DAY_FIELD_LEN); in printNextItem()
6245 item.append(rec.numReadInts); in printNextItem()
6251 item.append(rec.time - baseTime); in printNextItem()
6253 item.append(rec.time - lastTime); in printNextItem()
6255 lastTime = rec.time; in printNextItem()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DDumpUtils.java271 return rec -> false; in filterRecord()
303 return rec -> (rec != null) && filterCname.equals(rec.getComponentName()); in filterRecord()
309 return rec -> { in filterRecord()
310 final ComponentName cn = rec.getComponentName(); in filterRecord()
311 return ((id != -1) && (System.identityHashCode(rec) == id)) in filterRecord()
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DHealing.java49 private static Bitmap buildMask(Rect rec, float[] xy) { in buildMask() argument
50 Bitmap bitmap = Bitmap.createBitmap(rec.width(), rec.height(), Bitmap.Config.ALPHA_8); in buildMask()
59 path.moveTo(xy[i] - rec.left, xy[i + 1] - rec.top); in buildMask()
61 path.lineTo(xy[i] - rec.left, xy[i + 1] - rec.top); in buildMask()
DFindRegion.java171 private static Bitmap buildMask(Rect rec, float[] xy) { in buildMask() argument
172 Bitmap bitmap = Bitmap.createBitmap(rec.width(), rec.height(), Bitmap.Config.ALPHA_8); in buildMask()
181 path.moveTo(xy[i] - rec.left, xy[i + 1] - rec.top); in buildMask()
183 path.lineTo(xy[i] - rec.left, xy[i + 1] - rec.top); in buildMask()
/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/services/core/java/com/android/server/
DStorageManagerService.java397 final VolumeRecord rec = findRecordForPath(path); in scrubPath() local
398 if (rec == null || rec.createdMillis == 0) { in scrubPath()
401 return "ext:" + (int) ((System.currentTimeMillis() - rec.createdMillis) in scrubPath()
429 final VolumeRecord rec = mRecords.get(vol.fsUuid); in shouldBenchmark() local
430 if (vol.isMountedWritable() && rec != null) { in shouldBenchmark()
431 final long benchAge = System.currentTimeMillis() - rec.lastBenchMillis; in shouldBenchmark()
684 final VolumeRecord rec = (VolumeRecord) msg.obj; in handleMessage() local
685 forgetPartition(rec.partGuid, rec.fsUuid); in handleMessage()
1334 VolumeRecord rec = mRecords.get(vol.fsUuid); in onVolumeStateChangedLocked() local
1335 if (rec == null) { in onVolumeStateChangedLocked()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java80 public void onVolumeRecordChanged(VolumeRecord rec) {
84 final VolumeInfo vol = mStorageManager.findVolumeByUuid(rec.getFsUuid());
192 for (VolumeRecord rec : recs) { in updateMissingPrivateVolumes()
193 if (rec.getType() != VolumeInfo.TYPE_PRIVATE) continue; in updateMissingPrivateVolumes()
195 final String fsUuid = rec.getFsUuid(); in updateMissingPrivateVolumes()
197 if ((info != null && info.isMountedWritable()) || rec.isSnoozed()) { in updateMissingPrivateVolumes()
205 rec.getNickname()); in updateMissingPrivateVolumes()
215 .setContentIntent(buildForgetPendingIntent(rec)) in updateMissingPrivateVolumes()
352 final VolumeRecord rec = mStorageManager.findRecordByUuid(vol.getFsUuid()); in onVolumeMounted() local
357 if (rec.isSnoozed() && disk.isAdoptable()) { in onVolumeMounted()
[all …]
/frameworks/native/services/sensorservice/
DSensorService.cpp829 SensorRecord* rec = mActiveSensors.valueFor(sensor_handle); in threadLoop() local
830 if (rec != nullptr) { in threadLoop()
831 mMapFlushEventsToConnections[i] = rec->getFirstPendingFlushConnection(); in threadLoop()
832 rec->removeFirstPendingFlushConnection(); in threadLoop()
1377 SensorRecord* rec = mActiveSensors.valueAt(i); in cleanupConnection() local
1378 ALOGE_IF(!rec, "mActiveSensors[%zu] is null (handle=0x%08x)!", i, handle); in cleanupConnection()
1383 if (rec && rec->removeConnection(connection)) { in cleanupConnection()
1387 delete rec; in cleanupConnection()
1442 SensorRecord* rec = mActiveSensors.valueFor(handle); in enable() local
1443 if (rec == nullptr) { in enable()
[all …]

12