Home
last modified time | relevance | path

Searched refs:Slot (Results 1 – 21 of 21) sorted by relevance

/frameworks/minikin/libs/minikin/
DWordBreaker.h43 struct Slot { struct
44 Slot() : localeId(0), breaker(nullptr) {} in Slot() function
45 Slot(uint64_t localeId, IcuUbrkUniquePtr&& breaker) in Slot() argument
48 Slot(Slot&& other) = default;
49 Slot& operator=(Slot&& other) = default; argument
52 Slot(const Slot&) = delete;
53 Slot& operator=(const Slot&) = delete; argument
59 virtual Slot acquire(const Locale& locale) = 0; argument
60 virtual void release(Slot&& slot) = 0;
67 Slot acquire(const Locale& locale) override;
[all …]
DWordBreaker.cpp45 ICULineBreakerPool::Slot ICULineBreakerPoolImpl::acquire(const Locale& locale) { in acquire()
50 Slot slot = std::move(*i); in acquire()
60 void ICULineBreakerPoolImpl::release(ICULineBreakerPool::Slot&& slot) { in release()
68 Slot localSlot = std::move(slot); in release()
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dpayload.h16 template <typename Slot>
19 using BufferType = typename MessageBuffer<Slot>::BufferType;
20 using ValueType = typename MessageBuffer<Slot>::ValueType;
24 : buffer_(MessageBuffer<Slot>::GetEmptyBuffer()), in MessagePayload()
75 MessagePayload(const MessagePayload<Slot>&) = delete;
76 void operator=(const MessagePayload<Slot>&) = delete;
81 template <typename Slot>
82 class ServicePayload : public MessagePayload<Slot>,
114 template <typename Slot>
115 class ClientPayload : public MessagePayload<Slot>,
[all …]
Dthread_local_buffer.h43 typename Slot = ThreadLocalSlot<void, 0>>
125 template <typename T, typename Allocator, std::size_t Capacity, typename Slot>
127 typename ThreadLocalBuffer<T, Allocator, Capacity, Slot>::BufferType*
128 ThreadLocalBuffer<T, Allocator, Capacity, Slot>::buffer_;
Dmessage_buffer.h14 template <typename Slot, std::size_t Capacity = 4096, typename T = std::uint8_t,
16 using MessageBuffer = ThreadLocalBuffer<T, Allocator, Capacity, Slot>;
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListButtonsDiagonalAcrossItems.java19 import static android.util.ListItemFactory.Slot;
52 final Slot slot = position == 0 ? Slot.Left : in createView()
53 (position == 1 ? Slot.Middle : Slot.Right); in createView()
DListHorizontalFocusWithinItemWins.java19 import static android.util.ListItemFactory.Slot;
56 context, desiredHeight, Slot.Left, Slot.Right); in createView()
59 context, desiredHeight, Slot.Middle); in createView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconList.java31 private ArrayList<Slot> mSlots = new ArrayList<>();
36 mSlots.add(new Slot(slots[i], null)); in StatusBarIconList()
43 Slot item = mSlots.get(i); in getSlotIndex()
49 mSlots.add(0, new Slot(slot, null)); in getSlotIndex()
53 protected ArrayList<Slot> getSlots() { in getSlots()
57 protected Slot getSlot(String name) { in getSlot()
84 Slot item = mSlots.get(i); in getViewIndex()
90 Slot viewItem = mSlots.get(slotIndex); in getViewIndex()
103 public static class Slot { class in StatusBarIconList
119 public Slot(String name, StatusBarIconHolder iconHolder) { in Slot() method in StatusBarIconList.Slot
DStatusBarIconControllerImpl.java92 List<Slot> allSlots = getSlots(); in addIconGroup()
94 Slot slot = allSlots.get(i); in addIconGroup()
121 ArrayList<Slot> currentSlots = getSlots(); in onTuningChanged()
122 ArrayMap<Slot, List<StatusBarIconHolder>> slotsToReAdd = new ArrayMap<>(); in onTuningChanged()
129 Slot s = currentSlots.get(i); in onTuningChanged()
136 Slot item = currentSlots.get(i); in onTuningChanged()
206 Slot mobileSlot = getSlot(slot); in setMobileIcons()
233 Slot callStrengthSlot = getSlot(slot); in setCallStrengthIcons()
260 Slot noCallingSlot = getSlot(slot); in setNoCallingIcons()
341 Slot slot = getSlot(slotName); in setIconAccessibilityLiveRegion()
[all …]
/frameworks/native/services/inputflinger/reader/mapper/
DMultiTouchInputMapper.h27 class Slot {
66 Slot();
80 inline const Slot* getSlot(size_t index) const { return &mSlots[index]; } in getSlot()
84 Slot* mSlots;
90 void warnIfNotInUse(const RawEvent& event, const Slot& slot);
108 std::optional<int32_t> getActiveBitId(const MultiTouchMotionAccumulator::Slot& inSlot);
DMultiTouchInputMapper.cpp48 mSlots = new Slot[slotCount]; in configure()
106 Slot* slot = &mSlots[mCurrentSlot]; in process()
178 void MultiTouchMotionAccumulator::warnIfNotInUse(const RawEvent& event, const Slot& slot) { in warnIfNotInUse()
187 MultiTouchMotionAccumulator::Slot::Slot() { in Slot() function in android::MultiTouchMotionAccumulator::Slot
191 void MultiTouchMotionAccumulator::Slot::clear() { in clear()
209 int32_t MultiTouchMotionAccumulator::Slot::getToolType() const { in getToolType()
245 const MultiTouchMotionAccumulator::Slot& inSlot) { in getActiveBitId()
265 const MultiTouchMotionAccumulator::Slot* inSlot = in syncTouch()
/frameworks/native/libs/vr/libpdx/
Dthread_local_buffer_tests.cpp18 template <typename Slot>
20 return reinterpret_cast<std::uintptr_t>(&MessageBuffer<Slot>::buffer_); in GetSlotAddress()
25 template <typename Slot>
27 return reinterpret_cast<std::uintptr_t>(MessageBuffer<Slot>::buffer_); in GetSlotValue()
/frameworks/base/rs/java/android/renderscript/
DProgramFragmentFixedFunction.java159 private class Slot { class in ProgramFragmentFixedFunction.Builder
162 Slot(EnvMode _env, Format _fmt) { in Slot() method in ProgramFragmentFixedFunction.Builder.Slot
167 Slot[] mSlots;
242 mSlots = new Slot[MAX_TEXTURE]; in Builder()
266 mSlots[slot] = new Slot(env, fmt); in setTexture()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarIconListTest.java19 import com.android.systemui.statusbar.phone.StatusBarIconList.Slot;
139 Slot testSlot = new Slot("test_name", null); in testSlot_ViewOrder()
/frameworks/base/core/tests/coretests/src/android/util/
DListItemFactory.java77 public enum Slot { enum in ListItemFactory
91 public static View horizontalButtonSlots(Context context, int desiredHeight, Slot... slots) { in horizontalButtonSlots()
104 for (Slot slot : slots) { in horizontalButtonSlots()
/frameworks/native/libs/gui/include/gui/
DConsumerBase.h225 struct Slot { struct
247 Slot mSlots[BufferQueueDefs::NUM_BUFFER_SLOTS]; argument
/frameworks/minikin/tests/unittest/
DWordBreakerTests.cpp570 ICULineBreakerPool::Slot enUSBreaker = pool.acquire(enUS); in TEST()
571 ICULineBreakerPool::Slot enUSBreaker2 = pool.acquire(enUS); in TEST()
572 ICULineBreakerPool::Slot frFRBreaker = pool.acquire(frFR); in TEST()
594 ICULineBreakerPool::Slot enUSBreaker = pool.acquire(enUS); in TEST()
603 ICULineBreakerPool::Slot frFRBreaker = pool.acquire(frFR); in TEST()
608 ICULineBreakerPool::Slot enUSBreaker2 = pool.acquire(enUS); in TEST()
619 ICULineBreakerPool::Slot slots[MAX_POOL_SIZE * 2]; in TEST()
/frameworks/opt/telephony/proto/src/
Dpin_storage.proto45 // Slot number
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp312 bool getValueTypePair(SmallVectorImpl<uint64_t> &Record, unsigned &Slot, in getValueTypePair() argument
314 if (Slot == Record.size()) return true; in getValueTypePair()
315 unsigned ValNo = (unsigned)Record[Slot++]; in getValueTypePair()
321 } else if (Slot == Record.size()) { in getValueTypePair()
325 unsigned TypeNo = (unsigned)Record[Slot++]; in getValueTypePair()
329 bool getValue(SmallVector<uint64_t, 64> &Record, unsigned &Slot, in getValue() argument
331 if (Slot == Record.size()) return true; in getValue()
332 unsigned ValNo = (unsigned)Record[Slot++]; in getValue()
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp549 bool getValueTypePair(SmallVectorImpl<uint64_t> &Record, unsigned &Slot, in getValueTypePair() argument
551 if (Slot == Record.size()) return true; in getValueTypePair()
552 unsigned ValNo = (unsigned)Record[Slot++]; in getValueTypePair()
558 } else if (Slot == Record.size()) { in getValueTypePair()
562 unsigned TypeNo = (unsigned)Record[Slot++]; in getValueTypePair()
566 bool getValue(SmallVector<uint64_t, 64> &Record, unsigned &Slot, in getValue() argument
568 if (Slot == Record.size()) return true; in getValue()
569 unsigned ValNo = (unsigned)Record[Slot++]; in getValue()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt49443 Landroid/renderscript/ProgramFragmentFixedFunction$Builder$Slot;->env:Landroid/renderscript/Program…
49444 Landroid/renderscript/ProgramFragmentFixedFunction$Builder$Slot;->format:Landroid/renderscript/Prog…
49451 …entFixedFunction$Builder;->mSlots:[Landroid/renderscript/ProgramFragmentFixedFunction$Builder$Slot;