/frameworks/native/libs/ui/ |
D | GraphicBufferAllocator.cpp | 80 const alloc_rec_t& rec(list.valueAt(i)); in dump() local 81 if (rec.size) { in dump() 84 … list.keyAt(i), static_cast<double>(rec.size) / 1024.0, rec.width, rec.stride, rec.height, in dump() 85 rec.layerCount, rec.format, rec.usage, rec.requestorName.c_str()); in dump() 89 list.keyAt(i), rec.width, rec.stride, rec.height, rec.layerCount, in dump() 90 rec.format, rec.usage, rec.requestorName.c_str()); in dump() 92 total += rec.size; in dump() 149 alloc_rec_t rec; in allocate() local 150 rec.width = width; in allocate() 151 rec.height = height; in allocate() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PlmnActRecordTest.java | 43 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/ |
D | fastidct.cpp | 47 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 …]
|
D | dct.h | 60 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 …]
|
D | motion_comp.cpp | 37 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 …]
|
D | fastcodemb.cpp | 79 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 …]
|
D | fastcodemb.h | 56 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/ |
D | PendingIntentController.java | 117 PendingIntentRecord rec = ref != null ? ref.get() : null; in getIntentSender() local 118 if (rec != null) { in getIntentSender() 121 if (rec.key.requestIntent != null) { in getIntentSender() 122 rec.key.requestIntent.replaceExtras(intents != null ? in getIntentSender() 126 intents[intents.length - 1] = rec.key.requestIntent; in getIntentSender() 127 rec.key.allIntents = intents; in getIntentSender() 128 rec.key.allResolvedTypes = resolvedTypes; in getIntentSender() 130 rec.key.allIntents = null; in getIntentSender() 131 rec.key.allResolvedTypes = null; in getIntentSender() 134 return rec; in getIntentSender() [all …]
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
D | StaggeredGridView.java | 517 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/services/core/java/com/android/server/incident/ |
D | PendingReports.java | 186 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/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
D | find_region.rscript | 71 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; }
|
D | Healing.java | 49 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/core/java/android/text/method/ |
D | MultiTapKeyListener.java | 113 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/ |
D | SkiaCanvas.cpp | 127 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/ |
D | BatteryStats.java | 6275 public void printNextItem(PrintWriter pw, HistoryItem rec, long baseTime, boolean checkin, in printNextItem() argument 6277 pw.print(printNextItem(rec, baseTime, checkin, verbose)); in printNextItem() 6281 public void printNextItem(ProtoOutputStream proto, HistoryItem rec, long baseTime, in printNextItem() argument 6283 String item = printNextItem(rec, baseTime, true, verbose); in printNextItem() 6289 private String printNextItem(HistoryItem rec, long baseTime, boolean checkin, in printNextItem() argument 6295 rec.time - baseTime, item, TimeUtils.HUNDRED_DAY_FIELD_LEN); in printNextItem() 6297 item.append(rec.numReadInts); in printNextItem() 6303 item.append(rec.time - baseTime); in printNextItem() 6305 item.append(rec.time - lastTime); in printNextItem() 6307 lastTime = rec.time; in printNextItem() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | DumpUtils.java | 271 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/ |
D | Healing.java | 49 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()
|
D | FindRegion.java | 171 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()
|
D | find_region.rscript | 56 static int4 padRegionRect(float4 rec) { 57 int width = rec.z; 58 int height = rec.w; 61 int4 out = {(int)(rec.x - 1 ),(int)(rec.y - 1), width, height};
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 397 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/ |
D | StorageNotification.java | 80 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/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | post_filter.cpp | 30 void H263_Deblock(uint8 *rec, in H263_Deblock() argument 66 rec_y = rec + (width << 3); in H263_Deblock() 153 rec_y = rec + width * b_size; in H263_Deblock() 252 rec_y = rec + 8; in H263_Deblock() 342 rec_y = rec + b_size; in H263_Deblock()
|
D | mp4dec_lib.h | 252 …void H263_Deblock(uint8 *rec, int width, int height, int16 *QP_store, uint8 *mode, int chr, int … 264 void CombinedHorzVertFilter(uint8 *rec, int width, int height, int16 *QP_store, 266 void CombinedHorzVertFilter_NoSoftDeblocking(uint8 *rec, int width, int height, int16 *QP_store, 268 void CombinedHorzVertRingFilter(uint8 *rec, int width, int height,
|
/frameworks/native/services/sensorservice/ |
D | SensorService.cpp | 810 SensorRecord* rec = mActiveSensors.valueFor(sensor_handle); in threadLoop() local 811 if (rec != nullptr) { in threadLoop() 812 mMapFlushEventsToConnections[i] = rec->getFirstPendingFlushConnection(); in threadLoop() 813 rec->removeFirstPendingFlushConnection(); in threadLoop() 1342 SensorRecord* rec = mActiveSensors.valueAt(i); in cleanupConnection() local 1343 ALOGE_IF(!rec, "mActiveSensors[%zu] is null (handle=0x%08x)!", i, handle); in cleanupConnection() 1348 if (rec && rec->removeConnection(connection)) { in cleanupConnection() 1352 delete rec; in cleanupConnection() 1407 SensorRecord* rec = mActiveSensors.valueFor(handle); in enable() local 1408 if (rec == nullptr) { in enable() [all …]
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbHostManager.java | 300 ConnectionRecord rec = in addConnectionRecord() local 302 mConnections.add(rec); in addConnectionRecord() 304 mLastConnect = rec; in addConnectionRecord() 307 mConnected.put(deviceAddress, rec); in addConnectionRecord() 526 for (ConnectionRecord rec : mConnections) { in dump() 527 rec.dump(dump, "connections", UsbHostManagerProto.CONNECTIONS); in dump()
|