HomeSort by relevance Sort by last modified time
    Searched full:density (Results 51 - 75 of 1486) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/eigen/bench/
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...]
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...]
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
BitmapFactory_Delegate.java 22 import com.android.resources.Density;
55 Density density = Density.MEDIUM; local
58 density = Density.getEnum(opts.inDensity);
75 density);
91 bm = Bitmap_Delegate.createBitmap(is, bitmapCreateFlags, density);
Bitmap_Delegate.java 22 import com.android.resources.Density;
97 * @param density the density associated with the bitmap
102 public static Bitmap createBitmap(File input, boolean isMutable, Density density)
104 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density);
111 * @param density the density associated with the bitmap
118 Density density) throws IOException
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
completion1-expected-completion4.txt 2 50dp : <b>Density-independent Pixels</b> - an abstract unit that is based on the physical density of the screen.
completionvalues1-expected-completion24.txt 2 17dp : <b>Density-independent Pixels</b> - an abstract unit that is based on the physical density of the screen.
completionvalues1-expected-completion66.txt 2 17dp : <b>Density-independent Pixels</b> - an abstract unit that is based on the physical density of the screen.
completionvalues1-expected-completion67.txt 2 17dp : <b>Density-independent Pixels</b> - an abstract unit that is based on the physical density of the screen.
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
TypedValueTest.java 18 metrics.density = 0.5f;
65 expectedValue.density = 4;
75 assertThat(expectedValue.density, equalTo(actualValue.density));
  /development/samples/MultiResolution/
_index.html 3 screen resolution, screen density, etc.).
9 <li>Proper layout <a href="../../../guide/practices/screens_support.html#density-independence">size units</a>,
10 such as scale-independent pixels (<code>sp</code>) and density-independent pixels (<code>dip</code>)</li>
  /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...]
sparse.h 38 * and a ratio of \a density non zero entries.
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)
    [all...]
  /frameworks/base/docs/html/guide/practices/
screens_support.jd 24 <li><a href="#density-independence">Density independence</a></li>
38 <li><a href="#DensityConsiderations">Additional Density Considerations</a>
116 <dt><em>Screen density</em></dt>
118 per inch). For example, a "low" density screen has fewer pixels within a given physical area,
119 compared to a "normal" or "high" density screen.</p>
134 size and density, as specified by the generalized size and density groups.</dd>
136 <dt><em>Density-independent pixel (dp)</em></dt>
138 or position in a density-independent way
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/audio/
Environment.java 49 private float density = 1.0f; field in class:Environment
86 this.density = source.density;
97 public Environment(float density, float diffusion, float gain, float gainHf,
102 this.density = density;
121 // density = 0;
186 return density;
189 public void setDensity(float density) {
190 this.density = density
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowViewConfiguration.java 75 float density = metrics.density; local
77 edgeSlop = (int) (density * EDGE_SLOP + 0.5f);
78 fadingEdgeLength = (int) (density * FADING_EDGE_LENGTH + 0.5f);
79 minimumFlingVelocity = (int) (density * MINIMUM_FLING_VELOCITY + 0.5f);
80 maximumFlingVelocity = (int) (density * MAXIMUM_FLING_VELOCITY + 0.5f);
81 scrollbarSize = (int) (density * SCROLL_BAR_SIZE + 0.5f);
82 touchSlop = (int) (density * TOUCH_SLOP + 0.5f);
83 pagingTouchSlop = (int) (density * PAGING_TOUCH_SLOP + 0.5f);
84 doubleTapSlop = (int) (density * DOUBLE_TAP_SLOP + 0.5f)
    [all...]
  /frameworks/support/v4/java/android/support/v4/content/res/
ResourcesCompat.java 62 * the given screen density in DPI and styled for the specified theme.
64 * Prior to API level 15, the theme and density will not be applied and
73 * @param density The desired screen density indicated by the resource as
82 public static Drawable getDrawableForDensity(Resources res, int id, int density, Theme theme)
86 return ResourcesCompatApi21.getDrawableForDensity(res, id, density, theme);
88 return ResourcesCompatIcsMr1.getDrawableForDensity(res, id, density);
  /frameworks/support/v4/java/android/support/v4/widget/
CircleImageView.java 53 final float density = getContext().getResources().getDisplayMetrics().density; local
54 final int diameter = (int) (radius * density * 2);
55 final int shadowYOffset = (int) (density * Y_OFFSET);
56 final int shadowXOffset = (int) (density * X_OFFSET);
58 mShadowRadius = (int) (density * SHADOW_RADIUS);
63 ViewCompat.setElevation(this, SHADOW_ELEVATION * density);
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/algorithms/tests/
test_block.py 16 assert_equal(M.node[n]['density'],1.0)
27 assert_equal(M.node[n]['density'],1.0)
39 assert_equal(M.node[n]['density'],0.5)
51 assert_equal(M.node[n]['density'],0.5)
75 assert_equal(M.node[n]['density'],1.0)
87 assert_equal(M.node[n]['density'],1.0)
100 assert_equal(M.node[n]['density'],1.0)
  /packages/apps/DeskClock/src/com/android/alarmclock/
WidgetUtils.java 56 float density = res.getDisplayMetrics().density; local
57 float ratio = (density * minWidth) / res.getDimension(R.dimen.min_digital_widget_width);
60 if (minHeight > 0 && (density * minHeight)
86 float density = res.getDisplayMetrics().density; local
91 float ratio = ((density * minHeight) - lblBox)
123 float density = res.getDisplayMetrics().density; local
129 return ((density * height) > neededSize)
    [all...]
  /frameworks/base/core/java/android/preference/
PreferenceFrameLayout.java 57 float density = context.getResources().getDisplayMetrics().density; local
58 int defaultBorderTop = (int) (density * DEFAULT_BORDER_TOP + 0.5f);
59 int defaultBottomPadding = (int) (density * DEFAULT_BORDER_BOTTOM + 0.5f);
60 int defaultLeftPadding = (int) (density * DEFAULT_BORDER_LEFT + 0.5f);
61 int defaultRightPadding = (int) (density * DEFAULT_BORDER_RIGHT + 0.5f);
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/algorithms/bipartite/tests/
test_basic.py 49 density=float(len(G.edges()))/(len(X)*len(Y))
50 assert_equal(bipartite.density(G,X),density)
52 assert_equal(bipartite.density(D,X),density/2.0)
53 assert_equal(bipartite.density(nx.Graph(),{}),0.0)
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/
Utils.java 64 float density = ctx.getResources().getDisplayMetrics().density; local
65 return Math.round((float) dp * density);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
ChiSquaredDistribution.java 48 * Return the probability density for a particular point.
49 * @param x The point at which the density should be computed.
52 double density(Double x); method in interface:ChiSquaredDistribution
ExponentialDistribution.java 48 * Return the probability density for a particular point.
49 * @param x The point at which the density should be computed.
52 double density(Double x); method in interface:ExponentialDistribution
GammaDistribution.java 62 * Return the probability density for a particular point.
63 * @param x The point at which the density should be computed.
66 double density(Double x); method in interface:GammaDistribution

Completed in 639 milliseconds

1 23 4 5 6 7 8 91011>>