/frameworks/base/libs/hwui/utils/ |
D | Blur.cpp | 61 void Blur::generateGaussianWeights(float* weights, float radius) { in generateGaussianWeights() argument 83 weights[r + intRadius] = coeff1 * pow(e, floatR * floatR * coeff2); in generateGaussianWeights() 84 normalizeFactor += weights[r + intRadius]; in generateGaussianWeights() 90 weights[r + intRadius] *= normalizeFactor; in generateGaussianWeights() 94 void Blur::horizontal(float* weights, int32_t radius, in horizontal() argument 106 const float* gPtr = weights; in horizontal() 138 void Blur::vertical(float* weights, int32_t radius, in vertical() argument 148 const float* gPtr = weights; in vertical()
|
D | Blur.h | 37 static void generateGaussianWeights(float* weights, float radius); 38 static void horizontal(float* weights, int32_t radius, const uint8_t* source, 40 static void vertical(float* weights, int32_t radius, const uint8_t* source,
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/ |
D | StochasticLinearRanker.java | 42 public HashMap<String, Float> weights = new HashMap<String, Float>(); field in StochasticLinearRanker.Model 95 slrModel.weights.put(wKeys[i], wValues[i]); in getUModel() 109 String[] wKeys = new String[model.weights.size()]; in loadModel() 110 float[] wValues = new float[model.weights.size()]; in loadModel() 112 for (Map.Entry<String, Float> e : model.weights.entrySet()){ in loadModel() 144 for (Map.Entry<String, Float> e : model.weights.entrySet()) in print()
|
/frameworks/rs/driver/runtime/ |
D | rs_sample.c | 268 getBilinearSample1D(const Allocation_t *alloc, float2 weights, in getBilinearSample1D() argument 276 return getSample_RGBA(p, iPixel, next, weights.x, weights.y); in getBilinearSample1D() 278 return getSample_A(p, iPixel, next, weights.x, weights.y); in getBilinearSample1D() 281 return getSample_565(p, iPixel, next, weights.x, weights.y); in getBilinearSample1D() 283 return getSample_RGB(p, iPixel, next, weights.x, weights.y); in getBilinearSample1D() 285 return getSample_L(p, iPixel, next, weights.x, weights.y); in getBilinearSample1D() 287 return getSample_LA(p, iPixel, next, weights.x, weights.y); in getBilinearSample1D() 442 float2 weights; in sample_LOD_LinearPixel() local 443 weights.x = oneMinusFrac; in sample_LOD_LinearPixel() 444 weights.y = frac; in sample_LOD_LinearPixel() [all …]
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | SaturateFilter.java | 142 float weights[] = { 2f/8f, 5f/8f, 1f/8f}; in initParameters() local 144 mBenProgram.setHostValue("weights", weights); in initParameters() 147 mHerfProgram.setHostValue("weights", weights); in initParameters()
|
D | SepiaFilter.java | 103 float weights[] = { 805.0f / 2048.0f, 715.0f / 2048.0f, 557.0f / 2048.0f, in initParameters() local 106 mProgram.setHostValue("matrix", weights); in initParameters()
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | Learning_StochasticLinearRanker.java | 90 HashMap<String, Float> weights = new HashMap<String, Float>(); in SetModelPriorWeight() local 92 weights.put(temp.get(i).key, temp.get(i).value); in SetModelPriorWeight() 95 return mLearningSlRanker.setModelPriorWeights(weights); in SetModelPriorWeight()
|
/frameworks/base/libs/hwui/ |
D | FontRenderer.h | 209 static void computeGaussianWeights(float* weights, int32_t radius); 210 static void horizontalBlur(float* weights, int32_t radius, const uint8_t *source, uint8_t *dest, 212 static void verticalBlur(float* weights, int32_t radius, const uint8_t *source, uint8_t *dest,
|
/frameworks/native/opengl/libs/GLES2/ |
D | gl2ext_api.in | 844 …lWeightPathsNV)(GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights) { 845 CALL_GL_API(glWeightPathsNV, resultPath, numPaths, paths, weights);
|
/frameworks/base/docs/html/design/wear/ |
D | watchfaces.jd | 75 <p>Try using a common set of colors, line weights, shading, and other design elements
|
/frameworks/native/opengl/include/GLES2/ |
D | gl2ext.h | 2526 …GHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); 2584 …glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
|
/frameworks/native/opengl/libs/ |
D | entries.in | 896 … glWeightPathsNV, GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights)
|
/frameworks/base/docs/html/ndk/downloads/ |
D | revision_history.jd | 1015 && "Need at least two branch weights!"</code> (Issue <a href="http://b.android.com/57381">57381</a>…
|