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

12 3 4 5 6 7 8 91011>>

  /development/ndk/platforms/android-9/samples/native-audio/
default.properties 12 # Indicates whether an apk should be generated for each density.
13 split.density=false
  /external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
HasDensity.java 23 * <p>Interface that signals that a distribution can compute the probability density function
25 * @param <P> the type of the point at which density is to be computed, this
29 * interface will be extended to include a <code>density(double)<code> method.</p>
38 * Compute the probability density function.
39 * @param x point for which the probability density is requested
40 * @return probability density at point x
41 * @throws MathException if probability density cannot be computed at specifed point
43 double density(P x) throws MathException; method in interface:HasDensity
BetaDistribution.java 22 * Computes the cumulative, inverse cumulative and density functions for the beta distribuiton.
58 * Return the probability density for a particular point.
59 * @param x The point at which the density should be computed.
61 * @exception MathException if probability density cannot be computed
63 double density(Double x) throws MathException; method in interface:BetaDistribution
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/algorithms/approximation/tests/
test_clique.py 8 idens = nx.density(graph.subgraph(i))
11 cdens = nx.density(graph.subgraph(clique))
16 idens = nx.density(graph.subgraph(i))
20 cdens = nx.density(graph.subgraph(clique))
25 idens = nx.density(graph.subgraph(i))
28 cdens = nx.density(graph.subgraph(clique))
test_ramsey.py 9 cdens = nx.density(graph.subgraph(c))
11 idens = nx.density(graph.subgraph(i))
17 cdens = nx.density(graph.subgraph(c))
19 idens = nx.density(graph.subgraph(i))
24 cdens = nx.density(graph.subgraph(c))
26 idens = nx.density(graph.subgraph(i))
  /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.h 50 * and a ratio of \a density non zero entries.
57 initSparse(double density,
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,
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));
    [all...]
  /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_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_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...]
  /external/icu/icu4c/source/tools/toolutil/
denseranges.h 27 * @param density Minimum average range density, in 256th. (0x100=100%=perfectly dense.)
31 * @return Minimum number of ranges (at most capacity) that have the desired density,
32 * or 0 if that density cannot be achieved.
36 int32_t density,
  /cts/tests/tests/util/src/android/util/cts/
DisplayMetricsTest.java 39 // according to Android emulator doc UI -scale confine density should between 0.1 to 4
40 assertTrue((0.1 <= outMetrics.density) && (outMetrics.density <= 4));
51 // according to Android emulator doc UI -scale confine density should between 0.1 to 4
52 assertTrue((0.1 <= metrics.density) && (metrics.density <= 4));
  /frameworks/base/tools/layoutlib/bridge/
update_nav_icons.sh 38 for density in $DENSITIES
40 destination="$BARS/v$CURRENT_API/$density/"
42 cp -v "$FB/packages/SystemUI/res/drawable-$density/$icon" "$destination"
45 for density in $DENSITIES
47 destination="$BARS/v$CURRENT_API/ldrtl-$density/"
49 cp -v "$FB/packages/SystemUI/res/drawable-ldrtl-$density/$icon" "$destination"
  /external/replicaisland/
default.properties 13 # Indicates whether an apk should be generated for each density.
14 split.density=false
  /external/slf4j/slf4j-android/
project.properties 11 # Indicates whether an apk should be generated for each density.
12 split.density=false
  /packages/apps/Launcher3/src/com/android/launcher3/compat/
