/frameworks/base/libs/hwui/utils/ |
D | Blur.cpp | 63 void Blur::generateGaussianWeights(float* weights, int32_t radius) { in generateGaussianWeights() argument 83 weights[r + radius] = coeff1 * pow(e, floatR * floatR * coeff2); in generateGaussianWeights() 84 normalizeFactor += weights[r + radius]; in generateGaussianWeights() 90 weights[r + radius] *= 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, int32_t 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/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/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/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 | 214 static void computeGaussianWeights(float* weights, int32_t radius); 215 static void horizontalBlur(float* weights, int32_t radius, const uint8_t *source, uint8_t *dest, 217 static void verticalBlur(float* weights, int32_t radius, const uint8_t *source, uint8_t *dest,
|
/frameworks/base/docs/html/design/style/ |
D | typography.jd | 27 weights, along with an italic style for each weight. The framework also offers the 29 variant in regular and bold weights, along with an italic style for each weight.</p>
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | threshold.fs | 35 // Compute gaussian weights for the blur 65 //Now we need to normalize the weights because all our coefficients need to add up to one
|
/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/base/docs/html/tools/sdk/ |
D | eclipse-adt.jd | 1605 In LinearLayout, sizes are mapped to weights instead of pixel widths.
|
/frameworks/base/docs/html/tools/sdk/ndk/ |
D | index.jd | 861 && "Need at least two branch weights!"</code> (Issue <a href="http://b.android.com/57381">57381</a>…
|