Home
last modified time | relevance | path

Searched refs:np (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/
Dfountain.rs53 Point_t * np = &point[newPart];
58 np->delta.x = len * sin(angle);
59 np->delta.y = len * cos(angle);
60 np->position = p;
61 np->color = c;
63 np++;
66 np = &point[newPart];
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/
Dfountain.rs52 Point_t * np = &point[newPart];
57 np->delta.x = len * sin(angle);
58 np->delta.y = len * cos(angle);
59 np->position = p;
60 np->color = c;
62 np++;
65 np = &point[newPart];
/frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/
Dfountainfbo.rs88 Point_t * np = &point[newPart];
93 np->delta.x = len * sin(angle);
94 np->delta.y = len * cos(angle);
95 np->position = p;
96 np->color = c;
98 np++;
101 np = &point[newPart];
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
DQuad.java97 PointF np = new PointF(height * (dp.y / len), height * (dp.x / len)); in fromLineAndHeight() local
98 PointF p2 = new PointF(topLeft.x - np.x, topLeft.y + np.y); in fromLineAndHeight()
99 PointF p3 = new PointF(topRight.x - np.x, topRight.y + np.y); in fromLineAndHeight()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawable.java990 byte[] np = bm.getNinePatchChunk(); in createFromResourceStream()
991 if (np == null || !NinePatch.isNinePatchChunk(np)) { in createFromResourceStream()
992 np = null; in createFromResourceStream()
998 return drawableFromBitmap(res, bm, np, pad, opticalInsets, srcName); in createFromResourceStream()
1279 private static Drawable drawableFromBitmap(Resources res, Bitmap bm, byte[] np, in drawableFromBitmap() argument
1282 if (np != null) { in drawableFromBitmap()
1283 return new NinePatchDrawable(res, bm, np, pad, layoutBounds, srcName); in drawableFromBitmap()
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java562 byte[] np = outputBitmap.getNinePatchChunk(); in setDensityFromOptions()
563 final boolean isNinePatch = np != null && NinePatch.isNinePatchChunk(np); in setDensityFromOptions()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java710 String np = extractNetworkPortionAlt(phoneNumber); in toCallerIDMinMatch() local
711 return internalGetStrippedReversed(np, MIN_MATCH); in toCallerIDMinMatch()
723 String np = extractNetworkPortionAlt(phoneNumber); in getStrippedReversed() local
725 if (np == null) return null; in getStrippedReversed()
727 return internalGetStrippedReversed(np, np.length()); in getStrippedReversed()
735 internalGetStrippedReversed(String np, int numDigits) { in internalGetStrippedReversed() argument
736 if (np == null) return null; in internalGetStrippedReversed()
739 int length = np.length(); in internalGetStrippedReversed()
744 char c = np.charAt(i); in internalGetStrippedReversed()
/frameworks/native/libs/binder/
DMemoryDealer.cpp445 int np = ((cur->next) && cur->next->prev != cur) ? 1 : 0; in dump_l() local
452 errs[np|pn]); in dump_l()
/frameworks/base/tools/velocityplot/
Dvelocityplot.py27 import numpy as np namespace
/frameworks/base/tools/orientationplot/
Dorientationplot.py23 import numpy as np namespace
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java3437 int np = p.readInt(); in responseCallList() local
3438 dc.numberPresentation = DriverCall.presentationFromCLIP(np); in responseCallList()