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 …]
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/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.java36 private final Rect mFrame; field in InsetsSource
43 mFrame = new Rect(); in InsetsSource()
48 mFrame = new Rect(other.mFrame); in InsetsSource()
53 mFrame.set(frame); in setFrame()
65 return mFrame; in getFrame()
84 if (!mTmpFrame.setIntersect(mFrame, relativeFrame)) { in calculateInsets()
111 pw.print(" frame="); pw.print(mFrame.toShortString()); in dump()
125 return mFrame.equals(that.mFrame); in equals()
131 result = 31 * result + mFrame.hashCode(); in hashCode()
138 mFrame = in.readParcelable(null /* loader */); in InsetsSource()
[all …]
DInsetsController.java98 private final Rect mFrame = new Rect(); field in InsetsController
136 WindowInsets insets = state.calculateInsets(mFrame, mLastInsets.isRound(), in InsetsController()
150 if (mFrame.equals(frame)) { in onFrameChanged()
154 mFrame.set(frame); in onFrameChanged()
185 mLastInsets = mState.calculateInsets(mFrame, isScreenRound, alwaysConsumeSystemBars, cutout, in calculateInsets()
281 if (!mState.getDisplayFrame().equals(mFrame)) { in controlWindowInsetsAnimation()
285 controlAnimationUnchecked(types, listener, mFrame, fromIme); in controlWindowInsetsAnimation()
DInsetsAnimationControlImpl.java71 private final Rect mFrame; field in InsetsAnimationControlImpl
95 mFrame = new Rect(frame); in InsetsAnimationControlImpl()
185 Insets insets = getInsetsFromState(state, mFrame, null /* typeSideMap */); in finish()
/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.java120 final Rect mFrame = new Rect(); field in WindowFrames
236 return (mLastFrame.width() != mFrame.width()) || (mLastFrame.height() != mFrame.height()); in didFrameSizeChange()
285 && mFrame.right > windowBounds.right; in calculateInsets()
287 && mFrame.bottom > windowBounds.bottom; in calculateInsets()
289 mTmpRect.set(mFrame.left, mFrame.top, in calculateInsets()
290 overrideRightInset ? windowBounds.right : mFrame.right, in calculateInsets()
291 overrideBottomInset ? windowBounds.bottom : mFrame.bottom); in calculateInsets()
312 mFrame.offset(layoutXDiff, layoutYDiff); in offsetFrames()
408 mFrame.writeToProto(proto, FRAME); in writeToProto()
429 pw.println(prefix + "mFrame=" + mFrame.toShortString(sTmpSB) in dump()
DWindowState.java991 final int fw = mWindowFrames.mFrame.width(); in computeFrameLw()
992 final int fh = mWindowFrames.mFrame.height(); in computeFrameLw()
1001 if (windowsAreFloating && !mWindowFrames.mFrame.isEmpty()) { in computeFrameLw()
1004 mWindowFrames.mContentFrame.set(mWindowFrames.mFrame); in computeFrameLw()
1018 dc.getDockedDividerController().positionDockedStackedDivider(mWindowFrames.mFrame); in computeFrameLw()
1019 mWindowFrames.mContentFrame.set(mWindowFrames.mFrame); in computeFrameLw()
1020 if (!mWindowFrames.mFrame.equals(mWindowFrames.mLastFrame)) { in computeFrameLw()
1025 Math.max(mWindowFrames.mContentFrame.left, mWindowFrames.mFrame.left), in computeFrameLw()
1026 Math.max(mWindowFrames.mContentFrame.top, mWindowFrames.mFrame.top), in computeFrameLw()
1027 Math.min(mWindowFrames.mContentFrame.right, mWindowFrames.mFrame.right), in computeFrameLw()
[all …]
DInsetsSourceProvider.java139 final Rect frame = mWin.getWindowFrames().mFrame; in onPostLayout()
167 new Point(mWin.getWindowFrames().mFrame.left, mWin.getWindowFrames().mFrame.top)); in updateControlForTarget()
223 final Rect frame = mWin.getWindowFrames().mFrame; in startAnimation()
DTaskSnapshotSurface.java125 private final Rect mFrame = new Rect(); field in TaskSnapshotSurface
278 mFrame.set(frame); in setFrames()
281 mSizeMismatch = (mFrame.width() != mSnapshot.getSnapshot().getWidth() in setFrames()
282 || mFrame.height() != mSnapshot.getSnapshot().getHeight()); in setFrames()
324 - ((float) mFrame.width() / mFrame.height())) > 0.01f; in drawSizeMismatchSnapshot()
382 final boolean isTop = mTaskBounds.top == 0 && mFrame.top == 0; in calculateSnapshotCrop()
/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/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/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/
DFrameDecoder.cpp568 mFrame(NULL), in ImageDecoder()
703 if (mFrame == NULL) { in onOutputReceived()
706 mFrame = static_cast<VideoFrame*>(frameMem->pointer()); in onOutputReceived()
759 mFrame->getFlattenedData(), in onOutputReceived()
760 mFrame->mWidth, mFrame->mHeight, mFrame->mRowBytes, in onOutputReceived()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp447 mFocused(false), mFrame(Rect(0, 0, WIDTH, HEIGHT)), mLayoutParamFlags(0) { in FakeWindowHandle()
461 mInfo.frameLeft = mFrame.left; in updateInfo()
462 mInfo.frameTop = mFrame.top; in updateInfo()
463 mInfo.frameRight = mFrame.right; in updateInfo()
464 mInfo.frameBottom = mFrame.bottom; in updateInfo()
466 mInfo.addTouchableRegion(mFrame); in updateInfo()
486 mFrame.set(frame); in setFrame()
503 Rect mFrame; member in android::FakeWindowHandle
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java106 private final Rect mFrame = new Rect(); field in SlidingDrawer
387 final Rect frame = mFrame; in onInterceptTouchEvent()
612 final Rect frame = mFrame; in moveHandle()
642 final Rect frame = mFrame; in moveHandle()

12