HomeSort by relevance Sort by last modified time
    Searched defs:density (Results 1 - 25 of 80) sorted by null

1 2 3 4

  /cts/tests/tests/dpi/src/android/dpi/cts/
ConfigurationTest.java 52 double density = 160.0d * metrics.density; local
53 assertTrue("Screen density must be at least 100 dpi: " + density, density >= 100.0d);
68 assertEquals(metrics.density,
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
Utils.java 95 float density = ctx.getResources().getDisplayMetrics().density; local
96 return Math.round((float) dp * density);
  /external/eigen/bench/
sparse_transpose.cpp 10 #ifndef DENSITY
11 #define DENSITY 0.01
40 float density = DENSITY; local
45 for (float density = DENSITY; density>=MINDENSITY; density*=0.5)
47 fillMatrix(density, rows, cols, sm1);
sparse_dense_product.cpp 10 #ifndef DENSITY
11 #define DENSITY 0.01
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"
    [all...]
sparse_cholesky.cpp 15 #ifndef DENSITY
16 #define DENSITY 0.01
44 void fillSpdMatrix(float density, int rows, int cols, EigenSparseSelfAdjointMatrix& dst)
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
    [all...]
sparse_lu.cpp 15 #ifndef DENSITY
16 #define DENSITY 0.01
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)
    [all...]
sparse_product.cpp 102 float density = DENSITY; local
sparse_randomsetter.cpp 14 #ifndef DENSITY
15 #define DENSITY 0.01
69 float density = DENSITY; local
74 nentries = rows*cols*density;
sparse_trisolver.cpp 11 #ifndef DENSITY
12 #define DENSITY 0.01
40 void fillMatrix(float density, int rows, int cols, EigenSparseTriMatrix& dst)
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
    [all...]
  /external/eigen/test/eigen2/
eigen2_sparse_solvers.cpp 13 initSPD(double density,
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, refMat2, m2)
    [all...]
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/eigen/test/
sparse_solvers.cpp 13 initSPD(double density,
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, refMatB, matB)
    [all...]
sparse_permutations.cpp 24 double density = (std::max)(8./(rows*cols), 0.01); local
30 initSparse<Scalar>(density, mat_d, mat, 0);
spqr_support.cpp 19 double density = (std::max)(8./(rows*cols), 0.01); local
23 initSparse<Scalar>(density, dA, A,ForceNonZeroDiag);
sparseqr.cpp 19 double density = (std::max)(8./(rows*cols), 0.01); local
23 initSparse<Scalar>(density, dA, A,ForceNonZeroDiag);
  /external/chromium_org/third_party/mesa/src/src/mesa/swrast/
s_fog.c 51 d = ctx->Fog.Density;
56 d = ctx->Fog.Density;
69 #define EXP_FOG(f, coord) f = EXPF(density * coord)
185 const GLfloat density = -ctx->Fog.Density; local
204 const GLfloat negDensitySquared = -ctx->Fog.Density * ctx->Fog.Density;
  /external/eigen/unsupported/test/
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/mesa3d/src/mesa/swrast/
s_fog.c 51 d = ctx->Fog.Density;
56 d = ctx->Fog.Density;
69 #define EXP_FOG(f, coord) f = EXPF(density * coord)
185 const GLfloat density = -ctx->Fog.Density; local
204 const GLfloat negDensitySquared = -ctx->Fog.Density * ctx->Fog.Density;
  /cts/libs/deviceutil/src/android/cts/util/
WidgetTestUtils.java 98 * Compare the expected pixels with actual, scaling for the target context density
103 Assert.assertEquals(expected * context.getResources().getDisplayMetrics().density,
107 /** Converts dips into pixels using the {@link Context}'s density. */
109 float density = context.getResources().getDisplayMetrics().density; local
110 return Math.round(density * dip);
114 * Retrieve a bitmap that can be used for comparison on any density
125 * Retrieve a dithered bitmap that can be used for comparison on any density
  /external/chromium_org/content/public/common/
manifest.h 47 double density; member in struct:content::Manifest::Icon
53 // Default density. Set to 1.0.
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
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
  /bionic/libc/kernel/uapi/linux/
adfs_fs.h 29 __u8 density; member in struct:adfs_discrecord
  /development/ndk/platforms/android-L/include/linux/
adfs_fs.h 29 __u8 density; member in struct:adfs_discrecord
  /development/samples/Support4Demos/src/com/example/android/supportv4/app/
SharingReceiverSupport.java 48 final float density = getResources().getDisplayMetrics().density; local
49 final int iconSize = (int) (ICON_SIZE * density + 0.5f);
  /development/samples/SupportLeanbackDemos/src/com/example/android/leanback/
CardPresenter.java 40 float density = context.getResources().getDisplayMetrics().density; local
41 int height = (int) (IMAGE_HEIGHT_DP * density + 0.5f);

Completed in 833 milliseconds

1 2 3 4