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

1 2 3 4 5 6 7 8 91011>>

  /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
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
NormalDistribution.java 60 * Return the probability density for a particular point.
61 * @param x The point at which the density should be computed.
64 double density(Double x); method in interface:NormalDistribution
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
ChiSquaredDistributionImpl.java 112 * Return the probability density for a particular point.
114 * @param x The point at which the density should be computed.
119 public double density(Double x) { method in class:ChiSquaredDistributionImpl
120 return density(x.doubleValue());
124 * Return the probability density for a particular point.
126 * @param x The point at which the density should be computed.
131 public double density(double x) { method in class:ChiSquaredDistributionImpl
132 return gamma.density(x);
  /external/icu/icu4c/source/tools/toolutil/
denseranges.h 29 * @param density Minimum average range density, in 256th. (0x100=100%=perfectly dense.)
33 * @return Minimum number of ranges (at most capacity) that have the desired density,
34 * or 0 if that density cannot be achieved.
38 int32_t density,
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowViewConfiguration.java 74 float density = metrics.density; local
76 edgeSlop = (int) (density * EDGE_SLOP + 0.5f);
77 fadingEdgeLength = (int) (density * FADING_EDGE_LENGTH + 0.5f);
78 minimumFlingVelocity = (int) (density * MINIMUM_FLING_VELOCITY + 0.5f);
79 maximumFlingVelocity = (int) (density * MAXIMUM_FLING_VELOCITY + 0.5f);
80 scrollbarSize = (int) (density * SCROLL_BAR_SIZE + 0.5f);
81 touchSlop = (int) (density * TOUCH_SLOP + 0.5f);
82 pagingTouchSlop = (int) (density * PAGING_TOUCH_SLOP + 0.5f);
83 doubleTapSlop = (int) (density * DOUBLE_TAP_SLOP + 0.5f)
    [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
  /external/ImageMagick/MagickCore/
prepress.c 72 % GetImageTotalInkDensity() returns the total ink density for a CMYK image.
73 % Total Ink Density (TID) is determined by adding the CMYK values in the
123 density;
139 density=(double) GetPixelRed(image,p)+GetPixelGreen(image,p)+
141 if (density > total_ink_density)
146 if (density > total_ink_density)
147 total_ink_density=density;
121 density; local
  /external/ImageMagick/Magick++/demo/
zoom.cpp 7 // Usage: zoom [-density resolution] [-filter algorithm] [-geometry geometry]
20 << " [-density resolution] [-filter algorithm] [-geometry geometry]"
52 Point density; local
60 if (command.compare("-density") == 0)
64 density=Geometry(argv[argv_index]);
155 if (density.isValid())
156 image.density(density);
157 density=image.density();
    [all...]
  /cts/tests/tests/hardware/src/android/hardware/cts/
LowRamDeviceTest.java 94 int density = mDisplayMetrics.densityDpi; local
100 Log.i(TAG, String.format("density=%d, supports64Bit=%s, screenSize=%d, watch=%s",
101 density, supports64Bit, screenSize, watch));
106 } else if (lessThanDpi(density, DENSITY_HIGH, screenSize,
108 lessThanDpi(density, DENSITY_MEDIUM, screenSize, SCREENLAYOUT_SIZE_LARGE) ||
109 lessThanDpi(density, DENSITY_LOW, screenSize, SCREENLAYOUT_SIZE_XLARGE)) {
116 } else if (greaterThanDpi(density, DENSITY_560, screenSize,
118 greaterThanDpi(density, DENSITY_400, screenSize, SCREENLAYOUT_SIZE_LARGE) ||
119 greaterThanDpi(density, DENSITY_XHIGH, screenSize, SCREENLAYOUT_SIZE_XLARGE)) {
126 } else if (greaterThanDpi(density, DENSITY_400, screenSize
    [all...]
  /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_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);
  /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);
112 initSparse(double density,
121 sparseMat.reserve(int(refMat.rows()*refMat.cols()*density));
130 Scalar v = (internal::random<double>(0,1) < density) ? internal::random<Scalar>() : Scalar(0);
161 initSparse(double density,
167 sparseVec.reserve(int(refVec.size()*density));
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
IProjectionService.aidl 25 void startRendering(in Surface surface, int width, int height, int density, int viewType);
  /external/deqp/framework/platform/android/
tcuAndroidUtil.hpp 60 float density; member in struct:tcu::Android::DisplayMetrics
71 : density (0.0f)
  /cts/hostsidetests/theme/
avd.py 82 def configure_screen(self, density, width_dp, height_dp):
83 width_px = int(math.ceil(width_dp * density / 1600) * 10)
84 height_px = int(math.ceil(height_dp * density / 1600) * 10)
85 self._opts = "-prop qemu.sf.lcd_density=%d -skin %dx%d " % (density, width_px, height_px)
  /cts/tests/tests/util/src/android/util/cts/
DisplayMetricsTest.java 52 // according to Android emulator doc UI -scale confine density should between 0.1 to 4
53 assertTrue((0.1 <= outMetrics.density) && (outMetrics.density <= 4));
64 // according to Android emulator doc UI -scale confine density should between 0.1 to 4
65 assertTrue((0.1 <= metrics.density) && (metrics.density <= 4));
  /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);
  /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/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/extension/views/
PinView.java 33 float density = getResources().getDisplayMetrics().densityDpi; local
35 float w = (density/420f) * pin.getWidth();
36 float h = (density/420f) * pin.getHeight();
  /external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
TouchCatcherView.java 55 float density = getResources().getDisplayMetrics().density; local
56 float lineWidth = 10f * density;

Completed in 1154 milliseconds

1 2 3 4 5 6 7 8 91011>>