Searched defs:vector (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/core/java/android/gesture/
H A DInstanceLearner.java44 ArrayList<Prediction> classify(int sequenceType, int orientationType, float[] vector) { argument
51 if (sample.vector.length != vector.length) {
56 distance = GestureUtils.minimumCosineDistance(sample.vector, vector, orientationType);
58 distance = GestureUtils.squaredEuclideanDistance(sample.vector, vector);
H A DLearner.java83 abstract ArrayList<Prediction> classify(int sequenceType, int orientationType, float[] vector); argument
H A DInstance.java35 // the feature vector
36 final float[] vector; field in class:Instance
46 vector = sample;
51 float[] sample = vector;
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
H A Duvector.h18 /// \class vector uvector.h ustl.h
21 /// \brief STL vector equivalent.
29 class vector { class in namespace:ustl
44 inline vector (void);
45 inline explicit vector (size_type n);
46 vector (size_type n, const T& v);
47 vector (const vector<T>& v);
48 vector (const_iterator i1, const_iterator i2);
49 ~vector (voi
[all...]
H A Duspecial.h39 TEMPLATE_SWAP_PSPEC (TEMPLATE_TYPE1 (vector,T), TEMPLATE_DECL1 (T))
118 //----{ vector }--------------------------------------------------------
120 STD_TEMPLATE_CTR_STREAMABLE (TEMPLATE_TYPE1 (vector,T), TEMPLATE_DECL1 (T))
123 inline size_t alignof (const vector<T>&) argument
125 typedef typename vector<T>::written_size_type written_size_type;
/frameworks/base/media/libstagefright/codecs/aacdec/
H A Ddct64.cpp144 void pv_split_LC(Int32 *vector, argument
149 Int32 *pt_vector = &vector[0];
150 Int32 *pt_vector_N_1 = &vector[31];
495 void pv_split_z(Int32 *vector) argument
498 Int32 *pt_vector = &vector[31];
500 Int32 *pt_temp_e = vector;
/frameworks/base/awt/org/apache/harmony/awt/gl/font/
H A DAndroidGlyphVector.java40 public Glyph[] vector; field in class:AndroidGlyphVector
53 // FontRenderContext for this vector.
H A DCommonGlyphVector.java49 public Glyph[] vector; field in class:CommonGlyphVector
62 // FontRenderContext for this vector.
136 char vector[] = new char[len];
138 vector[i] = chars[len-i-1];
140 this.vector = peer.getGlyphs(vector);
143 this.vector = peer.getGlyphs(chars);
199 float advanceX = vector[i-1].getGlyphPointMetrics().getAdvanceX();
200 float advanceY = vector[i-1].getGlyphPointMetrics().getAdvanceY();
319 if ((glyphIndex > vector
[all...]
/frameworks/base/include/utils/
H A DVector.h33 * The main templated vector class ensuring type safety
57 * empty the vector
63 * vector stats
66 //! returns number of items in the vector
68 //! returns wether or not the vector is empty
92 //! stack-usage of the vector. returns the top of the stack (last element)
94 //! same as operator [], but allows to access the vector backward (from the end) with a negative index
107 * append/insert another vector
110 //! insert another vector at a given index
111 ssize_t insertVectorAt(const Vector<TYPE>& vector, size_
252 insertVectorAt(const Vector<TYPE>& vector, size_t index) argument
257 appendVector(const Vector<TYPE>& vector) argument
[all...]
/frameworks/base/libs/utils/
H A DVectorImpl.cpp109 ssize_t VectorImpl::insertVectorAt(const VectorImpl& vector, size_t index) argument
113 void* where = _grow(index, vector.size());
115 _do_copy(where, vector.arrayImpl(), vector.size());
120 ssize_t VectorImpl::appendVector(const VectorImpl& vector) argument
122 return insertVectorAt(vector, size());
346 // LOGV("grow vector %p, new_capacity=%d", this, (int)new_capacity);
399 // LOGV("shrink vector %p, new_capacity=%d", this, (int)new_capacity);
557 ssize_t SortedVectorImpl::merge(const VectorImpl& vector)
560 if (!vector
[all...]
/frameworks/base/cmds/keystore/
H A Dkeystore.c155 uint8_t vector[AES_BLOCK_SIZE]; member in struct:__anon2
165 uint8_t vector[AES_BLOCK_SIZE]; local
169 if (read(the_entropy, vector, AES_BLOCK_SIZE) != AES_BLOCK_SIZE) {
179 memcpy(vector, blob.vector, AES_BLOCK_SIZE);
180 AES_cbc_encrypt(blob.encrypted, blob.encrypted, length, aes_key, vector,
209 blob.vector, AES_DECRYPT);

Completed in 152 milliseconds