/frameworks/ml/bordeaux/learning/multiclass_pa/native/ |
D | multiclass_pa.h | 49 float Score(const std::vector<float>& inputs, 50 const std::vector<float>& parameters) const; 51 float SparseScore(const std::vector<std::pair<int, float> >& inputs, 52 const std::vector<float>& parameters) const; 55 float L2NormSquare(const std::vector<float>& inputs) const; 56 float SparseL2NormSquare(const std::vector<std::pair<int, float> >& inputs) const; 61 virtual float TrainOneExample(const std::vector<float>& inputs, int target); 63 const std::vector<std::pair<int, float> >& inputs, int target); 66 float Train(const std::vector<std::pair<std::vector<float>, int> >& data, 69 const std::vector<std::pair<std::vector<std::pair<int, float> >, int> >& data, [all …]
|
D | multiclass_pa.cpp | 26 using std::vector; 70 float MulticlassPA::Score(const vector<float>& inputs, in Score() 71 const vector<float>& parameters) const { in Score() 80 float MulticlassPA::SparseScore(const vector<pair<int, float> >& inputs, in SparseScore() 81 const vector<float>& parameters) const { in SparseScore() 91 float MulticlassPA::L2NormSquare(const vector<float>& inputs) const { in L2NormSquare() 100 const vector<pair<int, float> >& inputs) const { in SparseL2NormSquare() 108 float MulticlassPA::TrainOneExample(const vector<float>& inputs, int target) { in TrainOneExample() 141 const vector<pair<int, float> >& inputs, int target) { in SparseTrainOneExample() 173 float MulticlassPA::Train(const vector<pair<vector<float>, int> >& data, in Train() [all …]
|
/frameworks/rs/api/ |
D | rs_vector_math.spec | 48 test: vector 59 test: vector 75 test: vector 86 test: vector 100 test: vector 111 test: vector 130 test: vector 140 summary: Approximate length of a vector 142 Computes the approximate length of a vector. 148 test: vector [all …]
|
D | Specification.h | 163 std::vector<std::string> mDescription; // The comments to be included in the header 176 const std::vector<std::string>& getDescription() const { return mDescription; } in getDescription() 190 std::vector<ConstantSpecification*> mSpecifications; // Owned 196 const std::vector<ConstantSpecification*> getSpecifications() const { return mSpecifications; } in getSpecifications() 206 std::vector<TypeSpecification*> mSpecifications; // Owned 212 const std::vector<TypeSpecification*> getSpecifications() const { return mSpecifications; } in getSpecifications() 226 std::vector<ParameterEntry*> mParameters; 229 std::vector<FunctionSpecification*> mSpecifications; // Owned 236 const std::vector<ParameterEntry*>& getParameters() const { return mParameters; } in getParameters() 238 const std::vector<FunctionSpecification*> getSpecifications() const { return mSpecifications; } in getSpecifications() [all …]
|
D | rs_matrix.spec | 28 a vector is done by postmultiplying the vector, e.g. <code>(matrix * vector)</code>, 42 does a scaling, the resulting matrix when applied to a vector will first do the 267 To apply this projection to a vector, multiply the vector by the created 318 To apply this projection to a vector, multiply the vector by the created matrix 336 To apply this projection to a vector, multiply the vector by the created matrix 350 …his function creates a rotation matrix. The axis of rotation is the <code>(x, y, z)</code> vector. 352 To rotate a vector, multiply the vector by the created matrix using @rsMatrixMultiply(). 366 This function creates a scaling matrix, where each component of a vector is multiplied 369 To scale a vector, multiply the vector by the created matrix using @rsMatrixMultiply(). 382 a vector. [all …]
|
/frameworks/native/include/binder/ |
D | Parcel.h | 127 status_t writeByteVector(const std::unique_ptr<std::vector<int8_t>>& val); 128 status_t writeByteVector(const std::vector<int8_t>& val); 129 status_t writeByteVector(const std::unique_ptr<std::vector<uint8_t>>& val); 130 status_t writeByteVector(const std::vector<uint8_t>& val); 131 status_t writeInt32Vector(const std::unique_ptr<std::vector<int32_t>>& val); 132 status_t writeInt32Vector(const std::vector<int32_t>& val); 133 status_t writeInt64Vector(const std::unique_ptr<std::vector<int64_t>>& val); 134 status_t writeInt64Vector(const std::vector<int64_t>& val); 135 status_t writeFloatVector(const std::unique_ptr<std::vector<float>>& val); 136 status_t writeFloatVector(const std::vector<float>& val); [all …]
|
D | PersistableBundle.h | 58 void putBooleanVector(const String16& key, const std::vector<bool>& value); 59 void putIntVector(const String16& key, const std::vector<int32_t>& value); 60 void putLongVector(const String16& key, const std::vector<int64_t>& value); 61 void putDoubleVector(const String16& key, const std::vector<double>& value); 62 void putStringVector(const String16& key, const std::vector<String16>& value); 75 bool getBooleanVector(const String16& key, std::vector<bool>* out) const; 76 bool getIntVector(const String16& key, std::vector<int32_t>* out) const; 77 bool getLongVector(const String16& key, std::vector<int64_t>* out) const; 78 bool getDoubleVector(const String16& key, std::vector<double>* out) const; 79 bool getStringVector(const String16& key, std::vector<String16>* out) const; [all …]
|
/frameworks/compile/slang/tests/F_vector_cast/ |
D | stderr.txt.expect | 1 …: error: cannot convert between vector values of different size ('float2' (vector of 2 'float' val… 2 …1: error: cannot convert between vector values of different size ('int3' (vector of 3 'int' values… 3 vector_cast.rs:7:9: error: invalid vector cast 4 vector_cast.rs:14:9: error: invalid vector cast 5 vector_cast.rs:21:9: error: invalid vector cast 6 vector_cast.rs:31:13: error: invalid vector cast
|
/frameworks/minikin/include/minikin/ |
D | LineBreaker.h | 54 void setIndents(const std::vector<float>& indents) { in setIndents() 79 std::vector<float> mIndents; 101 std::vector<int> mStops; 140 void setIndents(const std::vector<float>& indents); 217 std::vector<uint16_t>mTextBuf; 218 std::vector<float>mCharWidths; 221 std::vector<uint8_t> mHyphBuf; 230 std::vector<int> mBreaks; 231 std::vector<float> mWidths; 232 std::vector<int> mFlags; [all …]
|
D | FontCollection.h | 30 explicit FontCollection(const std::vector<FontFamily*>& typefaces); 41 std::vector<Run>* result) const; 88 std::vector<FontFamily*> mFamilies; 92 std::vector<FontFamily*> mFamilyVec; 95 std::vector<FontFamily*> mVSFamilyVec; 98 std::vector<Range> mRanges;
|
/frameworks/base/docs/html/guide/topics/resources/ |
D | complex-xml-resources.jd | 7 One example is an animated vector drawable, which is a drawable resource encapsulating a vector 16 <animated-vector xmlns:android="http://schemas.android.com/apk/res/android" 21 </animated-vector> 29 <vector xmlns:android="http://schemas.android.com/apk/res/android" 43 </vector> 61 <p>There are a lot of files here just to make a single animated vector drawable! 62 If the vector drawable and animations are re-used elsewhere, this is the best way to implement an 63 animated vector drawable. If they’re only ever used for this animated vector drawable, then there is 67 Since we’re making an animated vector drawable, we put the file under <code>res/drawable/</code>.</… 75 <animated-vector xmlns:android="http://schemas.android.com/apk/res/android" [all …]
|
/frameworks/base/core/java/android/gesture/ |
D | InstanceLearner.java | 44 ArrayList<Prediction> classify(int sequenceType, int orientationType, float[] vector) { in classify() argument 51 if (sample.vector.length != vector.length) { in classify() 56 … distance = GestureUtils.minimumCosineDistance(sample.vector, vector, orientationType); in classify() 58 distance = GestureUtils.squaredEuclideanDistance(sample.vector, vector); in classify()
|
/frameworks/base/tools/aapt2/ |
D | Flags.h | 35 std::vector<std::string>* value); 39 std::vector<std::string>* value); 45 bool parse(const StringPiece& command, const std::vector<StringPiece>& args, 48 const std::vector<std::string>& getArgs(); 61 std::vector<Flag> mFlags; 62 std::vector<std::string> mArgs;
|
D | Main.cpp | 24 extern int compile(const std::vector<StringPiece>& args); 25 extern int link(const std::vector<StringPiece>& args); 26 extern int dump(const std::vector<StringPiece>& args); 27 extern int diff(const std::vector<StringPiece>& args); 36 std::vector<aapt::StringPiece> args; in main()
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
D | ValueEnumerator.h | 45 typedef std::vector<llvm::Type*> TypeList; 48 typedef std::vector<std::pair<const llvm::Value*, unsigned> > ValueList; 59 std::vector<const llvm::Metadata *> MDs; 68 std::vector<llvm::AttributeSet> AttributeGroups; 72 std::vector<llvm::AttributeSet> Attribute; 84 std::vector<const llvm::BasicBlock*> BasicBlocks; 151 const std::vector<const llvm::Metadata *> &getMDs() const { return MDs; } in getMDs() 156 const std::vector<const llvm::BasicBlock*> &getBasicBlocks() const { in getBasicBlocks() 159 const std::vector<llvm::AttributeSet> &getAttributes() const { in getAttributes() 162 const std::vector<llvm::AttributeSet> &getAttributeGroups() const { in getAttributeGroups()
|
/frameworks/compile/slang/BitWriter_2_9/ |
D | ValueEnumerator.h | 45 typedef std::vector<llvm::Type*> TypeList; 48 typedef std::vector<std::pair<const llvm::Value*, unsigned> > ValueList; 59 std::vector<const llvm::Metadata *> MDs; 68 std::vector<llvm::AttributeSet> AttributeGroups; 72 std::vector<llvm::AttributeSet> Attribute; 84 std::vector<const llvm::BasicBlock*> BasicBlocks; 151 const std::vector<const llvm::Metadata *> &getMDs() const { return MDs; } in getMDs() 156 const std::vector<const llvm::BasicBlock*> &getBasicBlocks() const { in getBasicBlocks() 159 const std::vector<llvm::AttributeSet> &getAttributes() const { in getAttributes() 162 const std::vector<llvm::AttributeSet> &getAttributeGroups() const { in getAttributeGroups()
|
/frameworks/compile/slang/BitWriter_3_2/ |
D | ValueEnumerator.h | 46 typedef std::vector<llvm::Type*> TypeList; 49 typedef std::vector<std::pair<const llvm::Value*, unsigned> > ValueList; 62 std::vector<const llvm::Metadata *> MDs; 71 std::vector<llvm::AttributeSet> AttributeGroups; 75 std::vector<llvm::AttributeSet> Attribute; 87 std::vector<const llvm::BasicBlock*> BasicBlocks; 154 const std::vector<const llvm::Metadata *> &getMDs() const { return MDs; } in getMDs() 159 const std::vector<const llvm::BasicBlock*> &getBasicBlocks() const { in getBasicBlocks() 162 const std::vector<llvm::AttributeSet> &getAttributes() const { in getAttributes() 165 const std::vector<llvm::AttributeSet> &getAttributeGroups() const { in getAttributeGroups()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | shader_program.h | 97 bool Process(const std::vector<const GLFrame*>& inputs, GLFrame* output); 102 bool Process(const std::vector<const GLTextureHandle*>& input, 195 bool SetUniformValue(ProgramVar var, const std::vector<int>& values); 199 bool SetUniformValue(ProgramVar var, const std::vector<float>& values); 240 bool SetConstAttributeValue(ProgramVar var, const std::vector<float>& value); 289 const std::vector<float>& data, 341 bool RenderFrame(const std::vector<GLuint>& textures, 342 const std::vector<GLenum>& targets); 444 bool BindInputTextures(const std::vector<GLuint>& textures, 445 const std::vector<GLenum>& targets);
|
/frameworks/rs/scriptc/ |
D | rs_value_types.rsh | 38 * To create vector literals, use the vector type followed by the values enclosed 41 * Entries of a vector can be accessed using different naming styles. 54 * Multiple entries of a vector can be accessed at once by using an identifier that is 55 * the concatenation of multiple letters or indices. The resulting vector has a size 258 * A vector of two floats. These two floats are packed into a single 64 bit field 261 * A vector of two floats. These two floats are packed into a single 64 bit field 269 * A vector of three floats. These three floats are packed into a single 128 bit field 277 * A vector of four floats type. These four floats are packed into a single 128 bit field 285 * A vector of two doubles. These two double fields packed into a single 128 bit field 293 * A vector of three doubles. These three double fields packed into a single 256 bit field [all …]
|
D | rs_matrix.rsh | 30 * a vector is done by postmultiplying the vector, e.g. (matrix * vector), 44 * does a scaling, the resulting matrix when applied to a vector will first do the 273 * To apply this projection to a vector, multiply the vector by the created 335 * To apply this projection to a vector, multiply the vector by the created matrix 352 * To apply this projection to a vector, multiply the vector by the created matrix 368 * This function creates a rotation matrix. The axis of rotation is the (x, y, z) vector. 370 * To rotate a vector, multiply the vector by the created matrix using rsMatrixMultiply(). 377 * x: X component of the vector that is the axis of rotation. 378 * y: Y component of the vector that is the axis of rotation. 379 * z: Z component of the vector that is the axis of rotation. [all …]
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | LocationCluster.java | 72 double[] vector = getLocationVector(location); in consolidate() local 81 newCenter[i] += vector[i] * duration; in consolidate() 116 double[] vector = new double[VECTOR_LENGTH]; in moveAwayCluster() local 124 vector[i] = mCenter[i] - dot * cluster.mCenter[i]; in moveAwayCluster() 125 norm += vector[i] * vector[i]; in moveAwayCluster() 132 (vector[i] / norm) * Math.sin(radian); in moveAwayCluster()
|
/frameworks/av/media/libmedia/ |
D | ICrypto.cpp | 182 void readVector(Parcel &reply, Vector<uint8_t> &vector) const { in readVector() 184 vector.insertAt((size_t)0, size); in readVector() 185 reply.read(vector.editArray(), size); in readVector() 188 void writeVector(Parcel &data, Vector<uint8_t> const &vector) const { in writeVector() 189 data.writeInt32(vector.size()); in writeVector() 190 data.write(vector.array(), vector.size()); in writeVector() 200 void BnCrypto::readVector(const Parcel &data, Vector<uint8_t> &vector) const { in readVector() 202 vector.insertAt((size_t)0, size); in readVector() 203 data.read(vector.editArray(), size); in readVector() 206 void BnCrypto::writeVector(Parcel *reply, Vector<uint8_t> const &vector) const { in writeVector() [all …]
|
/frameworks/compile/libbcc/lib/Renderscript/ |
D | RSX86CallConvPass.cpp | 94 bool FillArgsToDeref(llvm::Function *F, std::vector<unsigned> &ArgNums) { in FillArgsToDeref() 111 std::vector<unsigned> &ArgsToDeref) { in RedefineFn() 114 std::vector<llvm::Type *> Params(FTy->param_begin(), FTy->param_end()); in RedefineFn() 145 std::vector<unsigned> &ArgsToDeref) { in ReplaceCallInsn() 148 std::vector<llvm::Value *> Args(CS.arg_begin(), CS.arg_end()); in ReplaceCallInsn() 181 std::vector<llvm::Function *> FunctionsToHandle; in runOnModule() 191 std::vector<unsigned> ArgsToDeref; in runOnModule()
|
/frameworks/base/tools/aapt2/split/ |
D | TableSplitter.h | 50 TableSplitter(const std::vector<SplitConstraints>& splits, in TableSplitter() 63 const std::vector<std::unique_ptr<ResourceTable>>& getSplits() { in getSplits() 68 std::vector<SplitConstraints> mSplitConstraints; 69 std::vector<std::unique_ptr<ResourceTable>> mSplits;
|
/frameworks/base/docs/html-intl/intl/es/training/material/ |
D | drawables.jd | 11 <li><a href="#VectorDrawables">Crear interfaces dibujables en vector</a></li> 26 <li>Interfaces dibujables en vector</li> 84 <h2 id="VectorDrawables">Crear interfaces dibujables en vector</h2> 90 <p>Gráficos en vector de Android</p> 94 <p>En Android 5.0 (API nivel 21) y superiores, puedes definir las interfaces dibujables en vector, … 95 perder definición. Solo necesitas un archivo de recurso para una imagen en vector, en oposición a u… 96 …antalla en el caso de imágenes de mapa de bits. Para crear una imagen en vector, defines los detal… 97 de la forma dentro de un elemento XML <code><vector></code>.</p> 99 <p>El siguiente ejemplo define una imagen en vector con la forma de un corazón:</p> 103 <vector xmlns:android="http://schemas.android.com/apk/res/android" [all …]
|