Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/core/java/android/view/
H A DWindowlessWindowLayout.java42 float compatScale, ClientWindowFrames frames) { in computeFrames() argument
43 if (frames.attachedFrame == null) { in computeFrames()
44 frames.frame.set(0, 0, attrs.width, attrs.height); in computeFrames()
45 frames.parentFrame.set(frames.frame); in computeFrames()
46 frames.displayFrame.set(frames.frame); in computeFrames()
51 frames.attachedFrame.height()); in computeFrames()
53 frames.attachedFrame.width()); in computeFrames()
54 Gravity.apply(attrs.gravity, width, height, frames.attachedFrame, in computeFrames()
57 frames.frame); in computeFrames()
58 frames.displayFrame.set(frames.frame); in computeFrames()
[all …]
H A DWindowLayout.java68 float compatScale, ClientWindowFrames frames) { in computeFrames() argument
73 final Rect attachedWindowFrame = frames.attachedFrame; in computeFrames()
74 final Rect outDisplayFrame = frames.displayFrame; in computeFrames()
75 final Rect outParentFrame = frames.parentFrame; in computeFrames()
76 final Rect outFrame = frames.frame; in computeFrames()
107 frames.isParentFrameClippedByDisplayCutout = false; in computeFrames()
161 frames.isParentFrameClippedByDisplayCutout = !mTempRect.equals(outParentFrame); in computeFrames()
274 + " frames=" + frames in computeFrames()
H A DWindowlessWindowManager.java374 ClientWindowFrames frames = new ClientWindowFrames(); in relayout() local
375 frames.attachedFrame = state.mAttachedFrame; in relayout()
379 frames); in relayout()
381 state.mFrame.set(frames.frame); in relayout()
383 outFrames.frame.set(frames.frame); in relayout()
384 outFrames.parentFrame.set(frames.parentFrame); in relayout()
385 outFrames.displayFrame.set(frames.displayFrame); in relayout()
388 t.setPosition(leash, frames.frame.left, frames.frame.top); in relayout()
H A DPointerIcon.java498 final int frames = animationDrawable.getNumberOfFrames(); in loadResource() local
500 if (frames == 1) { in loadResource()
506 mBitmapFrames = new Bitmap[frames - 1]; in loadResource()
509 for (int i = 1; i < frames; ++i) { in loadResource()
H A DIWindow.aidl57 void resized(in ClientWindowFrames frames, boolean reportDraw, in resized() argument
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
H A DSystemEventChipAnimationController.kt112 startDelay = 7.frames
113 duration = 5.frames
120 duration = 10.frames
126 duration = 23.frames
154 duration = 9.frames
163 duration = 20.frames
174 duration = 6.frames
183 duration = 15.frames
194 duration = 11.frames
215 duration = 6.frames
[all …]
/aosp14/system/core/healthd/
H A DAnimationParser.cpp88 std::vector<animation::frame> frames; in parse_animation_desc() local
120 frames.push_back(std::move(frame)); in parse_animation_desc()
127 if (anim->animation_file.empty() || frames.empty()) { in parse_animation_desc()
133 anim->num_frames = frames.size(); in parse_animation_desc()
134 anim->frames = new animation::frame[frames.size()]; in parse_animation_desc()
135 std::copy(frames.begin(), frames.end(), anim->frames); in parse_animation_desc()
H A DAnimationParser_test.cpp185 EXPECT_EQ(10, anim.frames[0].disp_time); in TEST()
186 EXPECT_EQ(20, anim.frames[0].min_level); in TEST()
187 EXPECT_EQ(30, anim.frames[0].max_level); in TEST()
189 EXPECT_EQ(40, anim.frames[1].disp_time); in TEST()
190 EXPECT_EQ(50, anim.frames[1].min_level); in TEST()
191 EXPECT_EQ(60, anim.frames[1].max_level); in TEST()
H A Dhealthd_mode_charger.cpp150 .frames = nullptr,
341 disp_time = batt_anim_.frames[batt_anim_.cur_frame].disp_time; in UpdateScreenState()
365 if (batt_anim_.cur_level >= batt_anim_.frames[i].min_level && in UpdateScreenState()
366 batt_anim_.cur_level <= batt_anim_.frames[i].max_level) { in UpdateScreenState()
374 disp_time = batt_anim_.frames[batt_anim_.cur_frame].disp_time * in UpdateScreenState()
718 batt_anim_.frames = owned_frames_.data(); in InitAnimation()
738 LOGV(" frame %.2d: %d %d %d\n", i, batt_anim_.frames[i].disp_time, in InitAnimation()
739 batt_anim_.frames[i].min_level, batt_anim_.frames[i].max_level); in InitAnimation()
819 batt_anim_.frames[i].surface = scale_frames[i]; in OnInit()
845 int Charger::CreateMultiDisplaySurface(const std::string& name, int* frames, int* fps, in CreateMultiDisplaySurface() argument
[all …]
H A Danimation.h70 frame* frames = nullptr; member
81 ~animation() { delete frames; } in ~animation() local
H A Dhealthd_mode_charger_test.cpp114 (const std::string& name, int* frames, int* fps, GRSurface*** surface));
149 .WillRepeatedly(Invoke([&](const auto&, int* frames, int* fps, GRSurface*** surface) { in ExpectChargerResAt() argument
150 *frames = arraysize(multi); in ExpectChargerResAt()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/fragment/
H A DStatusBarSystemEventAnimator.kt28 import com.android.systemui.util.animation.AnimationUtil.Companion.frames
71 duration = 23.frames
78 duration = 8.frames
93 duration = 23.frames
94 startDelay = 7.frames
101 duration = 5.frames
102 startDelay = 11.frames
/aosp14/frameworks/base/core/java/android/speech/tts/
H A DSynthesisPlaybackQueueItem.java213 public final int frames; field in SynthesisPlaybackQueueItem.ProgressMarker
219 public ProgressMarker(int frames, int start, int end) { in ProgressMarker() argument
220 this.frames = frames; in ProgressMarker()
232 int markerInFrames = marker.frames == 0 ? 1 : marker.frames; in updateMarker()
251 getDispatcher().dispatchOnRangeStart(marker.start, marker.end, marker.frames); in onMarkerReached()
H A DBlockingAudioTrack.java357 public void setNotificationMarkerPosition(int frames) { in setNotificationMarkerPosition() argument
360 mAudioTrack.setNotificationMarkerPosition(frames); in setNotificationMarkerPosition()
/aosp14/system/core/debuggerd/libdebuggerd/
H A Dgwp_asan.cpp144 std::unique_ptr<uintptr_t[]> frames(new uintptr_t[kMaxTraceLength]); in AddCauseProtos() local
148 __gwp_asan_get_allocation_trace(responsible_allocation_, frames.get(), kMaxTraceLength); in AddCauseProtos()
150 unwindstack::FrameData frame_data = unwinder->BuildFrameFromPcOnly(frames[i]); in AddCauseProtos()
157 __gwp_asan_get_deallocation_trace(responsible_allocation_, frames.get(), kMaxTraceLength); in AddCauseProtos()
159 unwindstack::FrameData frame_data = unwinder->BuildFrameFromPcOnly(frames[i]); in AddCauseProtos()
H A Dutility.cpp485 for (const auto& frame : data.frames) { in log_backtrace()
508 for (const auto& frame : data.frames) { in log_backtrace()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/util/
H A DKeyguardTransitionRunner.kt43 private var frames = MutableStateFlow(Pair<Long, FrameCallback?>(0L, null)) regex
60 frames.collect {
91 frames.value = Pair(frameCount++, cb)
/aosp14/frameworks/base/libs/hwui/protos/
H A Dgraphicsstats.proto67 // Number of frames with slow render time. Frames are considered janky if
74 // Number of frames in triple-buffering scenario (high input latency)
86 // Number of frames that missed their deadline (aka, visibly janked)
93 // Number of frames in the bucket.
/aosp14/frameworks/base/core/proto/android/service/
H A Dgraphicsstats.proto73 // Number of frames with slow render time. Frames are considered janky if
80 // Number of frames in triple-buffering scenario (high input latency)
92 // Number of frames that missed their deadline (aka, visibly janked)
101 // Number of frames in the bucket.
/aosp14/frameworks/base/cmds/bootanimation/
H A DFORMAT.md16 part1 \ directories full of PNG frames
28 * **FPS:** frames per second, e.g. 60
43 + `f` -- same as `p` but in addition the specified number of frames is being faded out while
48 * **PATH:** directory in which to find the frames for this part (e.g. `part0`)
49 * **FADE:** _(ONLY FOR `f` TYPE)_ number of frames to fade out when interrupted where `0` means
90 ## loading and playing frames
94 one frame in that part (at the specified resolution). For this reason it is important that frames be
101 the trim output for each frame in its directory, so the frames may be properly positioned.
/aosp14/system/core/libutils/
H A DCallStack.cpp57 for (size_t i = ignoreDepth; i < data.frames.size(); i++) { in update()
58 auto& frame = data.frames[i]; in update()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/
H A DAnimationUtil.kt44 val Int.frames: Long
/aosp14/frameworks/base/libs/hwui/
H A DJankTracker.h72 RingBuffer<FrameInfo, 120>& frames() { return mFrames; } in frames() function
/aosp14/system/core/healthd/include_charger/charger/
H A Dhealthd_mode_charger.h92 virtual int CreateMultiDisplaySurface(const std::string& name, int* frames, int* fps,
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DTestIWindow.java47 public void resized(ClientWindowFrames frames, boolean reportDraw, in resized() argument

12