Home
last modified time | relevance | path

Searched refs:mFrames (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DWindowLayoutTests.java72 private final ClientWindowFrames mFrames = new ClientWindowFrames(); field in WindowLayoutTests
100 mFrames.attachedFrame = null; in setUp()
106 mCompatScale, mFrames); in computeFrames()
144 assertInsetByTopBottom(STATUS_BAR_HEIGHT, NAVIGATION_BAR_HEIGHT, mFrames.displayFrame); in defaultParams()
145 assertInsetByTopBottom(STATUS_BAR_HEIGHT, NAVIGATION_BAR_HEIGHT, mFrames.parentFrame); in defaultParams()
146 assertInsetByTopBottom(STATUS_BAR_HEIGHT, NAVIGATION_BAR_HEIGHT, mFrames.frame); in defaultParams()
155 assertInsetByTopBottom(STATUS_BAR_HEIGHT, NAVIGATION_BAR_HEIGHT, mFrames.displayFrame); in unmeasured()
156 assertInsetByTopBottom(STATUS_BAR_HEIGHT, NAVIGATION_BAR_HEIGHT, mFrames.parentFrame); in unmeasured()
157 assertInsetByTopBottom(STATUS_BAR_HEIGHT, NAVIGATION_BAR_HEIGHT, mFrames.frame); in unmeasured()
171 assertInsetByTopBottom(STATUS_BAR_HEIGHT, NAVIGATION_BAR_HEIGHT, mFrames.displayFrame); in unmeasuredWithSizeSpecifiedInLayoutParams()
[all …]
/frameworks/native/libs/gui/tests/
DSurface_test.cpp1233 FrameEvents* frame = &mFrames[frameIndex]; in dequeueAndQueue()
1259 (iOldFrame == NO_FRAME_INDEX) ? nullptr : &mFrames[iOldFrame]; in addFrameEvents()
1260 FrameEvents* newFrame = &mFrames[iNewFrame]; in addFrameEvents()
1330 FrameEvents mFrames[3] { member in android::GetFrameTimestampsTest
1412 f1.postedTime = mFrames[0].kPostedTime; in TEST_F()
1413 f1.requestedPresentTime = mFrames[0].kRequestedPresentTime; in TEST_F()
1414 f1.acquireFence = mFrames[0].mAcquireConsumer.mFenceTime; in TEST_F()
1416 mFrames[0].mAcquireProducer.mFenceTime, in TEST_F()
1417 mFrames[0].mAcquireConsumer.mFenceTime); in TEST_F()
1419 mFrames[0].signalQueueFences(); in TEST_F()
[all …]
/frameworks/native/libs/gui/
DFrameTimestamps.cpp175 : mFrames(std::vector<FrameEvents>(INITIAL_MAX_FRAME_HISTORY)) {} in FrameEventHistory()
181 mFrames.begin(), mFrames.end(), FrameNumberEqual(frameNumber)); in getFrame()
182 return frame == mFrames.end() ? nullptr : &(*frame); in getFrame()
186 *iHint = std::min(*iHint, mFrames.size()); in getFrame()
187 auto hint = mFrames.begin() + *iHint; in getFrame()
189 hint, mFrames.end(), FrameNumberEqual(frameNumber)); in getFrame()
190 if (frame == mFrames.end()) { in getFrame()
192 mFrames.begin(), hint, FrameNumberEqual(frameNumber)); in getFrame()
197 *iHint = static_cast<size_t>(std::distance(mFrames.begin(), frame)); in getFrame()
202 for (auto& frame : mFrames) { in checkFencesForCompletion()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
DFrameSourceFilter.java30 private final Queue<Frame> mFrames = new LinkedList<Frame>(); field in FrameSourceFilter
44 if (mFrames.isEmpty()) { in obtainFrame()
48 return mFrames.poll(); in obtainFrame()
57 mFrames.add(frame); in injectFrame()
/frameworks/base/core/java/android/app/servertransaction/
DWindowStateResizeItem.java44 private ClientWindowFrames mFrames; field in WindowStateResizeItem
64 window.resized(mFrames, mReportDraw, mConfiguration, mInsetsState, mForceLayout, in execute()
92 instance.mFrames = new ClientWindowFrames(frames); in obtain()
111 mFrames = null; in recycle()
130 dest.writeTypedObject(mFrames, flags); in writeToParcel()
145 mFrames = in.readTypedObject(ClientWindowFrames.CREATOR); in WindowStateResizeItem()
176 return Objects.equals(mFrames, other.mFrames) in equals()
192 result = 31 * result + Objects.hashCode(mFrames); in hashCode()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyLayoutTests.java68 private DisplayFrames mFrames; field in DisplayPolicyLayoutTests
117 mFrames = createDisplayFrames( in updateDisplayFrames()
119 mDisplayBounds.set(0, 0, mFrames.mWidth, mFrames.mHeight); in updateDisplayFrames()
120 mDisplayContent.mDisplayFrames = mFrames; in updateDisplayFrames()
122 mDisplayPolicy.layoutWindowLw(mNavBarWindow, null, mFrames); in updateDisplayFrames()
123 mDisplayPolicy.layoutWindowLw(mStatusBarWindow, null, mFrames); in updateDisplayFrames()
188 mDisplayContent.getWindowConfiguration().setBounds(mFrames.mUnrestricted); in assertSimulateLayoutSameDisplayFrames()
193 mFrames.dump(prefix, new PrintWriter(realFramesDump)); in assertSimulateLayoutSameDisplayFrames()
/frameworks/native/services/inputflinger/reader/
DTouchVideoDevice.cpp48 mFrames.reserve(MAX_QUEUE_SIZE); in TouchVideoDevice()
169 mFrames.insert(mFrames.end(), std::make_move_iterator(frames.begin()), in readAndQueueFrames()
171 if (mFrames.size() > MAX_QUEUE_SIZE) { in readAndQueueFrames()
175 mFrames.erase(mFrames.begin(), mFrames.end() - MAX_QUEUE_SIZE); in readAndQueueFrames()
181 std::vector<TouchVideoFrame> frames = std::move(mFrames); in consumeFrames()
182 mFrames = {}; in consumeFrames()
/frameworks/base/libs/hwui/
DJankTracker.h59 FrameInfo* startFrame() { return &mFrames.next(); } in startFrame()
72 RingBuffer<FrameInfo, 120>& frames() { return mFrames; } in frames()
100 RingBuffer<FrameInfo, 120> mFrames; variable
DJankTracker.cpp309 for (size_t i = 0; i < mFrames.size(); i++) { in dumpFrames()
310 FrameInfo& frame = mFrames[i]; in dumpFrames()
324 mFrames.clear(); in reset()
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DClientTransactionItemTest.java85 private ClientWindowFrames mFrames; field in ClientTransactionItemTest
98 mFrames = new ClientWindowFrames(); in setup()
158 final WindowStateResizeItem item = WindowStateResizeItem.obtain(mWindow, mFrames, in testWindowStateResizeItem_execute()
164 verify(mWindow).resized(mFrames, in testWindowStateResizeItem_execute()
/frameworks/av/services/audioflinger/afutils/
DNBAIO_Tee.h210 if (Format_isEqual(format, mFormat) && frames == mFrames) { in set()
224 mFrames = frames; in set()
/frameworks/native/services/inputflinger/reader/include/
DTouchVideoDevice.h105 std::vector<TouchVideoFrame> mFrames; variable
/frameworks/av/media/libstagefright/writer_fuzzers/
DWriterFuzzerBase.cpp189 vector<FrameData> mFrames = mBufferSource->getFrameList(trackIndex); in addWriterSource() local
190 writeHeaderBuffers(mFrames, format, numCsds); in addWriterSource()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedStateListDrawable.java684 private int mFrames; field in AnimatedStateListDrawable.FrameInterpolator
693 mFrames = N; in updateFrames()
718 final int N = mFrames; in getInterpolation()
/frameworks/native/libs/gui/include/gui/
DFrameTimestamps.h105 std::vector<FrameEvents> mFrames; variable
/frameworks/av/services/audioflinger/
DThreads.cpp4693 = correctedTimestamp.mFrames; in collectTimestamps_l()
8615 position = correctedTimestamp.mFrames; in threadLoop()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt16595 Landroid/graphics/drawable/AnimatedStateListDrawable$FrameInterpolator;->mFrames:I