/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | StreamPort.java | 25 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/ |
D | GraphInputSource.java | 13 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 …]
|
D | FrameQueue.java | 91 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 …]
|
D | GraphOutputTarget.java | 13 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()
|
D | FrameManager.java | 65 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/ |
D | ObjectSource.java | 42 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()
|
D | GLTextureSource.java | 53 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()
|
D | CallbackFilter.java | 48 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()
|
D | FrameSource.java | 36 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/ |
D | InsetsSource.java | 36 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 …]
|
D | InsetsController.java | 98 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()
|
D | InsetsAnimationControlImpl.java | 71 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/ |
D | BatteryMeterDrawableBase.java | 90 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/ |
D | WindowFrames.java | 120 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()
|
D | WindowState.java | 991 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 …]
|
D | InsetsSourceProvider.java | 139 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()
|
D | TaskSnapshotSurface.java | 125 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/ |
D | PreDrawListener.java | 34 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()
|
D | PopupWindowVisibility.java | 34 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/ |
D | ListFilter.java | 34 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/ |
D | BitmapOverlayFilter.java | 41 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/ |
D | BarTransitions.java | 174 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/ |
D | FrameDecoder.cpp | 568 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/ |
D | InputDispatcher_test.cpp | 447 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/ |
D | SlidingDrawer.java | 106 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()
|