/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/native/libs/ui/ |
D | GraphicBufferAllocator.cpp | 65 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/base/core/java/com/android/internal/alsa/ |
D | AlsaCardsParser.java | 153 for (AlsaCardRecord rec : mCardRecords) { in getCardRecordFor() 154 if (rec.mCardNum == cardNum) { in getCardRecordFor() 155 return rec; in getCardRecordFor() 167 for (AlsaCardRecord rec : mCardRecords) { in isCardUsb() 168 if (rec.mCardNum == cardNum) { in isCardUsb() 169 return rec.mIsUsb; in isCardUsb() 198 for (AlsaCardRecord rec : newRecs) { in getDefaultUsbCard() 200 Slog.d(TAG, rec.mCardName + " card:" + rec.mCardNum + " usb:" + rec.mIsUsb); in getDefaultUsbCard() 202 if (rec.mIsUsb) { in getDefaultUsbCard() 204 return rec.mCardNum; in getDefaultUsbCard() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | BatteryInfo.java | 220 final HistoryItem rec = new HistoryItem(); in parse() local 221 while (stats.getNextHistoryLocked(rec)) { in parse() 225 historyStart = rec.time; in parse() 227 if (rec.cmd == HistoryItem.CMD_CURRENT_TIME in parse() 228 || rec.cmd == HistoryItem.CMD_RESET) { in parse() 237 if (rec.currentTime > (lastWallTime + (180 * 24 * 60 * 60 * 1000L)) in parse() 238 || rec.time < (historyStart + (5 * 60 * 1000L))) { in parse() 241 lastWallTime = rec.currentTime; in parse() 242 lastRealtime = rec.time; in parse() 247 if (rec.isDeltaData()) { in parse() [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/core/java/android/text/method/ |
D | MultiTapKeyListener.java | 110 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/core/java/android/os/ |
D | BatteryStats.java | 4629 public void printNextItem(PrintWriter pw, HistoryItem rec, long baseTime, boolean checkin, in printNextItem() argument 4633 TimeUtils.formatDuration(rec.time - baseTime, pw, TimeUtils.HUNDRED_DAY_FIELD_LEN); in printNextItem() 4635 pw.print(rec.numReadInts); in printNextItem() 4641 pw.print(rec.time - baseTime); in printNextItem() 4643 pw.print(rec.time - lastTime); in printNextItem() 4645 lastTime = rec.time; in printNextItem() 4647 if (rec.cmd == HistoryItem.CMD_START) { in printNextItem() 4653 } else if (rec.cmd == HistoryItem.CMD_CURRENT_TIME in printNextItem() 4654 || rec.cmd == HistoryItem.CMD_RESET) { in printNextItem() 4658 if (rec.cmd == HistoryItem.CMD_RESET) { in printNextItem() [all …]
|
/frameworks/rs/java/tests/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()
|
/frameworks/native/services/sensorservice/ |
D | SensorService.cpp | 593 SensorRecord* rec = mActiveSensors.valueFor(sensor_handle); in threadLoop() local 594 if (rec != NULL) { in threadLoop() 595 mMapFlushEventsToConnections[i] = rec->getFirstPendingFlushConnection(); in threadLoop() 596 rec->removeFirstPendingFlushConnection(); in threadLoop() 957 SensorRecord* rec = mActiveSensors.valueAt(i); in cleanupConnection() local 958 ALOGE_IF(!rec, "mActiveSensors[%zu] is null (handle=0x%08x)!", i, handle); in cleanupConnection() 963 if (rec && rec->removeConnection(connection)) { in cleanupConnection() 967 delete rec; in cleanupConnection() 1004 SensorRecord* rec = mActiveSensors.valueFor(handle); in enable() local 1005 if (rec == 0) { in enable() [all …]
|
/frameworks/base/libs/hwui/ |
D | SkiaShader.cpp | 296 SkShader::ComposeRec rec; in tryStoreCompose() local 297 if (!shader.asACompose(&rec)) return false; in tryStoreCompose() 299 const SkiaShaderType shaderAType = getComposeSubType(*rec.fShaderA); in tryStoreCompose() 300 const SkiaShaderType shaderBType = getComposeSubType(*rec.fShaderB); in tryStoreCompose() 310 storeCompose(caches, *rec.fShaderA, *rec.fShaderB, in tryStoreCompose() 314 storeCompose(caches, *rec.fShaderB, *rec.fShaderA, in tryStoreCompose() 317 if (!SkXfermode::AsMode(rec.fMode, &description->shadersMode)) { in tryStoreCompose()
|
D | SkiaCanvas.cpp | 280 const SaveRec* rec = (NULL == mSaveStack.get()) in restore() local 284 SkASSERT(NULL == rec || currentSaveCount >= rec->saveCount); in restore() 286 if (NULL == rec || rec->saveCount != currentSaveCount) { in restore() 292 bool preserveMatrix = !(rec->saveFlags & SaveFlags::Matrix); in restore() 293 bool preserveClip = !(rec->saveFlags & SaveFlags::Clip); in restore() 346 const SkCanvas::SaveLayerRec rec(&bounds, paint, layerFlags(flags)); in saveLayer() local 348 int count = mCanvas->saveLayer(rec); in saveLayer() 384 SaveRec* rec = static_cast<SaveRec*>(mSaveStack->push_back()); in recordPartialSave() local 385 rec->saveCount = mCanvas->getSaveCount(); in recordPartialSave() 386 rec->saveFlags = flags; in recordPartialSave()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | chvr_filter.cpp | 24 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()
|
D | chv_filter.cpp | 177 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()
|
D | mp4dec_lib.h | 283 …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,
|
D | post_filter.cpp | 176 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/ |
D | StorageNotification.java | 81 public void onVolumeRecordChanged(VolumeRecord rec) { 85 final VolumeInfo vol = mStorageManager.findVolumeByUuid(rec.getFsUuid()); 186 for (VolumeRecord rec : recs) { in updateMissingPrivateVolumes() 187 if (rec.getType() != VolumeInfo.TYPE_PRIVATE) continue; in updateMissingPrivateVolumes() 189 final String fsUuid = rec.getFsUuid(); in updateMissingPrivateVolumes() 191 if ((info != null && info.isMountedWritable()) || rec.isSnoozed()) { in updateMissingPrivateVolumes() 198 rec.getNickname()); in updateMissingPrivateVolumes() 206 .setContentIntent(buildForgetPendingIntent(rec)) in updateMissingPrivateVolumes() 337 final VolumeRecord rec = mStorageManager.findRecordByUuid(vol.getFsUuid()); in onVolumeMounted() local 342 if (rec.isSnoozed() && disk.isAdoptable()) { in onVolumeMounted() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | MountService.java | 368 final VolumeRecord rec = findRecordForPath(path); in scrubPath() local 369 if (rec == null || rec.createdMillis == 0) { in scrubPath() 372 return "ext:" + (int) ((System.currentTimeMillis() - rec.createdMillis) in scrubPath() 400 final VolumeRecord rec = mRecords.get(vol.fsUuid); in shouldBenchmark() local 401 if (vol.isMountedWritable() && rec != null) { in shouldBenchmark() 402 final long benchAge = System.currentTimeMillis() - rec.lastBenchMillis; in shouldBenchmark() 1197 final VolumeRecord rec = findRecordForPath(path); in onEventLocked() local 1198 if (rec != null) { in onEventLocked() 1199 rec.lastBenchMillis = System.currentTimeMillis(); in onEventLocked() 1215 final VolumeRecord rec = findRecordForPath(path); in onEventLocked() local [all …]
|
/frameworks/base/core/java/android/os/storage/ |
D | IMountServiceListener.java | 96 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
|
D | StorageManager.java | 203 public void onVolumeRecordChanged(VolumeRecord rec) { in onVolumeRecordChanged() argument 205 args.arg1 = rec; in onVolumeRecordChanged() 573 for (VolumeRecord rec : getVolumeRecords()) { in findRecordByUuid() 574 if (Objects.equals(rec.fsUuid, fsUuid)) { in findRecordByUuid() 575 return rec; in findRecordByUuid() 649 final VolumeRecord rec = findRecordByUuid(vol.fsUuid); in getBestVolumeDescription() local 650 if (rec != null && !TextUtils.isEmpty(rec.nickname)) { in getBestVolumeDescription() 651 return rec.nickname; in getBestVolumeDescription()
|
/frameworks/native/cmds/installd/ |
D | utils.cpp | 1005 int get_path_from_env(dir_rec_t* rec, const char* var) { in get_path_from_env() argument 1007 int ret = get_path_from_string(rec, path); in get_path_from_env() 1021 int get_path_from_string(dir_rec_t* rec, const char* path) { in get_path_from_string() argument 1038 rec->path = strdup(path); in get_path_from_string() 1039 if (rec->path == NULL) { in get_path_from_string() 1043 rec->len = path_len; in get_path_from_string() 1051 rec->path = (char*) malloc(dst_size); in get_path_from_string() 1052 if (rec->path == NULL) { in get_path_from_string() 1056 dst = rec->path; in get_path_from_string() 1064 rec->len = dst - rec->path; in get_path_from_string()
|