/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
D | ProfiledWebView.java | 145 for (int frame = 0; frame < data.frames.length; frame++) { in stopScrollTest() 146 data.frames[frame] = new TileData[ in stopScrollTest() 147 tileProfilingNumTilesInFrame(frame)]; in stopScrollTest() 148 for (int tile = 0; tile < data.frames[frame].length; tile++) { in stopScrollTest() 149 int left = tileProfilingGetInt(frame, tile, "left"); in stopScrollTest() 150 int top = tileProfilingGetInt(frame, tile, "top"); in stopScrollTest() 151 int right = tileProfilingGetInt(frame, tile, "right"); in stopScrollTest() 152 int bottom = tileProfilingGetInt(frame, tile, "bottom"); in stopScrollTest() 155 frame, tile, "isReady") == 1; in stopScrollTest() 156 int level = tileProfilingGetInt(frame, tile, "level"); in stopScrollTest() [all …]
|
D | PlaybackGraphs.java | 50 public double getValue(TileData[] frame); in getValue() argument 61 public double getValue(TileData[] frame) { 62 int renderTimeUS = frame[0].level; 78 public double getValue(TileData[] frame) { 80 for (int tileID = 1; tileID < frame.length; tileID++) { 81 TileData data = frame[tileID]; 82 double coverage = viewportCoverage(frame[0], data); 177 TileData frame[] = data.frames[frameIndex]; in setData() local 178 int newBar = (frame[0].top + frame[0].bottom) / 2; in setData() 181 double absoluteValue = s.getValue(frame); in setData()
|
D | PlaybackView.java | 149 public int setFrame(int frame) { in setFrame() argument 159 for (TileData t : mProfData.frames[frame]) { in setFrame() 160 if (t == mProfData.frames[frame][0]){ in setFrame() 185 for (TileData t : mProfData.frames[frame]) { in setFrame() 186 if (t.level == INVAL_FLAG && t != mProfData.frames[frame][0]) { in setFrame() 212 TileDrawable viewShape = new TileDrawable(mProfData.frames[frame][0], in setFrame() 216 return frame; in setFrame()
|
/frameworks/base/media/libstagefright/ |
D | StagefrightMetadataRetriever.cpp | 228 VideoFrame *frame = new VideoFrame; in extractVideoFrameWithCodecFlags() local 229 frame->mWidth = crop_right - crop_left + 1; in extractVideoFrameWithCodecFlags() 230 frame->mHeight = crop_bottom - crop_top + 1; in extractVideoFrameWithCodecFlags() 231 frame->mDisplayWidth = frame->mWidth; in extractVideoFrameWithCodecFlags() 232 frame->mDisplayHeight = frame->mHeight; in extractVideoFrameWithCodecFlags() 233 frame->mSize = frame->mWidth * frame->mHeight * 2; in extractVideoFrameWithCodecFlags() 234 frame->mData = new uint8_t[frame->mSize]; in extractVideoFrameWithCodecFlags() 235 frame->mRotationAngle = rotationAngle; in extractVideoFrameWithCodecFlags() 239 frame->mDisplayWidth = displayWidth; in extractVideoFrameWithCodecFlags() 242 frame->mDisplayHeight = displayHeight; in extractVideoFrameWithCodecFlags() [all …]
|
D | AudioSource.cpp | 174 int16_t *frame = (int16_t *) data; in rampVolume() local 181 frame[0] = (frame[0] * fixedMultiplier) >> kShift; in rampVolume() 182 ++frame; in rampVolume() 185 frame[0] = (frame[0] * fixedMultiplier) >> kShift; in rampVolume() 186 frame[1] = (frame[1] * fixedMultiplier) >> kShift; in rampVolume() 187 frame += 2; in rampVolume()
|
D | CameraSource.cpp | 673 void CameraSource::releaseRecordingFrame(const sp<IMemory>& frame) { in releaseRecordingFrame() argument 676 mCameraRecordingProxy->releaseRecordingFrame(frame); in releaseRecordingFrame() 679 mCamera->releaseRecordingFrame(frame); in releaseRecordingFrame() 698 void CameraSource::releaseOneRecordingFrame(const sp<IMemory>& frame) { in releaseOneRecordingFrame() argument 699 releaseRecordingFrame(frame); in releaseOneRecordingFrame() 732 sp<IMemory> frame; in read() local 752 frame = *mFramesReceived.begin(); in read() 757 mFramesBeingEncoded.push_back(frame); in read() 758 *buffer = new MediaBuffer(frame->pointer(), frame->size()); in read()
|
D | FLACExtractor.cpp | 165 const FLAC__Frame *frame, const FLAC__int32 * const buffer[]); 191 const FLAC__Frame *frame, const FLAC__int32 * const buffer[], 245 const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, in write_callback() argument 248 return ((FLACParser *) client_data)->writeCallback(frame, buffer); in write_callback() 320 const FLAC__Frame *frame, const FLAC__int32 * const buffer[]) in writeCallback() argument 325 mWriteHeader = frame->header; in writeCallback()
|
/frameworks/base/media/libmediaplayerservice/ |
D | MetadataRetrieverClient.cpp | 175 VideoFrame *frame = mRetriever->getFrameAtTime(timeUs, option); in getFrameAtTime() local 176 if (frame == NULL) { in getFrameAtTime() 180 size_t size = sizeof(VideoFrame) + frame->mSize; in getFrameAtTime() 184 delete frame; in getFrameAtTime() 190 delete frame; in getFrameAtTime() 194 frameCopy->mWidth = frame->mWidth; in getFrameAtTime() 195 frameCopy->mHeight = frame->mHeight; in getFrameAtTime() 196 frameCopy->mDisplayWidth = frame->mDisplayWidth; in getFrameAtTime() 197 frameCopy->mDisplayHeight = frame->mDisplayHeight; in getFrameAtTime() 198 frameCopy->mSize = frame->mSize; in getFrameAtTime() [all …]
|
/frameworks/base/media/libstagefright/codecs/avc/common/src/ |
D | dpb.cpp | 95 …dpb->fs[num_fs]->frame.RefIdx = refIdx++; /* this value will remain unchanged through out the enco… in InitDPB() 96 dpb->fs[num_fs]->frame.picType = AVC_FRAME; in InitDPB() 97 dpb->fs[num_fs]->frame.isLongTerm = 0; in InitDPB() 98 dpb->fs[num_fs]->frame.isReference = 0; in InitDPB() 99 video->RefPicList0[num_fs] = &(dpb->fs[num_fs]->frame); in InitDPB() 100 dpb->fs[num_fs]->frame.padded = 0; in InitDPB() 280 video->currFS->frame.isReference = FALSE; in DPBInitPic() 281 video->currFS->frame.isLongTerm = FALSE; in DPBInitPic() 284 video->currFS->frame.Sl = video->currFS->frame.Scb = video->currFS->frame.Scr = NULL; in DPBInitPic() 290 video->currPic = &(video->currFS->frame); in DPBInitPic() [all …]
|
D | reflist.cpp | 53 dpb->fs[i]->frame.PicNum = dpb->fs[i]->FrameNumWrap; in RefListInit() 77 dpb->fs[i]->frame.PicNum = dpb->fs[i]->FrameNumWrap; in RefListInit() 78 video->RefPicList0[list0idx++] = &(dpb->fs[i]->frame); in RefListInit() 85 video->RefPicList0[0] = &(dpb->fs[0]->frame); in RefListInit() 98 dpb->fs[i]->frame.LongTermPicNum = dpb->fs[i]->LongTermFrameIdx; in RefListInit() 99 video->RefPicList0[list0idx++] = &(dpb->fs[i]->frame); in RefListInit() 364 if ((dpb->fs[i]->frame.isLongTerm == FALSE) && (dpb->fs[i]->frame.PicNum == picNum)) in GetShortTermPic() 366 return &(dpb->fs[i]->frame); in GetShortTermPic() 385 …if ((dpb->fs[i]->frame.isLongTerm == TRUE) && (dpb->fs[i]->frame.LongTermPicNum == LongtermPicNum)) in GetLongTermPic() 387 return &(dpb->fs[i]->frame); in GetLongTermPic()
|
/frameworks/base/services/java/com/android/server/wm/ |
D | WindowState.java | 443 final Rect frame = mFrame; in computeFrameLw() local 444 final int fw = frame.width(); in computeFrameLw() 445 final int fh = frame.height(); in computeFrameLw() 461 (int) (y + mAttrs.verticalMargin * ph), frame); in computeFrameLw() 466 Gravity.applyDisplay(mAttrs.gravity, df, frame); in computeFrameLw() 470 if (content.left < frame.left) content.left = frame.left; in computeFrameLw() 471 if (content.top < frame.top) content.top = frame.top; in computeFrameLw() 472 if (content.right > frame.right) content.right = frame.right; in computeFrameLw() 473 if (content.bottom > frame.bottom) content.bottom = frame.bottom; in computeFrameLw() 474 if (visible.left < frame.left) visible.left = frame.left; in computeFrameLw() [all …]
|
D | InputMonitor.java | 216 final Rect frame = child.mFrame; in updateInputWindowsLw() local 217 inputWindowHandle.frameLeft = frame.left; in updateInputWindowsLw() 218 inputWindowHandle.frameTop = frame.top; in updateInputWindowsLw() 219 inputWindowHandle.frameRight = frame.right; in updateInputWindowsLw() 220 inputWindowHandle.frameBottom = frame.bottom; in updateInputWindowsLw()
|
/frameworks/base/core/java/android/widget/ |
D | SlidingDrawer.java | 358 final Rect frame = mFrame; in onInterceptTouchEvent() local 361 handle.getHitRect(frame); in onInterceptTouchEvent() 362 if (!mTracking && !frame.contains((int) x, (int) y)) { in onInterceptTouchEvent() 581 final Rect frame = mFrame; in moveHandle() local 584 handle.getHitRect(frame); in moveHandle() 585 region.set(frame); in moveHandle() 587 region.union(frame.left, frame.top - deltaY, frame.right, frame.bottom - deltaY); in moveHandle() 588 region.union(0, frame.bottom - deltaY, getWidth(), in moveHandle() 589 frame.bottom - deltaY + mContent.getHeight()); in moveHandle() 611 final Rect frame = mFrame; in moveHandle() local [all …]
|
D | ZoomButtonsController.java | 631 Rect frame = mTempRect; in findViewForTouch() local 642 child.getHitRect(frame); in findViewForTouch() 643 if (frame.contains(containerCoordsX, containerCoordsY)) { in findViewForTouch() 648 if (containerCoordsX >= frame.left && containerCoordsX <= frame.right) { in findViewForTouch() 651 distanceX = Math.min(Math.abs(frame.left - containerCoordsX), in findViewForTouch() 652 Math.abs(containerCoordsX - frame.right)); in findViewForTouch() 655 if (containerCoordsY >= frame.top && containerCoordsY <= frame.bottom) { in findViewForTouch() 658 distanceY = Math.min(Math.abs(frame.top - containerCoordsY), in findViewForTouch() 659 Math.abs(containerCoordsY - frame.bottom)); in findViewForTouch()
|
D | AbsSpinner.java | 340 Rect frame = mTouchFrame; in pointToPosition() local 341 if (frame == null) { in pointToPosition() 343 frame = mTouchFrame; in pointToPosition() 350 child.getHitRect(frame); in pointToPosition() 351 if (frame.contains(x, y)) { in pointToPosition()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ColoredRectsActivity.java | 38 FrameLayout frame = new FrameLayout(this); in onCreate() local 40 frame.addView(gpuView); in onCreate() 43 frame.addView(swView); in onCreate() 48 frame.addView(hwBothView); in onCreate() 51 frame.addView(swBothView); in onCreate() 52 setContentView(frame); in onCreate()
|
D | PointsActivity.java | 50 FrameLayout frame = new FrameLayout(this); in onCreate() local 52 frame.addView(gpuView); in onCreate() 55 frame.addView(swView); in onCreate() 56 container.addView(frame); in onCreate()
|
D | Lines2Activity.java | 38 FrameLayout frame = new FrameLayout(this); in onCreate() local 40 frame.addView(gpuView); in onCreate() 43 frame.addView(swView); in onCreate() 48 frame.addView(hwBothView); in onCreate() 51 frame.addView(swBothView); in onCreate() 52 setContentView(frame); in onCreate()
|
/frameworks/base/media/libstagefright/matroska/ |
D | MatroskaExtractor.cpp | 354 MediaBuffer *frame = *mPendingFrames.begin(); in clearPendingFrames() local 357 frame->release(); in clearPendingFrames() 358 frame = NULL; in clearPendingFrames() 374 const mkvparser::Block::Frame &frame = block->GetFrame(i); in readBlock() local 376 MediaBuffer *mbuf = new MediaBuffer(frame.len); in readBlock() 380 long n = frame.Read(mExtractor->mReader, (unsigned char *)mbuf->data()); in readBlock() 423 MediaBuffer *frame = *mPendingFrames.begin(); in read() local 427 *out = frame; in read() 439 (const uint8_t *)frame->data() + frame->range_offset(); in read() 441 size_t srcSize = frame->range_length(); in read() [all …]
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AnimationDrawable.java | 193 public void addFrame(Drawable frame, int duration) { in addFrame() argument 194 mAnimationState.addFrame(frame, duration); in addFrame() 209 private void setFrame(int frame, boolean unschedule, boolean animate) { in setFrame() argument 210 if (frame >= mAnimationState.getChildCount()) { in setFrame() 213 mCurFrame = frame; in setFrame() 214 selectDrawable(frame); in setFrame() 219 scheduleSelf(this, SystemClock.uptimeMillis() + mAnimationState.mDurations[frame]); in setFrame()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 424 Animation::Frame frame; in movie() local 425 frame.name = leaf; in movie() 426 frame.map = map; in movie() 428 part.frames.add(frame); in movie() 471 const Animation::Frame& frame(part.frames[j]); in movie() local 474 glBindTexture(GL_TEXTURE_2D, frame.tid); in movie() 477 glGenTextures(1, &frame.tid); in movie() 478 glBindTexture(GL_TEXTURE_2D, frame.tid); in movie() 483 frame.map->getDataPtr(), in movie() 484 frame.map->getDataLength()); in movie() [all …]
|
/frameworks/base/tests/DumpRenderTree/assets/results/ |
D | layout_tests_failed.txt | 84 /sdcard/android/layout_tests/editing/pasteboard/drag-image-in-about-blank-frame.html 157 /sdcard/android/layout_tests/fast/encoding/frame-default-enc.html 178 /sdcard/android/layout_tests/fast/events/frame-tab-focus.html 187 /sdcard/android/layout_tests/fast/events/frame-programmatic-focus.html 190 /sdcard/android/layout_tests/fast/events/mouse-drag-from-frame-to-other-frame.html 212 /sdcard/android/layout_tests/fast/events/frame-click-focus.html 219 /sdcard/android/layout_tests/fast/events/contextmenu-scrolled-page-with-frame.html 234 /sdcard/android/layout_tests/fast/events/mouse-drag-from-frame.html 239 /sdcard/android/layout_tests/fast/events/open-window-from-another-frame.html 301 /sdcard/android/layout_tests/fast/dom/set-frame-src-while-running-script-in-frame.html [all …]
|
/frameworks/base/docs/html/guide/topics/graphics/ |
D | drawable-animation.jd | 15 your Android project. In this case, the instructions are the order and duration for each frame of 19 series of child <code><item></code> nodes that each define a frame: a drawable resource for 20 the frame and the frame duration. Here's an example XML file for a Drawable animation:</p> 32 frame. If it is set <var>false</var> then the animation will loop. With this XML saved as
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 284 final Rect frame = sh.getSurfaceFrame(); in drawFrameLocked() local 285 final int dw = frame.width(); in drawFrameLocked() 286 final int dh = frame.height(); in drawFrameLocked() 387 final Rect frame = sh.getSurfaceFrame(); 390 ortho.loadOrtho(0.0f, frame.width(), frame.height(), 0.0f, -1.0f, 1.0f); 404 glViewport(0, 0, frame.width(), frame.height());
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/ |
D | FrameLayoutMarginTest.java | 17 package android.widget.layout.frame; 25 import android.widget.layout.frame.FrameLayoutMargin;
|