/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowViewConfiguration.java | 75 float density = metrics.density; in setup() local 77 edgeSlop = (int) (density * EDGE_SLOP + 0.5f); in setup() 78 fadingEdgeLength = (int) (density * FADING_EDGE_LENGTH + 0.5f); in setup() 79 minimumFlingVelocity = (int) (density * MINIMUM_FLING_VELOCITY + 0.5f); in setup() 80 maximumFlingVelocity = (int) (density * MAXIMUM_FLING_VELOCITY + 0.5f); in setup() 81 scrollbarSize = (int) (density * SCROLL_BAR_SIZE + 0.5f); in setup() 82 touchSlop = (int) (density * TOUCH_SLOP + 0.5f); in setup() 83 pagingTouchSlop = (int) (density * PAGING_TOUCH_SLOP + 0.5f); in setup() 84 doubleTapSlop = (int) (density * DOUBLE_TAP_SLOP + 0.5f); in setup() 85 windowTouchSlop = (int) (density * WINDOW_TOUCH_SLOP + 0.5f); in setup()
|
D | ShadowDisplay.java | 19 private float density = 1.5f; field in ShadowDisplay 35 outMetrics.density = density; in getMetrics() 70 return density; in getDensity() 73 public void setDensity(float density) { in setDensity() argument 74 this.density = density; in setDensity()
|
D | ShadowResources.java | 37 private float density = 1.0f; field in ShadowResources 129 public void setDensity(float density) { in setDensity() argument 130 this.density = density; in setDensity() 148 displayMetrics.density = this.density; in getDisplayMetrics()
|
/external/eigen/test/ |
D | sparse_solvers.cpp | 13 initSPD(double density, in initSPD() argument 18 initSparse(density,refMat,sparseMat); in initSPD() 22 initSparse(density,aux,sparseMat,ForceNonZeroDiag); in initSPD() 35 double density = (std::max)(8./(rows*cols), 0.01); in sparse_solvers() local 52 …initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, &zeroCoords, &nonze… in sparse_solvers() 57 …initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonze… in sparse_solvers() 71 …initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, &zeroCoords, &nonze… in sparse_solvers() 76 …initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonze… in sparse_solvers() 84 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular); in sparse_solvers() 85 initSparse<Scalar>(density, refMatB, matB); in sparse_solvers() [all …]
|
D | sparse.h | 57 initSparse(double density, 67 …sparseMat.reserve(VectorXi::Constant(IsRowMajor ? refMat.rows() : refMat.cols(), int((1.5*density)… 77 Scalar v = (internal::random<double>(0,1) < density) ? internal::random<Scalar>() : Scalar(0); 109 initSparse(double density, 118 sparseMat.reserve(int(refMat.rows()*refMat.cols()*density)); 127 Scalar v = (internal::random<double>(0,1) < density) ? internal::random<Scalar>() : Scalar(0); 158 initSparse(double density, 164 sparseVec.reserve(int(refVec.size()*density)); 168 Scalar v = (internal::random<double>(0,1) < density) ? internal::random<Scalar>() : Scalar(0); 182 initSparse(double density, [all …]
|
D | sparse_product.cpp | 48 double density = (std::max)(8./(rows*cols), 0.1); in sparse_product() local 77 initSparse(density, refMat2, m2); in sparse_product() 78 initSparse(density, refMat2t, m2t); in sparse_product() 79 initSparse(density, refMat3, m3); in sparse_product() 80 initSparse(density, refMat3t, m3t); in sparse_product() 81 initSparse(density, refMat4, m4); in sparse_product() 82 initSparse(density, refMat4t, m4t); in sparse_product() 83 initSparse(density, refMat6, m6); in sparse_product() 129 initSparse(2*density,dcv0, cv0); in sparse_product() 133 initSparse(2*density,drv0, rv0); in sparse_product() [all …]
|
D | sparse_basic.cpp | 24 double density = (std::max)(8./(rows*cols), 0.01); in sparse_basic() local 37 initSparse<Scalar>(density, refMat, m, 0, &zeroCoords, &nonzeroCoords); in sparse_basic() 170 initSparse<Scalar>(density, refMat2, m2); in sparse_basic() 211 initSparse<Scalar>(density, refMat2, m2); in sparse_basic() 250 initSparse<Scalar>(density, refM1, m1); in sparse_basic() 251 initSparse<Scalar>(density, refM2, m2); in sparse_basic() 252 initSparse<Scalar>(density, refM3, m3); in sparse_basic() 253 initSparse<Scalar>(density, refM4, m4); in sparse_basic() 290 initSparse<Scalar>(density, refMat2, m2); in sparse_basic() 303 initSparse<Scalar>(density, refMat2, m2); in sparse_basic() [all …]
|
D | sparse_solver.h | 153 double density = (std::max)(8./(size*size), 0.01); variable 158 initSparse<Scalar>(density, dM, M, ForceNonZeroDiag); 199 double density = (std::max)(8./(size*rhsCols), 0.1); in check_sparse_spd_solving() local 203 initSparse<Scalar>(density, dB, B, ForceNonZeroDiag); in check_sparse_spd_solving() 267 double density = (std::max)(8./(size*size), 0.01); variable 272 initSparse<Scalar>(density, dA, A, ForceNonZeroDiag); 296 double density = (std::max)(8./(size*rhsCols), 0.1); in check_sparse_square_solving() local 297 initSparse<Scalar>(density, dB, B, ForceNonZeroDiag); in check_sparse_square_solving()
|
/external/jmonkeyengine/engine/src/core/com/jme3/audio/ |
D | Environment.java | 49 private float density = 1.0f; field in Environment 86 this.density = source.density; in Environment() 97 public Environment(float density, float diffusion, float gain, float gainHf, in Environment() argument 102 this.density = density; in Environment() 186 return density; in getDensity() 189 public void setDensity(float density) { in setDensity() argument 190 this.density = density; in setDensity()
|
/external/eigen/bench/ |
D | sparse_trisolver.cpp | 40 void fillMatrix(float density, int rows, int cols, EigenSparseTriMatrix& dst) in fillMatrix() argument 42 dst.startFill(rows*cols*density); in fillMatrix() 47 Scalar v = (internal::random<float>(0,1) < density) ? internal::random<Scalar>() : 0; in fillMatrix() 60 float density = DENSITY; in main() local 70 for (float density = DENSITY; density>=MINDENSITY; density*=0.5) in main() local 73 fillMatrix(density, rows, cols, sm1); in main() 80 std::cout << "Eigen Dense\t" << density*100 << "%\n"; in main() 98 std::cout << "Eigen sparse\t" << density*100 << "%\n"; in main() 125 std::cout << "CSparse \t" << density*100 << "%\n"; in main() 137 std::cout << "GMM++ sparse\t" << density*100 << "%\n"; in main() [all …]
|
D | sparse_dense_product.cpp | 56 float density = DENSITY; in main() local 63 for (float density = DENSITY; density>=MINDENSITY; density*=0.5) in main() local 71 std::cout << "Eigen Dense\t" << density*100 << "%\n"; in main() 118 std::cout << "GMM++ sparse\t" << density*100 << "%\n"; in main() 137 std::cout << "ublas sparse\t" << density*100 << "%\n"; in main() 160 std::cout << "MTL4\t" << density*100 << "%\n"; in main()
|
D | sparse_transpose.cpp | 40 float density = DENSITY; in main() local 45 for (float density = DENSITY; density>=MINDENSITY; density*=0.5) in main() local 47 fillMatrix(density, rows, cols, sm1); in main()
|
D | sparse_cholesky.cpp | 44 void fillSpdMatrix(float density, int rows, int cols, EigenSparseSelfAdjointMatrix& dst) in fillSpdMatrix() argument 46 dst.startFill(rows*cols*density); in fillSpdMatrix() 52 Scalar v = (internal::random<float>(0,1) < density) ? internal::random<Scalar>() : 0; in fillSpdMatrix() 81 float density = DENSITY; in main() local 94 fillSpdMatrix(density, rows, cols, sm1); in main() 102 std::cout << "Eigen Dense\t" << density*100 << "%\n"; in main()
|
D | sparse_lu.cpp | 76 float density = DENSITY; in main() local 88 fillMatrix(density, rows, cols, sm1); in main() 95 std::cout << "Eigen Dense\t" << density*100 << "%\n"; in main()
|
/external/eigen/test/eigen2/ |
D | sparse.h | 45 initSparse(double density, 52 sparseMat.startFill(int(refMat.rows()*refMat.cols()*density)); 57 Scalar v = (ei_random<double>(0,1) < density) ? ei_random<Scalar>() : Scalar(0); 88 initSparse(double density, 95 sparseMat.startFill(int(refMat.rows()*refMat.cols()*density)); 100 Scalar v = (ei_random<double>(0,1) < density) ? ei_random<Scalar>() : Scalar(0); 131 initSparse(double density, 137 sparseVec.reserve(int(refVec.size()*density)); 141 Scalar v = (ei_random<double>(0,1) < density) ? ei_random<Scalar>() : Scalar(0);
|
D | eigen2_sparse_solvers.cpp | 13 initSPD(double density, in initSPD() argument 18 initSparse(density,refMat,sparseMat); in initSPD() 22 initSparse(density,aux,sparseMat,ForceNonZeroDiag); in initSPD() 35 double density = std::max(8./(rows*cols), 0.01); in sparse_solvers() local 52 …initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, &zeroCoords, &nonze… in sparse_solvers() 57 …initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, &zeroCoords, &nonze… in sparse_solvers() 62 …initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonze… in sparse_solvers() 67 …initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonze… in sparse_solvers() 81 initSPD(density, refMat2, m2); in sparse_solvers() 123 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, 0, 0); in sparse_solvers() [all …]
|
D | eigen2_sparse_product.cpp | 19 double density = std::max(8./(rows*cols), 0.01); in sparse_product() local 32 initSparse<Scalar>(density, refMat2, m2); in sparse_product() 33 initSparse<Scalar>(density, refMat3, m3); in sparse_product() 34 initSparse<Scalar>(density, refMat4, m4); in sparse_product() 63 initSparse<Scalar>(density, refM2, m2); in sparse_product() 64 initSparse<Scalar>(density, refM3, m3); in sparse_product() 83 … initSparse<Scalar>(density, refUp, mUp, ForceRealDiag|/*ForceNonZeroDiag|*/MakeUpperTriangular); in sparse_product()
|
D | eigen2_sparse_basic.cpp | 53 double density = std::max(8./(rows*cols), 0.01); in sparse_basic() local 65 initSparse<Scalar>(density, refMat, m, 0, &zeroCoords, &nonzeroCoords); in sparse_basic() 210 initSparse<Scalar>(density, refM1, m1); in sparse_basic() 211 initSparse<Scalar>(density, refM2, m2); in sparse_basic() 212 initSparse<Scalar>(density, refM3, m3); in sparse_basic() 213 initSparse<Scalar>(density, refM4, m4); in sparse_basic() 238 initSparse<Scalar>(density, refMat2, m2); in sparse_basic() 252 initSparse<Scalar>(density, refMat2, m2); in sparse_basic() 267 initSparse<Scalar>(density, refMat2, m2); in sparse_basic()
|
/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/ |
D | Fog.glsllib | 9 // x == density 18 float density = g_FogParams.x; 28 float fogAmt2 = exp(-density * density * dist * dist);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
D | ChiSquaredDistributionImpl.java | 119 public double density(Double x) { in density() method in ChiSquaredDistributionImpl 120 return density(x.doubleValue()); in density() 131 public double density(double x) { in density() method in ChiSquaredDistributionImpl 132 return gamma.density(x); in density()
|
D | ExponentialDistributionImpl.java | 109 public double density(Double x) { in density() method in ExponentialDistributionImpl 110 return density(x.doubleValue()); in density() 121 public double density(double x) { in density() method in ExponentialDistributionImpl
|
D | GammaDistributionImpl.java | 204 public double density(double x) { in density() method in GammaDistributionImpl 217 public double density(Double x) { in density() method in GammaDistributionImpl 218 return density(x.doubleValue()); in density()
|
D | BetaDistributionImpl.java | 133 public double density(Double x) { in density() method in BetaDistributionImpl 134 return density(x.doubleValue()); in density() 145 public double density(double x) { in density() method in BetaDistributionImpl
|
D | NormalDistributionImpl.java | 158 public double density(Double x) { in density() method in NormalDistributionImpl 159 return density(x.doubleValue()); in density() 170 public double density(double x) { in density() method in NormalDistributionImpl
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | TypedValueTest.java | 18 metrics.density = 0.5f; in testApplyDimensionIsWired() 65 expectedValue.density = 4; in testSetTo() 75 assertThat(expectedValue.density, equalTo(actualValue.density)); in testSetTo()
|