Home
last modified time | relevance | path

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

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DStreamPort.java25 private Frame mFrame; field in StreamPort
34 if (mFrame != null) { in clear()
35 mFrame.release(); in clear()
36 mFrame = null; in clear()
55 if (mFrame != null) { in assignFrame()
56 mFrame.release(); in assignFrame()
58 } else if (mFrame != null) { in assignFrame()
62 mFrame = frame.retain(); in assignFrame()
63 mFrame.markReadOnly(); in assignFrame()
70 if (mFrame == null) { in pullFrame()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphInputSource.java13 private Frame mFrame = null; field in GraphInputSource
27 if (mFrame != null) { in pushFrame()
28 mFrame.release(); in pushFrame()
33 mFrame = frame.retain(); in pushFrame()
38 if (mFrame != null) { in onProcess()
39 getConnectedOutputPort("frame").pushFrame(mFrame); in onProcess()
40 mFrame.release(); in onProcess()
41 mFrame = null; in onProcess()
47 if (mFrame != null) { in onTearDown()
48 mFrame.release(); in onTearDown()
[all …]
DFrameQueue.java91 private Frame mFrame = null; field in FrameQueue.SingleFrameQueueImpl
95 return mFrame != null; in canPull()
100 return mFrame == null; in canPush()
105 Frame result = mFrame; in pullFrame()
106 mFrame = null; in pullFrame()
112 return mFrame; in peek()
125 mFrame = frame.retain(); in pushFrame()
126 mFrame.setReadOnly(true); in pushFrame()
131 if (mFrame != null) { in clear()
132 mFrame.release(); in clear()
[all …]
DGraphOutputTarget.java13 private Frame mFrame = null; field in GraphOutputTarget
39 if (mFrame != null) { in pullFrame()
40 result = mFrame; in pullFrame()
41 mFrame = null; in pullFrame()
49 if (mFrame != null) { in onProcess()
50 mFrame.release(); in onProcess()
52 mFrame = frame.retain(); in onProcess()
57 return super.canSchedule() && mFrame == null; in canSchedule()
DFrameManager.java65 private Frame mFrame = null; field in FrameManager.FrameSlot
77 return mFrame != null; in hasFrame()
81 if (mFrame != null) { in releaseFrame()
82 mFrame.release(); in releaseFrame()
83 mFrame = null; in releaseFrame()
89 Frame oldFrame = mFrame; in assignFrame()
90 mFrame = frame.retain(); in assignFrame()
97 Frame result = mFrame.retain(); in getFrame()
105 if (mFrame != null) { in markWritable()
106 mFrame.setReadOnly(false); in markWritable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterDrawable.java77 private final RectF mFrame = new RectF(); field in BatteryMeterDrawable
337 mFrame.set(0, 0, width, height); in draw()
338 mFrame.offset(px, 0); in draw()
342 mFrame.left + Math.round(width * 0.25f), in draw()
343 mFrame.top, in draw()
344 mFrame.right - Math.round(width * 0.25f), in draw()
345 mFrame.top + buttonHeight); in draw()
352 mFrame.top += buttonHeight; in draw()
353 mFrame.left += mSubpixelSmoothingLeft; in draw()
354 mFrame.top += mSubpixelSmoothingLeft; in draw()
[all …]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
DObjectSource.java42 private Frame mFrame; field in ObjectSource
56 if (mFrame == null) { in process()
61 mFrame = context.getFrameManager().newFrame(outputFormat); in process()
62 mFrame.setObjectValue(mObject); in process()
63 mFrame.setTimestamp(Frame.TIMESTAMP_UNKNOWN); in process()
67 pushOutput("frame", mFrame); in process()
77 mFrame.release(); in tearDown()
84 if (mFrame != null) { in fieldPortValueUpdated()
85 mFrame.release(); in fieldPortValueUpdated()
86 mFrame = null; in fieldPortValueUpdated()
DGLTextureSource.java53 private Frame mFrame; field in GLTextureSource
68 if (mFrame != null) { in fieldPortValueUpdated()
69 mFrame.release(); in fieldPortValueUpdated()
70 mFrame = null; in fieldPortValueUpdated()
77 if (mFrame == null) { in process()
81 mFrame = context.getFrameManager().newBoundFrame(outputFormat, in process()
84 mFrame.setTimestamp(mTimestamp); in process()
88 pushOutput("frame", mFrame); in process()
98 if (mFrame != null) { in tearDown()
99 mFrame.release(); in tearDown()
DCallbackFilter.java48 private Frame mFrame; field in CallbackFilter.CallbackRunnable
55 mFrame = frame; in CallbackRunnable()
60 mListener.onFrameReceived(mFilter, mFrame, mUserData); in run()
61 mFrame.release(); in run()
DFrameSource.java36 private Frame mFrame = null; field in FrameSource
52 if (mFrame != null) { in process()
54 pushOutput("frame", mFrame); in process()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java289 final Rect mFrame = new Rect(); field in WindowState
809 final int fw = mFrame.width(); in computeFrameLw()
810 final int fh = mFrame.height(); in computeFrameLw()
826 if (windowsAreFloating && !mFrame.isEmpty()) { in computeFrameLw()
830 final int height = Math.min(mFrame.height(), mContentFrame.height()); in computeFrameLw()
831 final int width = Math.min(mContentFrame.width(), mFrame.width()); in computeFrameLw()
838 Math.min(mFrame.top, mContentFrame.bottom - minVisibleHeight)); in computeFrameLw()
840 Math.min(mFrame.left, mContentFrame.right - minVisibleWidth)); in computeFrameLw()
841 mFrame.set(left, top, left + width, top + height); in computeFrameLw()
842 mContentFrame.set(mFrame); in computeFrameLw()
[all …]
DWindowStateAnimator.java389 " @ " + currentTime + ": ww=" + mWin.mFrame.width() + in stepAnimationLocked()
390 " wh=" + mWin.mFrame.height() + in stepAnimationLocked()
396 mAnimation.initialize(mWin.mFrame.width(), mWin.mFrame.height(), in stepAnimationLocked()
399 mAnimation.initialize(mWin.mFrame.width(), mWin.mFrame.height(), in stepAnimationLocked()
714 mTmpSize.set(w.mFrame.left + w.mXOffset, w.mFrame.top + w.mYOffset, 0, 0); in createSurfaceLocked()
778 + ", set left=" + w.mFrame.left + " top=" + w.mFrame.top in createSurfaceLocked()
784 + w.mFrame.left + "," + w.mFrame.top + ") (" in createSurfaceLocked()
988 final Rect frame = mWin.mFrame; in computeShownFrameLocked()
1084 mClipRect.offset( (mWin.mContainingFrame.left - mWin.mFrame.left), in computeShownFrameLocked()
1085 mWin.mContainingFrame.top - mWin.mFrame.top ); in computeShownFrameLocked()
[all …]
DWallpaperController.java254 int availw = wallpaperWin.mFrame.right - wallpaperWin.mFrame.left - dw; in updateWallpaperOffset()
272 int availh = wallpaperWin.mFrame.bottom - wallpaperWin.mFrame.top - dh; in updateWallpaperOffset()
DAccessibilityController.java520 windowFrame.offset(-windowState.mFrame.left, -windowState.mFrame.top); in recomputeBoundsLocked()
1193 windowFrame.offset(-windowState.mFrame.left, -windowState.mFrame.top); in computeWindowBoundsInScreen()
DWindowSurfacePlacer.java715 final int left = w.mFrame.left; in applySurfaceChangesTransaction()
716 final int top = w.mFrame.top; in applySurfaceChangesTransaction()
1006 + win.mFrame + " mContainingFrame=" in performLayoutLockedInner()
1047 " LAYOUT: mFrame=" + win.mFrame + " mContainingFrame=" in performLayoutLockedInner()
DInputMonitor.java198 final Rect frame = child.mFrame; in addInputWindowHandleLw()
DWindowManagerService.java2984 outBackdropFrame.set(win.getBackdropFrame(win.mFrame)); in relayoutWindow()
3213 frame.set(win.mFrame); in applyAnimationLocked()
6418 final Rect wf = ws.mFrame; in screenshotApplicationsInner()
9497 + " last=" + w.mLastFrame + " frame=" + w.mFrame); in updateResizingWindows()
9502 w.mLastFrame.set(w.mFrame); in updateResizingWindows()
11474 outBounds.set(windowState.mFrame); in getWindowFrame()
/frameworks/base/core/tests/coretests/src/android/view/
DPreDrawListener.java37 private MyLinearLayout mFrame; field in PreDrawListener
78 mFrame = (MyLinearLayout) findViewById(R.id.frame); in onCreate()
86 mFrame.mCancelNextDraw = true; in onClick()
87 mFrame.invalidate(); in onClick()
DPopupWindowVisibility.java35 private View mFrame; field in PopupWindowVisibility
46 mFrame = findViewById(R.id.frame); in onCreate()
68 mFrame.setVisibility(v == mHide ? View.INVISIBLE : View.VISIBLE); in onClick()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DBitmapOverlayFilter.java41 private Frame mFrame; field in BitmapOverlayFilter
88 if (mFrame != null) { in tearDown()
89 mFrame.release(); in tearDown()
90 mFrame = null; in tearDown()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListFilter.java35 private View mFrame; field in ListFilter
47 mFrame = findViewById(R.id.frame); in onCreate()
58 mFrame.setVisibility(v == mHide ? View.INVISIBLE : View.VISIBLE); in onClick()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp145 mFrame.makeInvalid(); in DisplayDevice()
166 setProjection(DisplayState::eOrientationDefault, mViewport, mFrame); in DisplayDevice()
585 mFrame = frame;
606 mFrame.left, mFrame.top, mFrame.right, mFrame.bottom,
DDisplayDevice.h135 const Rect getFrame() const { return mFrame; } in getFrame()
251 Rect mFrame; variable
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java107 private final Rect mFrame = new Rect(); field in SlidingDrawer
382 final Rect frame = mFrame; in onInterceptTouchEvent()
605 final Rect frame = mFrame; in moveHandle()
635 final Rect frame = mFrame; in moveHandle()
/frameworks/base/core/java/android/view/
DChoreographer.java805 private int mFrame; field in Choreographer.FrameDisplayEventReceiver
851 mFrame = frame; in onVsync()
860 doFrame(mTimestampNanos, mFrame); in run()