/external/robolectric/v1/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 …]
|
/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()
|
/external/ImageMagick/Magick++/demo/ |
D | zoom.cpp | 52 Point density; in main() local 64 density=Geometry(argv[argv_index]); in main() 155 if (density.isValid()) in main() 156 image.density(density); in main() 157 density=image.density(); in main() 163 (image.columns()*((double)resample.x()/density.x())+0.5), in main() 165 (image.rows()*((double)resample.y()/density.y())+0.5)); in main() 166 image.density(resample); in main()
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/ |
D | FixtureDef.java | 59 public float density; field in FixtureDef 76 density = 0f; in FixtureDef() 143 return density; in getDensity() 149 public void setDensity(float density) { in setDensity() argument 150 this.density = density; in setDensity()
|
/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/ImageMagick/MagickCore/ |
D | prepress.c | 121 density; in GetImageTotalInkDensity() local 137 density=(double) GetPixelRed(image,p)+GetPixelGreen(image,p)+ in GetImageTotalInkDensity() 139 if (density > total_ink_density) in GetImageTotalInkDensity() 144 if (density > total_ink_density) in GetImageTotalInkDensity() 145 total_ink_density=density; in GetImageTotalInkDensity()
|
/external/ImageMagick/coders/ |
D | cals.c | 171 density, in ReadCALSImage() local 200 density=0; in ReadCALSImage() 218 (void) sscanf(header+8,"%lu",&density); in ReadCALSImage() 270 (void) FormatLocaleString(message,MagickPathExtent,"%lu",density); in ReadCALSImage() 271 (void) CloneString(&read_info->density,message); in ReadCALSImage() 444 density, in WriteCALSImage() local 535 density=200; in WriteCALSImage() 536 if (image_info->density != (char *) NULL) in WriteCALSImage() 541 (void) ParseGeometry(image_info->density,&geometry_info); in WriteCALSImage() 542 density=(size_t) floor(geometry_info.rho+0.5); in WriteCALSImage() [all …]
|
D | pcl.c | 155 *density, in ReadPCLImage() local 327 density=AcquireString(""); in ReadPCLImage() 329 (void) FormatLocaleString(density,MagickPathExtent,"%gx%g",image->resolution.x, in ReadPCLImage() 356 read_info->antialias != MagickFalse ? 4 : 1,density,options, in ReadPCLImage() 359 density=DestroyString(density); in ReadPCLImage() 680 density, in WritePCLImage() local 708 density=75; in WritePCLImage() 709 if (image_info->density != (char *) NULL) in WritePCLImage() 714 (void) ParseGeometry(image_info->density,&geometry); in WritePCLImage() 715 density=(size_t) geometry.rho; in WritePCLImage() [all …]
|
D | xps.c | 109 *density, in ReadXPSImage() local 277 density=AcquireString(""); in ReadXPSImage() 279 (void) FormatLocaleString(density,MagickPathExtent,"%gx%g", in ReadXPSImage() 310 read_info->antialias != MagickFalse ? 4 : 1,density,options, in ReadXPSImage() 313 density=DestroyString(density); in ReadXPSImage()
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/ |
D | b2Fixture.h | 65 density = 0.0f; in b2FixtureDef() 83 float32 density; member 171 void SetDensity(float32 density); 293 inline void b2Fixture::SetDensity(float32 density) in SetDensity() argument 295 b2Assert(b2IsValid(density) && density >= 0.0f); in SetDensity() 296 m_density = density; in SetDensity()
|
/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()
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/com/badlogic/gdx/physics/box2d/ |
D | FixtureDef.java | 33 public float density = 0; field in FixtureDef 43 fd.density = density; in toJBox2d()
|
/external/robolectric/v1/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()
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/box2d/ |
D | Cantilever.java | 65 fd.density = 20.0f; in createWorld() 92 fd.density = 20.0f; in createWorld() 121 fd.density = 20.0f; in createWorld() 151 fd.density = 20.0f; in createWorld() 187 fd.density = 1.0f; in createWorld() 204 fd.density = 1.0f; in createWorld()
|