Home
last modified time | relevance | path

Searched refs:curve (Results 1 – 25 of 29) sorted by relevance

12

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DRssiCurveTest.java35 RssiCurve curve = new RssiCurve(-100, 200, new byte[] { 10 }); in lookupScore_constantCurve() local
36 assertThat(curve.lookupScore(-200)).isEqualTo(10); in lookupScore_constantCurve()
37 assertThat(curve.lookupScore(-100)).isEqualTo(10); in lookupScore_constantCurve()
38 assertThat(curve.lookupScore(0)).isEqualTo(10); in lookupScore_constantCurve()
39 assertThat(curve.lookupScore(100)).isEqualTo(10); in lookupScore_constantCurve()
40 assertThat(curve.lookupScore(200)).isEqualTo(10); in lookupScore_constantCurve()
46 RssiCurve curve = new RssiCurve(-100, 100, new byte[] { -10, 10 }); in lookupScore_changingCurve() local
47 assertThat(curve.lookupScore(-200)).isEqualTo(-10); in lookupScore_changingCurve()
48 assertThat(curve.lookupScore(-100)).isEqualTo(-10); in lookupScore_changingCurve()
49 assertThat(curve.lookupScore(-50)).isEqualTo(-10); in lookupScore_changingCurve()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DSplineMath.java18 float[][] curve = new float[n][2]; in calculatetCurve() local
30 curve[0][0] = (float) (points[0][0]); in calculatetCurve()
31 curve[0][1] = (float) (points[0][1]); in calculatetCurve()
32 int last = curve.length - 1; in calculatetCurve()
33 curve[last][0] = (float) (points[points.length - 1][0]); in calculatetCurve()
34 curve[last][1] = (float) (points[points.length - 1][1]); in calculatetCurve()
36 for (int i = 0; i < curve.length; i++) { in calculatetCurve()
40 double x = start + i * (end - start) / (curve.length - 1); in calculatetCurve()
67 curve[i][0] = (float) (x); in calculatetCurve()
68 curve[i][1] = (float) (y); in calculatetCurve()
[all …]
DImageFilterHighlights.java63 float[][] curve = mSpline.calculatetCurve(256); in apply() local
64 float[] luminanceMap = new float[curve.length]; in apply()
66 luminanceMap[i] = curve[i][1]; in apply()
DImageFilterCurves.java49 float[] curve = spline.getAppliedCurve(); in populateArray() local
51 array[i] = (int) (curve[i] * 255); in populateArray()
DFilterCurvesRepresentation.java86 FilterCurvesRepresentation curve = in equals() local
89 if (!getSpline(i).sameValues(curve.getSpline(i))) { in equals()
/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/
DGeekResponse.java69 public void addGeek(int curve, byte[] geekChain) { in addGeek() argument
70 mCurveToGeek.put(curve, geekChain); in addGeek()
79 public byte[] getGeekChain(int curve) { in getGeekChain() argument
80 return mCurveToGeek.get(curve); in getGeekChain()
DCborUtils.java219 UnsignedInteger curve = (UnsignedInteger) curveAndEekChain.get(CURVE_INDEX); in parseGeekResponse() local
220 resp.addGeek(curve.getValue().intValue(), baos.toByteArray()); in parseGeekResponse()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DSpline.java149 float[] curve = new float[256]; in getAppliedCurve() local
165 curve[i] = 1.0f - points[0].y; in getAppliedCurve()
168 curve[i] = 1.0f - points[points.length - 1].y; in getAppliedCurve()
205 curve[i] = (float) (1.0f - y); in getAppliedCurve()
207 curve[i] = 1.0f - next.y; in getAppliedCurve()
210 return curve; in getAppliedCurve()
/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/service/
DGenerateRkpKeyService.java82 int curve = 0;
85 curve = implInfos[i].supportedCurve;
112 Provisioner.provisionCerts(keysToProvision, secLevel, resp.getGeekChain(curve),
/packages/modules/Wifi/service/java/com/android/server/wifi/
DDppManager.java411 @WifiManager.EasyConnectCryptographyCurve int curve, IDppCallback callback) { in startDppAsEnrolleeResponder() argument
447 + " Curve: " + curve); in startDppAsEnrolleeResponder()
455 convertEasyConnectCryptographyCurveToHidlDppCurve(curve)); in startDppAsEnrolleeResponder()
947 @WifiManager.EasyConnectCryptographyCurve int curve) { in convertEasyConnectCryptographyCurveToHidlDppCurve()
948 switch (curve) { in convertEasyConnectCryptographyCurveToHidlDppCurve()
DBaseWifiService.java617 int curve, IDppCallback callback) { in startDppAsEnrolleeResponder() argument
DWifiServiceImpl.java4688 @WifiManager.EasyConnectCryptographyCurve int curve, IDppCallback callback) {
4730 binder, deviceInfo, curve, callback)));
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkScoreCacheTest.java95 private static ScoredNetwork buildScoredNetwork(WifiKey key, RssiCurve curve) { in buildScoredNetwork() argument
96 return new ScoredNetwork(new NetworkKey(key), curve); in buildScoredNetwork()
/packages/services/Car/service/res/raw/
Dvertical_blur_fragment_shader.glsl17 * The weights come from the following curve: f(x) = 1 - (x^2)/(r^2)
Dhorizontal_blur_fragment_shader.glsl17 * The weights come from the following curve: f(x) = 1 - (x^2)/(r^2)
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/
DFlingUpDownMethod.java786 Interpolator curve = in createBreatheAnimation() local
791 puckUp.setInterpolator(curve); in createBreatheAnimation()
801 curve); in createBreatheAnimation()
/packages/modules/Wifi/framework/java/android/net/wifi/
DIWifiManager.aidl269 void startDppAsEnrolleeResponder(in IBinder binder, in String deviceInfo, int curve, in startDppAsEnrolleeResponder() argument
DWifiManager.java6861 @EasyConnectCryptographyCurve int curve, in startEasyConnectAsEnrolleeResponder() argument
6866 mService.startDppAsEnrolleeResponder(binder, deviceInfo, curve, in startEasyConnectAsEnrolleeResponder()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dde_wordlist.combined.gz

12