Searched refs:np (Results 1 - 9 of 9) sorted by relevance
/frameworks/av/services/camera/libcameraservice/tests/ |
H A D | DistortionMapperComp.py | 5 import numpy as np namespace 14 K = np.array([[Fx, 0, Cx],[0, Fy, Cy],[0, 0, 1]]) 17 dist = np.array([0.1, -0.003, 0.02, 0.01, 0.004]) 19 np.random.seed(1234) 21 activeArray = np.array([[1000, 750]]) 23 rawCoords = np.floor(np.random.rand(1000,2) * activeArray)
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
H A D | Quad.java | 97 PointF np = new PointF(height * (dp.y / len), height * (dp.x / len)); 98 PointF p2 = new PointF(topLeft.x - np.x, topLeft.y + np.y); 99 PointF p3 = new PointF(topRight.x - np.x, topRight.y + np.y);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | Drawable.java | 1207 byte[] np = bm.getNinePatchChunk(); 1208 if (np == null || !NinePatch.isNinePatchChunk(np)) { 1209 np = null; 1215 return drawableFromBitmap(res, bm, np, pad, opticalInsets, srcName); 1498 private static Drawable drawableFromBitmap(Resources res, Bitmap bm, byte[] np, argument 1501 if (np != null) { 1502 return new NinePatchDrawable(res, bm, np, pad, layoutBounds, srcName);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapFactory.java | 674 byte[] np = outputBitmap.getNinePatchChunk(); 675 final boolean isNinePatch = np != null && NinePatch.isNinePatchChunk(np);
|
H A D | ImageDecoder.java | 1691 byte[] np = bm.getNinePatchChunk(); 1692 if (np != null && NinePatch.isNinePatchChunk(np)) { 1700 return new NinePatchDrawable(res, bm, np, padding, 1766 byte[] np = bm.getNinePatchChunk(); 1767 if (np != null && NinePatch.isNinePatchChunk(np)) {
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberUtils.java | 744 String np = extractNetworkPortionAlt(phoneNumber); 745 return internalGetStrippedReversed(np, MIN_MATCH); 757 String np = extractNetworkPortionAlt(phoneNumber); 759 if (np == null) return null; 761 return internalGetStrippedReversed(np, np.length()); 766 * Returns null if np == null 769 internalGetStrippedReversed(String np, int numDigits) { argument 770 if (np == null) return null; 773 int length = np [all...] |
/frameworks/native/libs/binder/ |
H A D | MemoryDealer.cpp | 461 int np = ((cur->next) && cur->next->prev != cur) ? 1 : 0; local 468 errs[np|pn]);
|
/frameworks/base/tools/velocityplot/ |
H A D | velocityplot.py | 27 import numpy as np namespace
|
/frameworks/base/tools/orientationplot/ |
H A D | orientationplot.py | 23 import numpy as np namespace
|
Completed in 247 milliseconds