Home
last modified time | relevance | path

Searched refs:ring (Results 1 – 7 of 7) sorted by relevance

/frameworks/support/core-ui/java/android/support/v4/widget/
DCircularProgressDrawable.java148 final Ring ring = mRing; in setSizeParameters() local
152 ring.setStrokeWidth(strokeWidth * screenDensity); in setSizeParameters()
153 ring.setCenterRadius(centerRadius * screenDensity); in setSizeParameters()
154 ring.setColorIndex(0); in setSizeParameters()
155 ring.setArrowDimensions(arrowWidth * screenDensity, arrowHeight * screenDensity); in setSizeParameters()
492 private void updateRingColor(float interpolatedTime, Ring ring) { in updateRingColor() argument
494 ring.setColor(evaluateColorChange((interpolatedTime - COLOR_CHANGE_OFFSET) in updateRingColor()
495 / (1f - COLOR_CHANGE_OFFSET), ring.getStartingColor(), in updateRingColor()
496 ring.getNextColor())); in updateRingColor()
498 ring.setColor(ring.getStartingColor()); in updateRingColor()
[all …]
/frameworks/native/libs/vr/libbroadcastring/
Dbroadcast_ring_test.cc56 FakeMmap CreateRing(Ring* ring, uint32_t count) { in CreateRing() argument
58 *ring = Ring::Create(mmap.mmap(), mmap.size, count); in CreateRing()
131 Ring ring; in TYPED_TEST() local
132 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); in TYPED_TEST()
133 EXPECT_EQ(Ring::Traits::MinCount(), ring.record_count()); in TYPED_TEST()
134 EXPECT_EQ(sizeof(Record), ring.record_size()); in TYPED_TEST()
140 Ring ring; in TYPED_TEST() local
141 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); in TYPED_TEST()
142 const uint32_t oldest_sequence_at_start = ring.GetOldestSequence(); in TYPED_TEST()
143 const uint32_t next_sequence_at_start = ring.GetNextSequence(); in TYPED_TEST()
[all …]
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
Dshared_buffer_helpers.h83 auto ring = Ring(); in Publish() local
84 if (ring) { in Publish()
85 ring->Put(record); in Publish()
95 auto ring = Ring(); in GetNewest() local
96 if (ring) { in GetNewest()
97 return ring->GetNewest(&sequence_, record); in GetNewest()
118 RingType ring; in Ring() local
120 std::tie(ring, import_ok) = RingType::Import(address_, size_); in Ring()
122 ring_ = std::make_unique<RingType>(ring); in Ring()
/frameworks/native/libs/vr/libbroadcastring/include/libbroadcastring/
Dbroadcast_ring.h179 BroadcastRing ring(mmap); in Create()
180 CHECK(ring.ValidateGeometry(mmap_size, sizeof(Record), record_count)); in Create()
181 ring.InitializeHeader(sizeof(Record), record_count); in Create()
182 return ring; in Create()
201 BroadcastRing ring(mmap); in Import()
205 record_size = std::atomic_load_explicit(&ring.header_mmap()->record_size, in Import()
208 &ring.header_mmap()->record_count, std::memory_order_relaxed); in Import()
210 bool ok = ring.ValidateGeometry(mmap_size, record_size, record_count); in Import()
211 return std::make_tuple(ring, ok); in Import()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/
Dvolumes.pfw6 /Policy/policy/streams/ring/applicable_volume_profile/volume_profile = ring
Dstrategy_for_stream.pfw10 /Policy/policy/streams/ring/applicable_strategy/strategy = sonification
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiDiagnostics.java388 ByteArrayRingBuffer ring = mRingBufferData.get(status.name); in onRingBufferData() local
389 if (ring != null) { in onRingBufferData()
390 ring.appendBuffer(buffer); in onRingBufferData()