Home
last modified time | relevance | path

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

12

/frameworks/base/media/libmediaplayerservice/
DMetadataRetrieverClient.cpp247 VideoFrame *frame = mRetriever->captureFrame(); in captureFrame() local
248 if (frame == NULL) { in captureFrame()
252 size_t size = sizeof(VideoFrame) + frame->mSize; in captureFrame()
256 delete frame; in captureFrame()
263 delete frame; in captureFrame()
267 frameCopy->mWidth = frame->mWidth; in captureFrame()
268 frameCopy->mHeight = frame->mHeight; in captureFrame()
269 frameCopy->mDisplayWidth = frame->mDisplayWidth; in captureFrame()
270 frameCopy->mDisplayHeight = frame->mDisplayHeight; in captureFrame()
271 frameCopy->mSize = frame->mSize; in captureFrame()
[all …]
/frameworks/base/media/libstagefright/
DCameraSource.cpp35 CameraBuffer(const sp<IMemory> &frame) in CameraBuffer() argument
36 : MediaBuffer(frame->pointer(), frame->size()), in CameraBuffer()
37 mFrame(frame) { in CameraBuffer()
41 sp<IMemory> frame = mFrame; in releaseFrame() local
43 return frame; in releaseFrame()
177 sp<IMemory> frame; in read() local
185 frame = *mFrames.begin(); in read()
191 *buffer = new CameraBuffer(frame); in read()
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java358 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 …]
DZoomButtonsController.java625 Rect frame = mTempRect; in findViewForTouch() local
636 child.getHitRect(frame); in findViewForTouch()
637 if (frame.contains(containerCoordsX, containerCoordsY)) { in findViewForTouch()
642 if (containerCoordsX >= frame.left && containerCoordsX <= frame.right) { in findViewForTouch()
645 distanceX = Math.min(Math.abs(frame.left - containerCoordsX), in findViewForTouch()
646 Math.abs(containerCoordsX - frame.right)); in findViewForTouch()
649 if (containerCoordsY >= frame.top && containerCoordsY <= frame.bottom) { in findViewForTouch()
652 distanceY = Math.min(Math.abs(frame.top - containerCoordsY), in findViewForTouch()
653 Math.abs(containerCoordsY - frame.bottom)); in findViewForTouch()
DAbsSpinner.java359 Rect frame = mTouchFrame; in pointToPosition() local
360 if (frame == null) { in pointToPosition()
362 frame = mTouchFrame; in pointToPosition()
369 child.getHitRect(frame); in pointToPosition()
370 if (frame.contains(x, y)) { in pointToPosition()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimationDrawable.java191 public void addFrame(Drawable frame, int duration) { in addFrame() argument
192 mAnimationState.addFrame(frame, duration); in addFrame()
204 private void setFrame(int frame, boolean unschedule, boolean animate) { in setFrame() argument
205 if (frame >= mAnimationState.getChildCount()) { in setFrame()
208 mCurFrame = frame; in setFrame()
209 selectDrawable(frame); in setFrame()
214 scheduleSelf(this, SystemClock.uptimeMillis() + mAnimationState.mDurations[frame]); in setFrame()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp404 Animation::Frame frame; in movie() local
405 frame.name = leaf; in movie()
406 frame.map = map; in movie()
408 part.frames.add(frame); in movie()
450 const Animation::Frame& frame(part.frames[j]); in movie() local
453 glBindTexture(GL_TEXTURE_2D, frame.tid); in movie()
456 glGenTextures(1, &frame.tid); in movie()
457 glBindTexture(GL_TEXTURE_2D, frame.tid); in movie()
462 frame.map->getDataPtr(), in movie()
463 frame.map->getDataLength()); in movie()
[all …]
/frameworks/base/tests/DumpRenderTree/assets/results/
Dlayout_tests_failed.txt84 /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/core/java/com/android/internal/service/wallpaper/
DImageWallpaper.java133 final Rect frame = sh.getSurfaceFrame(); in drawFrame() local
136 final int dw = frame.width(); in drawFrame()
137 final int dh = frame.height(); in drawFrame()
/frameworks/base/tests/FrameworkTest/tests/src/com/android/frameworktest/layout/frame/
DFrameLayoutMarginTest.java17 package com.android.frameworktest.layout.frame;
25 import com.android.frameworktest.layout.frame.FrameLayoutMargin;
DFrameLayoutGravityTest.java17 package com.android.frameworktest.layout.frame;
24 import com.android.frameworktest.layout.frame.FrameLayoutGravity;
/frameworks/base/tests/FrameworkTest/src/com/android/frameworktest/layout/frame/
DFrameLayoutGravity.java17 package com.android.frameworktest.layout.frame;
DFrameLayoutMargin.java17 package com.android.frameworktest.layout.frame;
/frameworks/base/core/java/com/android/internal/view/
DBaseSurfaceHolder.java130 Rect frame = dirty != null ? dirty : mSurfaceFrame; in internalLockCanvas() local
132 c = mSurface.lockCanvas(frame); in internalLockCanvas()
/frameworks/base/tests/FrameworkTest/src/com/android/frameworktest/listview/
DListFilter.java47 mFrame = findViewById(R.id.frame); in onCreate()
/frameworks/base/tests/FrameworkTest/src/com/android/frameworktest/view/
DPreDrawListener.java78 mFrame = (MyLinearLayout) findViewById(R.id.frame); in onCreate()
DPopupWindowVisibility.java46 mFrame = findViewById(R.id.frame); in onCreate()
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dwidget_design.jd63 <p>Typical Android widgets have three main components: A bounding box, a frame,
65 leave some padding between the edges of the bounding box and the frame, and
66 between the inner edges of the frame and the widget's controls. Widgets designed
101 <li><strong>Select a matching frame.</strong></li>
147 the edge of these dimensions, but fit inside a frame withing the bounding box,
180 <p>For each of the six standard widget sizes there is a standard frame. You can
182 that frame, which you can use for your own widgets.<p>
/frameworks/base/core/java/android/webkit/
DWebSettings.java1344 synchronized void syncSettingsAndCreateHandler(BrowserFrame frame) { in syncSettingsAndCreateHandler() argument
1345 mBrowserFrame = frame; in syncSettingsAndCreateHandler()
1347 junit.framework.Assert.assertTrue(frame.mNativeFrame != 0); in syncSettingsAndCreateHandler()
1358 nativeSync(frame.mNativeFrame); in syncSettingsAndCreateHandler()
/frameworks/base/services/java/com/android/server/
DWindowManagerService.java5015 final Rect frame = out.mFrame; in dispatchPointer() local
5016 oev.offsetLocation(-(float)frame.left, -(float)frame.top); in dispatchPointer()
5022 oev.offsetLocation((float)frame.left, (float)frame.top); in dispatchPointer()
5035 final Rect frame = target.mFrame; in dispatchPointer() local
5036 ev.offsetLocation(-(float)frame.left, -(float)frame.top); in dispatchPointer()
7035 final Rect frame = mFrame; in computeFrameLw()
7036 final int fw = frame.width(); in computeFrameLw()
7037 final int fh = frame.height(); in computeFrameLw()
7044 (int) (mAttrs.y + mAttrs.verticalMargin * ph), frame); in computeFrameLw()
7049 Gravity.applyDisplay(mAttrs.gravity, df, frame); in computeFrameLw()
[all …]
/frameworks/base/camera/libcameraservice/
DCameraHardwareStub.cpp175 uint8_t *frame = ((uint8_t *)base) + offset; in previewThread() local
176 fakeCamera->getNextFrameAsYuv422(frame); in previewThread()
/frameworks/base/docs/html/guide/developing/tools/
Dhierarchy-viewer.jd35 <li>Wire-frame View: a wire-frame drawing of the layout, on the bottom-right.</li>
41 the Properties View. When a node is selected, the Wire-frame View
/frameworks/base/docs/html/guide/topics/graphics/
D2d-graphics.jd21 <li><a href="#frame-animation">Frame Animation</a></li>
436 <h2 id="frame-animation">Frame Animation</h2>
440 class is the basis for frame animations.</p>
446 the instructions are the order and duration for each frame of the animation.</p>
449 … <code>&lt;item></code> nodes that each define a frame: a drawable resource for the frame and the
450 Here's an example XML file for a frame-by-frame animation:</p>
461 list to <var>true</var>, it will cycle just once then stop and hold on the last frame. If it is set…
/frameworks/base/media/libdrm/mobile2/
DAndroid.mk56 LOCAL_CFLAGS += -fstrict-aliasing -fomit-frame-pointer
/frameworks/base/tests/FrameworkTest/tests/src/com/android/frameworktest/view/
DRemoteViewsActivityTest.java61 assertTrue("FrameLayout not inflated", result.findViewById(R.id.frame) != null); in testGood()

12