Home
last modified time | relevance | path

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

12

/frameworks/native/libs/ui/
DGraphicBufferAllocator.cpp64 const alloc_rec_t& rec(list.valueAt(i)); in dump() local
65 if (rec.size) { in dump()
68 list.keyAt(i), rec.size/1024.0, in dump()
69 rec.width, rec.stride, rec.height, rec.layerCount, rec.format, in dump()
70 rec.usage, rec.requestorName.c_str()); in dump()
75 rec.width, rec.stride, rec.height, rec.layerCount, rec.format, in dump()
76 rec.usage, rec.requestorName.c_str()); in dump()
79 total += rec.size; in dump()
123 alloc_rec_t rec; in allocate() local
124 rec.width = width; in allocate()
[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/core/java/com/android/internal/alsa/
DAlsaCardsParser.java153 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/
DBatteryInfo.java209 final HistoryItem rec = new HistoryItem(); in parse() local
210 while (stats.getNextHistoryLocked(rec)) { in parse()
214 historyStart = rec.time; in parse()
216 if (rec.cmd == HistoryItem.CMD_CURRENT_TIME in parse()
217 || rec.cmd == HistoryItem.CMD_RESET) { in parse()
226 if (rec.currentTime > (lastWallTime + (180 * 24 * 60 * 60 * 1000L)) in parse()
227 || rec.time < (historyStart + (5 * 60 * 1000L))) { in parse()
230 lastWallTime = rec.currentTime; in parse()
231 lastRealtime = rec.time; in parse()
236 if (rec.isDeltaData()) { in parse()
[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/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/core/java/android/os/
DBatteryStats.java5303 public void printNextItem(PrintWriter pw, HistoryItem rec, long baseTime, boolean checkin, in printNextItem() argument
5307 TimeUtils.formatDuration(rec.time - baseTime, pw, TimeUtils.HUNDRED_DAY_FIELD_LEN); in printNextItem()
5309 pw.print(rec.numReadInts); in printNextItem()
5315 pw.print(rec.time - baseTime); in printNextItem()
5317 pw.print(rec.time - lastTime); in printNextItem()
5319 lastTime = rec.time; in printNextItem()
5321 if (rec.cmd == HistoryItem.CMD_START) { in printNextItem()
5327 } else if (rec.cmd == HistoryItem.CMD_CURRENT_TIME in printNextItem()
5328 || rec.cmd == HistoryItem.CMD_RESET) { in printNextItem()
5332 if (rec.cmd == HistoryItem.CMD_RESET) { in printNextItem()
[all …]
/frameworks/base/libs/hwui/
DSkiaCanvas.cpp136 const auto* rec = this->currentSaveRec(); in restore() local
137 if (!rec) { in restore()
143 bool preserveMatrix = !(rec->saveFlags & SaveFlags::Matrix); in restore()
144 bool preserveClip = !(rec->saveFlags & SaveFlags::Clip); in restore()
151 const size_t clipIndex = rec->clipIndex; in restore()
189 const SkCanvas::SaveLayerRec rec(&bounds, paint, layerFlags(flags)); in saveLayer() local
191 return mCanvas->saveLayer(rec); in saveLayer()
245 const SaveRec* rec = mSaveStack in currentSaveRec() local
249 SkASSERT(!rec || currentSaveCount >= rec->saveCount); in currentSaveRec()
251 return (rec && rec->saveCount == currentSaveCount) ? rec : nullptr; in currentSaveRec()
[all …]
DSkiaShader.cpp300 SkShader::ComposeRec rec; in tryStoreCompose() local
301 if (!shader.asACompose(&rec)) return false; in tryStoreCompose()
303 const SkiaShaderType shaderAType = getComposeSubType(*rec.fShaderA); in tryStoreCompose()
304 const SkiaShaderType shaderBType = getComposeSubType(*rec.fShaderB); in tryStoreCompose()
314 storeCompose(caches, *rec.fShaderA, *rec.fShaderB, in tryStoreCompose()
318 storeCompose(caches, *rec.fShaderB, *rec.fShaderA, in tryStoreCompose()
321 description->shadersMode = rec.fBlendMode; in tryStoreCompose()
/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/support/core-utils/java/android/support/v4/content/
DLocalBroadcastManager.java179 final ReceiverRecord rec = receivers.get(k); in unregisterReceiver() local
180 if (rec.receiver == receiver) { in unregisterReceiver()
181 rec.dead = true; in unregisterReceiver()
306 final ReceiverRecord rec = br.receivers.get(j); in executePendingBroadcasts() local
307 if (!rec.dead) { in executePendingBroadcasts()
308 rec.receiver.onReceive(mAppContext, br.intent); in executePendingBroadcasts()
/frameworks/native/services/sensorservice/
DSensorService.cpp626 SensorRecord* rec = mActiveSensors.valueFor(sensor_handle); in threadLoop() local
627 if (rec != NULL) { in threadLoop()
628 mMapFlushEventsToConnections[i] = rec->getFirstPendingFlushConnection(); in threadLoop()
629 rec->removeFirstPendingFlushConnection(); in threadLoop()
1144 SensorRecord* rec = mActiveSensors.valueAt(i); in cleanupConnection() local
1145 ALOGE_IF(!rec, "mActiveSensors[%zu] is null (handle=0x%08x)!", i, handle); in cleanupConnection()
1150 if (rec && rec->removeConnection(connection)) { in cleanupConnection()
1154 delete rec; in cleanupConnection()
1201 SensorRecord* rec = mActiveSensors.valueFor(handle); in enable() local
1202 if (rec == 0) { in enable()
[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,
/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/base/services/core/java/com/android/server/
DStorageManagerService.java396 final VolumeRecord rec = findRecordForPath(path); in scrubPath() local
397 if (rec == null || rec.createdMillis == 0) { in scrubPath()
400 return "ext:" + (int) ((System.currentTimeMillis() - rec.createdMillis) in scrubPath()
428 final VolumeRecord rec = mRecords.get(vol.fsUuid); in shouldBenchmark() local
429 if (vol.isMountedWritable() && rec != null) { in shouldBenchmark()
430 final long benchAge = System.currentTimeMillis() - rec.lastBenchMillis; in shouldBenchmark()
1225 final VolumeRecord rec = findRecordForPath(path); in onEventLocked() local
1226 if (rec != null) { in onEventLocked()
1227 rec.lastBenchMillis = System.currentTimeMillis(); in onEventLocked()
1243 final VolumeRecord rec = findRecordForPath(path); in onEventLocked() local
[all …]
/frameworks/native/cmds/installd/
Dutils.cpp805 int get_path_from_env(dir_rec_t* rec, const char* var) { in get_path_from_env() argument
807 int ret = get_path_from_string(rec, path); in get_path_from_env()
821 int get_path_from_string(dir_rec_t* rec, const char* path) { in get_path_from_string() argument
838 rec->path = strdup(path); in get_path_from_string()
839 if (rec->path == NULL) { in get_path_from_string()
843 rec->len = path_len; in get_path_from_string()
851 rec->path = (char*) malloc(dst_size); in get_path_from_string()
852 if (rec->path == NULL) { in get_path_from_string()
856 dst = rec->path; in get_path_from_string()
864 rec->len = dst - rec->path; in get_path_from_string()

12