/frameworks/base/cmds/keystore/ |
H A D | keystore.cpp | 162 uint8_t vector[AES_BLOCK_SIZE]; member in struct:blob 199 if (!entropy->generate_random_data(mBlob.vector, AES_BLOCK_SIZE)) { 218 uint8_t vector[AES_BLOCK_SIZE]; local 219 memcpy(vector, mBlob.vector, AES_BLOCK_SIZE); 221 aes_key, vector, AES_ENCRYPT); 265 mBlob.vector, AES_DECRYPT);
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureStore.java | 139 return mClassifier.classify(mSequenceType, mOrientationStyle, instance.vector);
|
H A D | GestureUtils.java | 271 float[] vector = new float[vectorLength]; 279 vector[index] = lstPointX; 281 vector[index] = lstPointY; 301 vector[index] = nx; 303 vector[index] = ny; 318 vector[i] = lstPointX; 319 vector[i + 1] = lstPointY; 321 return vector;
|
H A D | Instance.java | 35 // the feature vector 36 final float[] vector; field in class:Instance 46 vector = sample; 51 float[] sample = vector;
|
H A D | InstanceLearner.java | 44 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 D | Learner.java | 83 abstract ArrayList<Prediction> classify(int sequenceType, int orientationType, float[] vector); argument
|
/frameworks/base/core/jni/ |
H A D | android_hardware_SensorManager.cpp | 138 jint accuracy = event.vector.status; 139 env->SetFloatArrayRegion(values, 0, 3, event.vector.v);
|
/frameworks/base/include/utils/ |
H A D | SortedVector.h | 53 * empty the vector 59 * vector stats 62 //! returns number of items in the vector 64 //! returns wether or not the vector is empty 97 //! stack-usage of the vector. returns the top of the stack (last element) 99 //! same as operator [], but allows to access the vector backward (from the end) with a negative index 114 //! merges a vector into this one 115 ssize_t merge(const Vector<TYPE>& vector); 116 ssize_t merge(const SortedVector<TYPE>& vector); 222 ssize_t SortedVector<TYPE>::merge(const Vector<TYPE>& vector) { [all...] |
H A D | Vector.h | 36 * The main templated vector class ensuring type safety 64 * empty the vector 70 * vector stats 73 //! returns number of items in the vector 75 //! returns wether or not the vector is empty 99 //! stack-usage of the vector. returns the top of the stack (last element) 101 //! same as operator [], but allows to access the vector backward (from the end) with a negative index 114 * append/insert another vector 117 //! insert another vector at a given index 118 ssize_t insertVectorAt(const Vector<TYPE>& vector, size_ 305 insertVectorAt(const Vector<TYPE>& vector, size_t index) argument 310 appendVector(const Vector<TYPE>& vector) argument [all...] |
H A D | VectorImpl.h | 32 * Implementation of the guts of the vector<> class 62 /*! vector stats */ 68 /*! append/insert another vector or array */ 69 ssize_t insertVectorAt(const VectorImpl& vector, size_t index); 70 ssize_t appendVector(const VectorImpl& vector); 131 void * mStorage; // base address of the vector 158 //! merges a vector into this one 159 ssize_t merge(const VectorImpl& vector); 160 ssize_t merge(const SortedVectorImpl& vector); 187 ssize_t insertVectorAt(const VectorImpl& vector, size_ [all...] |
/frameworks/base/libs/hwui/ |
H A D | SkiaColorFilter.cpp | 37 SkiaColorMatrixFilter::SkiaColorMatrixFilter(SkColorFilter *skFilter, float* matrix, float* vector): argument 38 SkiaColorFilter(skFilter, kColorMatrix, true), mMatrix(matrix), mVector(vector) { 39 // Skia uses the range [0..255] for the addition vector, but we need 40 // the [0..1] range to apply the vector in GLSL
|
H A D | SkiaColorFilter.h | 81 * A color filter that multiplies the source color with a matrix and adds a vector. 84 ANDROID_API SkiaColorMatrixFilter(SkColorFilter *skFilter, float* matrix, float* vector);
|
/frameworks/base/libs/hwui/utils/ |
H A D | SortedList.h | 85 ssize_t merge(const Vector<TYPE>& vector); 86 ssize_t merge(const SortedList<TYPE>& vector); 185 inline ssize_t SortedList<TYPE>::merge(const Vector<TYPE>& vector) { 186 return SortedListImpl::merge(reinterpret_cast<const VectorImpl&> (vector)); 190 inline ssize_t SortedList<TYPE>::merge(const SortedList<TYPE>& vector) { 191 return SortedListImpl::merge(reinterpret_cast<const SortedListImpl&> (vector));
|
H A D | SortedListImpl.cpp | 84 ssize_t SortedListImpl::merge(const VectorImpl& vector) { argument 86 if (!vector.isEmpty()) { 87 const void* buffer = vector.arrayImpl(); 89 size_t s = vector.size(); 100 ssize_t SortedListImpl::merge(const SortedListImpl& vector) { argument 101 // we've merging a sorted vector... nice! 103 if (!vector.isEmpty()) { 105 if (do_compare(vector.itemLocation(vector.size() - 1), arrayImpl()) <= 0) { 106 err = VectorImpl::insertVectorAt(static_cast<const VectorImpl&> (vector), [all...] |
H A D | SortedListImpl.h | 36 ssize_t merge(const VectorImpl& vector); 37 ssize_t merge(const SortedListImpl& vector); 52 ssize_t insertVectorAt(const VectorImpl& vector, size_t index); 53 ssize_t appendVector(const VectorImpl& vector);
|
/frameworks/base/libs/ui/ |
H A D | Input.cpp | 529 // Construct and transform a vector oriented at the specified clockwise angle from vertical. 531 SkPoint vector; local 532 vector.fX = SkFloatToScalar(sinf(angleRadians)); 533 vector.fY = SkFloatToScalar(-cosf(angleRadians)); 534 matrix->mapVectors(& vector, 1); 536 // Derive the transformed vector's clockwise angle from vertical. 537 float result = atan2f(SkScalarToFloat(vector.fX), SkScalarToFloat(-vector.fY)); 875 * The output is a vector B with indices 0..n-1 that describes a polynomial 886 * This function first expands the X vector t [all...] |
/frameworks/base/libs/utils/ |
H A D | VectorImpl.cpp | 109 ssize_t VectorImpl::insertVectorAt(const VectorImpl& vector, size_t index) argument 111 return insertArrayAt(vector.arrayImpl(), index, vector.size()); 114 ssize_t VectorImpl::appendVector(const VectorImpl& vector) argument 116 return insertVectorAt(vector, size()); 359 // LOGV("grow vector %p, new_capacity=%d", this, (int)new_capacity); 412 // LOGV("shrink vector %p, new_capacity=%d", this, (int)new_capacity); 567 ssize_t SortedVectorImpl::merge(const VectorImpl& vector) 570 if (!vector.isEmpty()) { 571 const void* buffer = vector [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_Utils.h | 34 KeyedVector<String8, String8>* vector);
|
/frameworks/base/media/libstagefright/chromium_http/ |
H A D | support.cpp | 211 const std::vector<std::string>& cert_chain,
|
H A D | support.h | 70 const std::vector<std::string>& cert_chain,
|
/frameworks/base/media/libstagefright/codecs/aacdec/ |
H A D | dct64.cpp | 144 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;
|
H A D | dct64.h | 61 void pv_split_LC(Int32 *vector, 73 void pv_split_z(Int32 *vector);
|
/frameworks/base/media/libstagefright/codecs/aacenc/src/ |
H A D | transform.c | 428 * description: Calculate max possible scale factor for input vector of shorts 432 static Word16 getScalefactorOfShortVectorStride(const Word16 *vector, /*!< Pointer to input vector */ argument 433 Word16 len, /*!< Length of input vector */ 434 Word16 stride) /*!< Stride of input vector */ 441 absVal = abs_s(vector[i*stride]); 452 * description: Calculate transform filter for input vector of shorts
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | vlc_decode.cpp | 264 * 5/10/00 : check whether the decoded vector is legal. 315 * 5/10/2000 : check to see if the decoded vector falls within 323 MOT *vector /* --> Obtained MV component in 1/2 units */ 344 *vector += (MOT)(diff_vector); 346 *vector = (MOT)((*vector + half_range) & mask) - half_range;
|
H A D | vlc_decode.h | 97 PV_STATUS PV_DeScaleMVD(int f_code, int residual, int vlc_code_mag, MOT *vector);
|