Home
last modified time | relevance | path

Searched refs:tuple (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/core/java/android/animation/
DStateListAnimator.java83 Tuple tuple = new Tuple(specs, animator); in addState() local
84 tuple.mAnimator.addListener(mAnimatorListener); in addState()
85 mTuples.add(tuple); in addState()
147 final Tuple tuple = mTuples.get(i); in clone() local
148 final Animator animatorClone = tuple.mAnimator.clone(); in clone()
150 clone.addState(tuple.mSpecs, animatorClone); in clone()
167 final Tuple tuple = mTuples.get(i); in setState() local
168 if (StateSet.stateSetMatches(tuple.mSpecs, state)) { in setState()
169 match = tuple; in setState()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DHSConnectionCapabilityElementTest.java48 private void appendProtocolPortTuple(ByteBuffer buffer, ProtocolPortTuple tuple) { in appendProtocolPortTuple() argument
49 buffer.put((byte) tuple.getProtocol()); in appendProtocolPortTuple()
50 buffer.putShort((short) tuple.getPort()); in appendProtocolPortTuple()
51 buffer.put((byte) tuple.getStatus()); in appendProtocolPortTuple()
63 for (ProtocolPortTuple tuple : tuples) { in getTestBuffer()
64 appendProtocolPortTuple(buffer, tuple); in getTestBuffer()
/frameworks/support/design/base/android/support/design/widget/
DStateListAnimator.java51 Tuple tuple = new Tuple(specs, animator); in addState() local
53 mTuples.add(tuple); in addState()
63 final Tuple tuple = mTuples.get(i); in setState() local
64 if (StateSet.stateSetMatches(tuple.mSpecs, state)) { in setState()
65 match = tuple; in setState()
/frameworks/native/libs/binder/include/binder/
DSafeInterface.h231 using ParamTuple = std::tuple<Params...>;
235 using ParamTuple = std::tuple<Params...>;
254 static_assert(ArgsMatchParams<std::tuple<Args...>, ParamTuple>::value,
305 static_assert(ArgsMatchParams<std::tuple<Args...>, ParamTuple>::value,
353 struct ArgsMatchParams<std::tuple<Args...>, std::tuple<Params...>> {
361 if (!DecayedElementsMatch<Index, std::tuple<Args...>, std::tuple<Params...>>::value) {
451 typename RawConverter<std::tuple<>, ParamTuple>::type rawArgs{};
493 typename RawConverter<std::tuple<>, ParamTuple>::type rawArgs{};
518 struct RemoveFirst<std::tuple<T, Args...>> {
519 using type = std::tuple<Args...>;
[all …]
/frameworks/base/core/tests/coretests/src/android/animation/
DAnimatorInflaterTest.java54 for (StateListAnimator.Tuple tuple : sla.getTuples()) { in testLoadStateListAnimator()
55 assertUnique(tuple); in testLoadStateListAnimator()
56 assertUnique(tuple.getAnimator()); in testLoadStateListAnimator()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseRecyclerViewInstrumentationTest.java908 for (int[] tuple : startCountTuples) { in deleteAndNotify()
909 tuple[1] = -tuple[1]; in deleteAndNotify()
1022 int[] tuple = fromToTuples[i]; in moveItems() local
1023 moveItem(tuple[0], tuple[1], false); in moveItems()
1095 for (int[] tuple : mStartCountTuples) { in run()
1096 if (tuple[1] < 0) { in run()
1097 delete(tuple); in run()
1099 add(tuple); in run()
1104 private void add(int[] tuple) { in add() argument
1106 offsetOriginalIndices(tuple[0], tuple[1]); in add()
[all …]
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dserialization.h279 inline std::size_t GetSerializedSize(const std::tuple<T...>& tuple);
405 inline std::size_t GetTupleSize(const std::tuple<T...>&, Index<0>) {
411 inline std::size_t GetTupleSize(const std::tuple<T...>& tuple, Index<index>) {
412 return GetTupleSize(tuple, Index<index - 1>()) +
413 GetSerializedSize(std::get<index - 1>(tuple));
419 inline std::size_t GetSerializedSize(const std::tuple<T...>& tuple) {
420 return GetEncodingSize(EncodeType(tuple)) +
421 GetTupleSize(tuple, Index<sizeof...(T)>());
665 inline void SerializeType(const std::tuple<T...>& value, void*& buffer) {
869 inline void SerializeObject(const std::tuple<T...>&, MessageWriter*, void*&);
[all …]
Dtype_operators.h81 struct IsConvertible<std::pair<A, B>, std::tuple<C, D>>
85 struct IsConvertible<std::tuple<A, B>, std::pair<C, D>>
92 struct IsConvertible<std::tuple<A...>, std::tuple<B...>>
Dargument_encoder.h108 using ArgsTupleType = std::tuple<typename std::decay<Args>::type...>;
128 using ArgsTupleType = std::tuple<typename std::decay<Args>::type...>;
Dfunction_traits.h29 using Args = std::tuple<Args_...>;
Dremote_method_type.h48 typedef std::tuple<MethodTypes...> Methods;
Dserializable.h57 using Members = std::tuple<MemberPointers...>;
Dencoding.h496 inline constexpr EncodingType EncodeType(const std::tuple<T...>& /*value*/) { in EncodeType()
/frameworks/base/tools/fonts/
Dfontchain_lint.py69 if type(inp) is tuple: # character sequence
139 sequence = tuple(sequence)
374 additions = [tuple(sequence)]
440 return tuple(0x1F1E6 + ord(ch) - ord('A') for ch in territory_code)
556 return tuple(rev)
573 sequence = tuple(ch for ch in sequence if ch != EMOJI_VS)
585 sequence = tuple(ch for ch in sequence if ch != EMOJI_VS)
/frameworks/native/libs/vr/libpdx_uds/
Dremote_method_tests.cpp125 using SerializableMembers = std::tuple<int, int>;
807 (IsConvertible<std::pair<int, float>, std::tuple<int, float>>::value)); in TEST()
809 (IsConvertible<std::tuple<int, float>, std::pair<int, float>>::value)); in TEST()
811 (IsConvertible<std::pair<float, float>, std::tuple<int, float>>::value)); in TEST()
813 (IsConvertible<std::tuple<float, float>, std::pair<int, float>>::value)); in TEST()
815 (IsConvertible<std::pair<int, int>, std::tuple<int, float>>::value)); in TEST()
817 (IsConvertible<std::tuple<int, int>, std::pair<int, float>>::value)); in TEST()
819 (IsConvertible<std::pair<int, int>, std::tuple<int, int, int>>::value)); in TEST()
821 (IsConvertible<std::tuple<int, int, int>, std::pair<int, int>>::value)); in TEST()
863 (IsConvertible<std::map<std::tuple<int, int>, std::string>, in TEST()
[all …]
/frameworks/rs/tests/lldb/tests/testcases/
Dreduce_common.py46 funcs_match = 'find_min_user_type_((%s|%s))' % tuple(func_suffixes)
/frameworks/minikin/doc/
Dhyb_file_format.md28 array, and the pattern field in the tuple is the pattern for that node. Further, each edge
29 in the trie has an entry in the array, and the character and link fields in the tuple
39 an array with a 3-tuple for each pattern (length, number of trailing 0's, and offset
/frameworks/native/libs/vr/libvrflinger/
Dhardware_composer.h164 std::tuple<int, int, sp<GraphicBuffer>, pdx::LocalHandle> Acquire() { in Acquire()
200 std::tuple<int, int, sp<GraphicBuffer>, pdx::LocalHandle> Acquire() { in Acquire()
/frameworks/base/tools/localedata/
Dextract_icu_data.py38 return tuple(parts)
/frameworks/native/libs/vr/libpdx_default_transport/
Dpdx_benchmarks.cpp154 std::tuple<uint64_t, uint64_t, SchedStats>(Void));
450 int Stats(std::tuple<uint64_t, uint64_t, SchedStats>* stats_out) { in Stats()
725 std::tuple<uint64_t, uint64_t, SchedStats> stats; in ClientCommand()
/frameworks/av/include/media/
DInterpolator.h335 std::unordered_map<S, std::tuple<S /* c1 */, S /* c2 */, S /* c3 */>> mMemo;
DVolumeShaper.h649 std::tuple<T /* volume */, S /* position */, bool /* active */> vt = in getVolume()
708 std::tuple<T /* volume */, S /* position */, bool /* active */>
/frameworks/native/libs/binder/tests/
DbinderThroughputTest.cpp90 static tuple<Pipe, Pipe> createPipePair() { in createPipePair()
/frameworks/native/libs/vr/libpdx/private/pdx/
Dutility.h146 typename R = typename RepeatedType<T, N, std::tuple>::type>
/frameworks/native/libs/vr/libpdx/
Dserialization_tests.cpp1116 TEST(SerializationTest, tuple) { in TEST() argument
1916 std::tuple<LocalHandle&, LocalHandle&> t1(result1, result2); in TEST()
2291 TEST(DeserializationTest, tuple) { in TEST() argument
2296 std::tuple<> t1; in TEST()
2497 std::tuple<int> t; in TEST()

12