LauncherActivityInfoCompatV16.java 57 public Drawable getIcon(int density) {
61 // Get the preferred density icon from the app's resources
62 if (density != 0 && iconRes != 0) {
65 icon = resources.getDrawableForDensity(iconRes, density);
69 // Get the default density icon
75 icon = resources.getDrawableForDensity(android.R.mipmap.sym_def_app_icon, density);
97 public Drawable getBadgedIcon(int density) {
98 return getIcon(density);
LauncherActivityInfoCompatVL.java 47 public Drawable getIcon(int density) {
48 return mLauncherActivityInfo.getIcon(density);
59 public Drawable getBadgedIcon(int density) {
60 return mLauncherActivityInfo.getBadgedIcon(density);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowDisplay.java 19 private float density = 1.5f; field in class:ShadowDisplay
35 outMetrics.density = density;
70 return density;
73 public void setDensity(float density) {
74 this.density = density;
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
StatusBar.java 24 import com.android.resources.Density;
56 Density.getEnum(((BridgeContext) context).getMetrics().densityDpi),
64 public StatusBar(BridgeContext context, Density density, boolean isRtl, boolean rtlEnabled,
82 + Config.getWifiIconType(simulatedPlatformVersion), density);
83 loadIcon(2, "stat_sys_battery_100.png", density);
89 protected void loadIcon(int index, String iconName, Density density) {
91 super.loadIcon(index, iconName, density);
98 IconLoader iconLoader = new IconLoader(iconName, Density.XHIGH
    [all...]
  /cts/tools/utils/
rm_dup_holo_imgs.py 42 for density in densities:
43 portDir = getDirName(density, sw, False)
44 landDir = getDirName(density, sw, True)
61 def getDirName(density, sw, land):
67 return name + density
  /frameworks/base/docs/html/guide/webapps/
targeting.jd 12 <li><a href="#ViewportDensity">Defining the viewport target density</a></li>
15 <li><a href="#DensityCSS">Targeting Device Density with CSS</a></li>
16 <li><a href="#DensityJS">targeting Device Density with JavaScript</a></li>
49 <dt><a href="#DensityCSS">The screen density</a></dt>
51 pixel values to density-independent pixel values, so your web page appears at the same perceivable
52 size as a medium-density screen (about 160dpi). However, if graphics are an important element of
122 <h2 id="DensityCSS">Targeting Device Density with CSS</h2>
128 "0.75", "1", or "1.5", to indicate that the styles are for devices with low density, medium density,
129 or high density screens, respectively.</p
    [all...]
  /cts/tests/tests/hardware/src/android/hardware/cts/
LowRamDeviceTest.java 78 int density = mDisplayMetrics.densityDpi; local
84 Log.i(TAG, String.format("density=%d, supports64Bit=%s, screenSize=%d, watch=%s",
85 density, supports64Bit, screenSize, watch));
90 } else if (lessThanDpi(density, DENSITY_HIGH, screenSize,
92 lessThanDpi(density, DENSITY_MEDIUM, screenSize, SCREENLAYOUT_SIZE_LARGE) ||
93 lessThanDpi(density, DENSITY_LOW, screenSize, SCREENLAYOUT_SIZE_XLARGE)) {
100 } else if (greaterThanDpi(density, DENSITY_560, screenSize,
102 greaterThanDpi(density, DENSITY_400, screenSize, SCREENLAYOUT_SIZE_LARGE) ||
103 greaterThanDpi(density, DENSITY_XHIGH, screenSize, SCREENLAYOUT_SIZE_XLARGE)) {
110 } else if (greaterThanDpi(density, DENSITY_400, screenSize
    [all...]
  /frameworks/base/cmds/wm/src/com/android/commands/wm/
Wm.java 54 " wm density [reset|DENSITY]\n" +
62 "wm density: override display density.\n" +
88 } else if (op.equals("density")) {
174 int density; local
179 System.out.println("Physical density: " + initialDensity);
181 System.out.println("Override density: " + baseDensity);
187 density = -1;
190 density = Integer.parseInt(densityStr)
257 int density; local
    [all...]
  /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);
71 assertEquals(metrics.density,
  /packages/inputmethods/LatinIME/native/jni/tests/suggest/core/layout/
normal_distribution_2d_test.cpp 38 // The probability density of the point near the distribution center is larger than the
39 // probability density of the point that is far from distribution center.
42 // The probability density of the point shifted toward the direction that has larger standard
43 // deviation is larger than the probability density of the point shifted towards another
58 // The probability density of the rotated distribution at the point and the probability
59 // density of the original distribution at the rotated point are the same.

Completed in 1188 milliseconds

12 3 4 5 6 7 8 91011>>