Home
last modified time | relevance | path

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

12

/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 …]
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()
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 …]
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/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/core/java/android/view/
DInsetsSource.java42 private final Rect mFrame; field in InsetsSource
50 mFrame = new Rect(); in InsetsSource()
56 mFrame = new Rect(other.mFrame); in InsetsSource()
64 mFrame.set(left, top, right, bottom); in setFrame()
68 mFrame.set(frame); in setFrame()
84 return mFrame; in getFrame()
109 return calculateInsets(relativeFrame, mFrame, ignoreVisibility); in calculateInsets()
116 return calculateInsets(relativeFrame, mVisibleFrame != null ? mVisibleFrame : mFrame, in calculateVisibleInsets()
189 pw.print(" frame="); pw.print(mFrame.toShortString()); in dump()
216 return mFrame.equals(that.mFrame); in equals()
[all …]
DInsetsController.java482 private final Rect mFrame = new Rect(); field in InsetsController
571 WindowInsets insets = state.calculateInsets(mFrame, mState /* ignoringVisibilityState*/, in InsetsController()
591 if (mFrame.equals(frame)) { in onFrameChanged()
595 mFrame.set(frame); in onFrameChanged()
664 mState.getSource(ITYPE_CAPTION_BAR).setFrame(new Rect(mFrame.left, mFrame.top, in updateState()
665 mFrame.right, mFrame.top + mCaptionInsetsHeight)); in updateState()
715 mLastInsets = mState.calculateInsets(mFrame, null /* ignoringVisibilityState*/, in calculateInsets()
726 return mState.calculateVisibleInsets(mFrame, softInputMode); in calculateVisibleInsets()
813 pendingRequest.listener, mFrame, in show()
884 if ((mState.calculateUncontrollableInsetsFromFrame(mFrame) & types) != 0) { in controlWindowInsetsAnimation()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java90 private final RectF mFrame = new RectF(); field in BatteryMeterDrawableBase
326 mFrame.set(left, top, width + left, height + top); in draw()
327 mFrame.offset(px, 0); in draw()
331 mFrame.left + Math.round(width * 0.28f), in draw()
332 mFrame.top, in draw()
333 mFrame.right - Math.round(width * 0.28f), in draw()
334 mFrame.top + buttonHeight); in draw()
337 mFrame.top += buttonHeight; in draw()
349 : (mFrame.top + (mFrame.height() * (1f - drawFrac))); in draw()
354 final float radius = getRadiusRatio() * (mFrame.height() + buttonHeight); in draw()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowFrames.java102 final Rect mFrame = new Rect(); field in WindowFrames
207 return (mLastFrame.width() != mFrame.width()) || (mLastFrame.height() != mFrame.height()); in didFrameSizeChange()
246 && mFrame.right > windowBounds.right; in calculateInsets()
248 && mFrame.bottom > windowBounds.bottom; in calculateInsets()
250 mTmpRect.set(mFrame.left, mFrame.top, in calculateInsets()
251 overrideRightInset ? windowBounds.right : mFrame.right, in calculateInsets()
252 overrideBottomInset ? windowBounds.bottom : mFrame.bottom); in calculateInsets()
271 mFrame.offset(layoutXDiff, layoutYDiff); in offsetFrames()
346 mFrame.dumpDebug(proto, FRAME); in dumpDebug()
363 pw.println(prefix + "mFrame=" + mFrame.toShortString(sTmpSB) in dump()
DWindowState.java1159 final int fw = windowFrames.mFrame.width(); in computeFrameLw()
1160 final int fh = windowFrames.mFrame.height(); in computeFrameLw()
1166 if (windowsAreFloating && !windowFrames.mFrame.isEmpty()) { in computeFrameLw()
1169 windowFrames.mContentFrame.set(windowFrames.mFrame); in computeFrameLw()
1183 windowFrames.mContentFrame.set(windowFrames.mFrame); in computeFrameLw()
1184 if (!windowFrames.mFrame.equals(windowFrames.mLastFrame)) { in computeFrameLw()
1189 Math.max(windowFrames.mContentFrame.left, windowFrames.mFrame.left), in computeFrameLw()
1190 Math.max(windowFrames.mContentFrame.top, windowFrames.mFrame.top), in computeFrameLw()
1191 Math.min(windowFrames.mContentFrame.right, windowFrames.mFrame.right), in computeFrameLw()
1192 Math.min(windowFrames.mContentFrame.bottom, windowFrames.mFrame.bottom)); in computeFrameLw()
[all …]
DTaskSnapshotSurface.java134 private final Rect mFrame = new Rect(); field in TaskSnapshotSurface
326 mFrame.set(frame); in setFrames()
328 mSizeMismatch = (mFrame.width() != mSnapshot.getSnapshot().getWidth() in setFrames()
329 || mFrame.height() != mSnapshot.getSnapshot().getHeight()); in setFrames()
372 - ((float) mFrame.width() / mFrame.height())) > 0.01f; in drawSizeMismatchSnapshot()
400 mTmpDstFrame.set(mFrame); in drawSizeMismatchSnapshot()
437 final boolean isTop = mTaskBounds.top == 0 && mFrame.top == 0; in calculateSnapshotCrop()
DInsetsSourceProvider.java209 mTmpRect.set(windowFrames.mFrame); in createSimulatedSource()
229 final Rect frame = mWin.getWindowFrames().mFrame; in onPostLayout()
304 new Point(mWin.getWindowFrames().mFrame.left, mWin.getWindowFrames().mFrame.top)); in updateControlForTarget()
478 final Rect frame = mWin.getWindowFrames().mFrame; in startAnimation()
/frameworks/base/core/tests/coretests/src/android/view/
DPreDrawListener.java34 private MyLinearLayout mFrame; field in PreDrawListener
75 mFrame = findViewById(R.id.frame); in onCreate()
83 mFrame.mCancelNextDraw = true; in onClick()
84 mFrame.invalidate(); in onClick()
DPopupWindowVisibility.java34 private View mFrame; field in PopupWindowVisibility
45 mFrame = findViewById(R.id.frame); in onCreate()
67 mFrame.setVisibility(v == mHide ? View.INVISIBLE : View.VISIBLE); in onClick()
/frameworks/av/media/libstagefright/
DFrameDecoder.cpp458 mFrame(NULL), in VideoFrameDecoder()
610 if (mFrame == NULL) { in onOutputReceived()
619 mFrame = static_cast<VideoFrame*>(frameMem->unsecurePointer()); in onOutputReceived()
624 mFrame->mDurationUs = durationUs; in onOutputReceived()
649 mFrame->getFlattenedData(), in onOutputReceived()
650 mFrame->mWidth, mFrame->mHeight, mFrame->mRowBytes, in onOutputReceived()
653 0, 0, mFrame->mWidth - 1, mFrame->mHeight - 1); in onOutputReceived()
678 captureFormat(), Rect(0, 0, mFrame->mWidth, mFrame->mHeight), &outBuffer); in captureSurface()
703 uint8_t *dst = mFrame->getFlattenedData(); in captureSurface()
704 for (size_t y = 0 ; y < fmin(mFrame->mHeight, outBuffer->getHeight()) ; y++) { in captureSurface()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListFilter.java34 private View mFrame; field in ListFilter
46 mFrame = findViewById(R.id.frame); in onCreate()
57 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/native/services/inputflinger/benchmarks/
DInputDispatcher_benchmarks.cpp154 : FakeInputReceiver(dispatcher, name), mFrame(Rect(0, 0, WIDTH, HEIGHT)) { in FakeWindowHandle()
167 mInfo.frameLeft = mFrame.left; in updateInfo()
168 mInfo.frameTop = mFrame.top; in updateInfo()
169 mInfo.frameRight = mFrame.right; in updateInfo()
170 mInfo.frameBottom = mFrame.bottom; in updateInfo()
173 mInfo.addTouchableRegion(mFrame); in updateInfo()
188 Rect mFrame; member in android::inputdispatcher::FakeWindowHandle
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DBarTransitions.java174 private Rect mFrame; field in BarTransitions.BarBackgroundDrawable
195 mFrame = frame; in setFrame()
304 if (mFrame != null) { in draw()
305 canvas.drawRect(mFrame, mPaint); in draw()
/frameworks/av/media/libstagefright/include/
DFrameDecoder.h137 VideoFrame *mFrame; member
176 VideoFrame *mFrame;
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyTests.java295 winFrame.mFrame.set(new Rect(100, 100, 200, 200)); in testOverlappingWithNavBar()
304 winFrame.mFrame.set(new Rect(100, 101, 200, 201)); in testOverlappingWithNavBar()
308 winFrame.mFrame.set(new Rect(99, 200, 199, 300)); in testOverlappingWithNavBar()
312 winFrame.mFrame.set(new Rect(199, 200, 299, 300)); in testOverlappingWithNavBar()

12