/external/qemu/android/ |
H A D | hw-lcd.c | 17 hwLcd_setBootProperty(int density) argument 21 /* Map density to one of our five bucket values. 22 The TV density is a bit particular (and not actually a bucket 25 if (density != LCD_DENSITY_TVDPI) { 26 if (density < (LCD_DENSITY_LDPI + LCD_DENSITY_MDPI)/2) 27 density = LCD_DENSITY_LDPI; 28 else if (density < (LCD_DENSITY_MDPI + LCD_DENSITY_HDPI)/2) 29 density = LCD_DENSITY_MDPI; 30 else if (density < (LCD_DENSITY_HDPI + LCD_DENSITY_XHDPI)/2) 31 density [all...] |
/external/eigen/bench/ |
H A D | sparse_transpose.cpp | 40 float density = DENSITY; local 45 for (float density = DENSITY; density>=MINDENSITY; density*=0.5) 47 fillMatrix(density, rows, cols, sm1);
|
H A D | sparse_dense_product.cpp | 56 float density = DENSITY; local 63 for (float density = DENSITY; density>=MINDENSITY; density*=0.5) 65 //fillMatrix(density, rows, cols, sm1); 71 std::cout << "Eigen Dense\t" << density*100 << "%\n"; 118 std::cout << "GMM++ sparse\t" << density*100 << "%\n"; 137 std::cout << "ublas sparse\t" << density*100 << "%\n"; 160 std::cout << "MTL4\t" << density*100 << "%\n";
|
H A D | sparse_lu.cpp | 76 float density = DENSITY; local 84 //for (float density = DENSITY; density>=MINDENSITY; density*=0.5) 85 // float density = 0.5; 88 fillMatrix(density, rows, cols, sm1); 95 std::cout << "Eigen Dense\t" << density*100 << "%\n";
|
H A D | sparse_product.cpp | 102 float density = DENSITY; local
|
H A D | sparse_randomsetter.cpp | 69 float density = DENSITY; local 74 nentries = rows*cols*density;
|
H A D | sparse_trisolver.cpp | 40 void fillMatrix(float density, int rows, int cols, EigenSparseTriMatrix& dst) argument 42 dst.startFill(rows*cols*density); 47 Scalar v = (internal::random<float>(0,1) < density) ? internal::random<Scalar>() : 0; 60 float density = DENSITY; local 70 for (float density = DENSITY; density>=MINDENSITY; density*=0.5) 73 fillMatrix(density, rows, cols, sm1); 80 std::cout << "Eigen Dense\t" << density*100 << "%\n"; 98 std::cout << "Eigen sparse\t" << density*10 [all...] |
H A D | BenchSparseUtil.h | 27 void fillMatrix(float density, int rows, int cols, EigenSparseMatrix& dst) argument 29 dst.reserve(double(rows)*cols*density); 34 Scalar v = (internal::random<float>(0,1) < density) ? internal::random<Scalar>() : 0;
|
H A D | sparse_cholesky.cpp | 44 void fillSpdMatrix(float density, int rows, int cols, EigenSparseSelfAdjointMatrix& dst) argument 46 dst.startFill(rows*cols*density); 52 Scalar v = (internal::random<float>(0,1) < density) ? internal::random<Scalar>() : 0; 81 float density = DENSITY; local 89 //for (float density = DENSITY; density>=MINDENSITY; density*=0.5) 90 // float density = 0.5; 94 fillSpdMatrix(density, rows, cols, sm1); 102 std::cout << "Eigen Dense\t" << density*10 [all...] |
/external/eigen/test/eigen2/ |
H A D | sparse.h | 38 * and a ratio of \a density non zero entries. 45 initSparse(double density, argument 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, argument 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, argument 137 sparseVec.reserve(int(refVec.size()*density)); 141 Scalar v = (ei_random<double>(0,1) < density) [all...] |
H A D | eigen2_sparse_solvers.cpp | 13 initSPD(double density, argument 18 initSparse(density,refMat,sparseMat); 22 initSparse(density,aux,sparseMat,ForceNonZeroDiag); 35 double density = std::max(8./(rows*cols), 0.01); local 52 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, &zeroCoords, &nonzeroCoords); 57 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, &zeroCoords, &nonzeroCoords); 62 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonzeroCoords); 67 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonzeroCoords); 81 initSPD(density, refMat2, m2); 122 //initSPD(density, refMat [all...] |
H A D | eigen2_sparse_product.cpp | 19 double density = std::max(8./(rows*cols), 0.01); local 32 initSparse<Scalar>(density, refMat2, m2); 33 initSparse<Scalar>(density, refMat3, m3); 34 initSparse<Scalar>(density, refMat4, m4); 63 initSparse<Scalar>(density, refM2, m2); 64 initSparse<Scalar>(density, refM3, m3); 83 initSparse<Scalar>(density, refUp, mUp, ForceRealDiag|/*ForceNonZeroDiag|*/MakeUpperTriangular);
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
H A D | s_fog.c | 69 #define EXP_FOG(f, coord) f = EXPF(density * coord) 185 const GLfloat density = -ctx->Fog.Density; local
|
/external/eigen/test/ |
H A D | sparse.h | 50 * and a ratio of \a density non zero entries. 57 initSparse(double density, argument 66 //sparseMat.reserve(int(refMat.rows()*refMat.cols()*density)); 67 sparseMat.reserve(VectorXi::Constant(IsRowMajor ? refMat.rows() : refMat.cols(), int((1.5*density)*(IsRowMajor?refMat.cols():refMat.rows())))); 77 Scalar v = (internal::random<double>(0,1) < density) ? internal::random<Scalar>() : Scalar(0); 109 initSparse(double density, argument 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, argument 164 sparseVec.reserve(int(refVec.size()*density)); 182 initSparse(double density, Matrix<Scalar,1,Dynamic>& refVec, SparseVector<Scalar,Options,Index>& sparseVec, std::vector<int>* zeroCoords = 0, std::vector<int>* nonzeroCoords = 0) argument [all...] |
H A D | sparse_solvers.cpp | 13 initSPD(double density, argument 18 initSparse(density,refMat,sparseMat); 22 initSparse(density,aux,sparseMat,ForceNonZeroDiag); 35 double density = (std::max)(8./(rows*cols), 0.01); local 52 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, &zeroCoords, &nonzeroCoords); 57 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonzeroCoords); 71 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, &zeroCoords, &nonzeroCoords); 76 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonzeroCoords); 84 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular); 85 initSparse<Scalar>(density, refMat [all...] |
H A D | spqr_support.cpp | 19 double density = (std::max)(8./(rows*cols), 0.01); local 23 initSparse<Scalar>(density, dA, A,ForceNonZeroDiag);
|
H A D | sparse_permutations.cpp | 24 double density = (std::max)(8./(rows*cols), 0.01); local 30 initSparse<Scalar>(density, mat_d, mat, 0);
|
H A D | sparseqr.cpp | 19 double density = (std::max)(8./(rows*cols), 0.01); local 23 initSparse<Scalar>(density, dA, A,ForceNonZeroDiag);
|
/external/mesa3d/src/mesa/swrast/ |
H A D | s_fog.c | 69 #define EXP_FOG(f, coord) f = EXPF(density * coord) 185 const GLfloat density = -ctx->Fog.Density; local
|
/external/chromium_org/content/public/common/ |
H A D | manifest.h | 47 double density; member in struct:content::Manifest::Icon 53 // Default density. Set to 1.0.
|
/external/eigen/unsupported/test/ |
H A D | sparse_extra.cpp | 58 double density = (std::max)(8./(rows*cols), 0.01); local 69 initSparse<Scalar>(density, refMat, m, 0, &zeroCoords, &nonzeroCoords); 120 initSparse<Scalar>(density, refM1, m1);
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
H A D | BookmarkUtils.java | 150 private static Bitmap getBitmapFromResourceId(Context context, int id, int density) { argument 153 drawable = context.getResources().getDrawableForDensity(id, density);
|
/external/chromium_org/chrome/browser/android/ |
H A D | shortcut_helper_unittest.cc | 119 double density, 125 icon.density = density; 193 // icon size for the associated density. 225 // This test has three icons. The first one is of density zero and is marked 226 // with three sizes which are the preferred icon size for density 1, 2 and 3. 227 // The icon for density 2 and 3 have a size set to 2x2 and 3x3. 228 // Regardless of the device scale factor, the icon of density 1 is going to be 263 // If there is no perfect icon but an icon of the current device density is 266 // icon size for the associated density 116 CreateIcon( const std::string& url, const std::string& type, double density, const std::vector<gfx::Size> sizes) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
H A D | HTMLSrcsetParser.h | 54 float density() const { ASSERT(hasDensity()); return m_density; } function in class:blink::DescriptorParsingResult 84 , m_density(result.hasDensity()?result.density():UninitializedDescriptor) 105 float density() const function in class:blink::ImageCandidate
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
H A D | denseranges.cpp | 91 * @param density Minimum average range density, in 256th. (0x100=100%=perfectly dense.) 95 * @return Minimum number of ranges (at most capacity) that have the desired density, 96 * or 0 if that density cannot be achieved. 100 int32_t density, 110 if(length>=(density*maxLength)/0x100) { 139 // of the requested density. 143 if(length>num*2 && length>=(density*maxLength)/0x100) { 99 uprv_makeDenseRanges(const int32_t values[], int32_t length, int32_t density, int32_t ranges[][2], int32_t capacity) argument
|