Home
last modified time | relevance | path

Searched refs:px (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/docs/html/sdk/support_api_diff/25.1.0/
Dstylesheet-jdiff.css4 div.and-diff-id {border: 1px solid #eee;position:relative;float:right;clear:both;padding:0px;}
5 table.diffspectable {border:1px;padding:0px;margin:0px;}
7 .diffspectable tr {border:0px;padding:0px;}
8 … td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1p…
9 …kground-color:white;border:0px;font-size:80%;font-style:normal;text-align:left;padding:0px;padding…
10 …ground-color:white;border:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding…
11 …ground-color:white;border:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
20 padding:2px;
39 border: 1px solid red;
[all …]
/frameworks/base/docs/html/sdk/support_api_diff/25.0.0/
Dstylesheet-jdiff.css4 div.and-diff-id {border: 1px solid #eee;position:relative;float:right;clear:both;padding:0px;}
5 table.diffspectable {border:1px;padding:0px;margin:0px;}
7 .diffspectable tr {border:0px;padding:0px;}
8 … td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1p…
9 …kground-color:white;border:0px;font-size:80%;font-style:normal;text-align:left;padding:0px;padding…
10 …ground-color:white;border:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding…
11 …ground-color:white;border:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
20 padding:2px;
39 border: 1px solid red;
[all …]
/frameworks/base/graphics/java/android/graphics/
DMatrix.java66 public void setScale(float sx, float sy, float px, float py) {
76 public void setRotate(float degrees, float px, float py) {
86 public void setSinCos(float sinValue, float cosValue, float px, float py) {
96 public void setSkew(float kx, float ky, float px, float py) {
118 public boolean preScale(float sx, float sy, float px, float py) {
130 public boolean preRotate(float degrees, float px, float py) {
142 public boolean preSkew(float kx, float ky, float px, float py) {
166 public boolean postScale(float sx, float sy, float px, float py) {
178 public boolean postRotate(float degrees, float px, float py) {
190 public boolean postSkew(float kx, float ky, float px, float py) {
[all …]
DCanvas.java747 public final void scale(float sx, float sy, float px, float py) { in scale() argument
749 translate(px, py); in scale()
751 translate(-px, -py); in scale()
771 public final void rotate(float degrees, float px, float py) { in rotate() argument
773 translate(px, py); in rotate()
775 translate(-px, -py); in rotate()
/frameworks/base/media/mca/filterpacks/native/imageproc/
Dcontrast.c77 float px = *(input_ptr++) / 255.0; in contrast_process() local
78 px -= 0.5; in contrast_process()
79 px *= contrast; in contrast_process()
80 px += 0.5; in contrast_process()
81 *(output_ptr++) = (char)(px > 1.0 ? 255.0 : (px < 0.0 ? 0.0 : px * 255.0)); in contrast_process()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dmb_motion_comp.cpp153 MOT px[4], py[4]; in MBMotionComp() local
191 dx = px[0] = px[1] = px[2] = px[3] = video->motX[imv]; in MBMotionComp()
217 px[0] = video->motX[imv]; in MBMotionComp()
218 px[1] = video->motX[imv+1]; in MBMotionComp()
219 px[2] = video->motX[imv+mvwidth]; in MBMotionComp()
220 px[3] = video->motX[imv+mvwidth+1]; in MBMotionComp()
221 xsum = px[0] + px[1] + px[2] + px[3]; in MBMotionComp()
257 xpred = (int)((xpos << 1) + px[0]); in MBMotionComp()
293 xpred = (int)(((xpos + B_SIZE) << 1) + px[1]); in MBMotionComp()
329 xpred = (int)((xpos << 1) + px[2]); in MBMotionComp()
[all …]
/frameworks/base/core/jni/android/graphics/
DMatrix.cpp173 static void setScale__FFFF(jlong objHandle, jfloat sx, jfloat sy, jfloat px, in setScale__FFFF() argument
176 obj->setScale(sx, sy, px, py); in setScale__FFFF()
184 static void setRotate__FFF(jlong objHandle, jfloat degrees, jfloat px, in setRotate__FFF() argument
187 obj->setRotate(degrees, px, py); in setRotate__FFF()
196 jfloat cosValue, jfloat px, jfloat py) { in setSinCos__FFFF() argument
198 obj->setSinCos(sinValue, cosValue, px, py); in setSinCos__FFFF()
207 static void setSkew__FFFF(jlong objHandle, jfloat kx, jfloat ky, jfloat px, in setSkew__FFFF() argument
210 obj->setSkew(kx, ky, px, py); in setSkew__FFFF()
230 static void preScale__FFFF(jlong objHandle, jfloat sx, jfloat sy, jfloat px, in preScale__FFFF() argument
233 obj->preScale(sx, sy, px, py); in preScale__FFFF()
[all …]
/frameworks/layoutlib/bridge/src/android/graphics/
DMatrix_Delegate.java268 float px, float py) { in nSetScale() argument
274 d.mValues = getScale(sx, sy, px, py); in nSetScale()
296 /*package*/ static void nSetRotate(long native_object, float degrees, float px, float py) { in nSetRotate() argument
302 d.mValues = getRotate(degrees, px, py); in nSetRotate()
317 float px, float py) { in nSetSinCos() argument
326 setTranslate(d.mValues, -px, -py); in nSetSinCos()
331 d.postTransform(getTranslate(px, py)); in nSetSinCos()
346 float px, float py) { in nSetSkew() argument
352 d.mValues = getSkew(kx, ky, px, py); in nSetSkew()
401 float px, float py) { in nPreScale() argument
[all …]
/frameworks/base/core/java/android/inputmethodservice/
DCompactExtractEditLayout.java73 private static void setLayoutHeight(View v, int px) { in setLayoutHeight() argument
75 lp.height = px; in setLayoutHeight()
79 private static void setLayoutMarginBottom(View v, int px) { in setLayoutMarginBottom() argument
81 lp.bottomMargin = px; in setLayoutMarginBottom()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dhistogram.rscript38 for (int px=0; px < gWidth; px++) {
39 uchar4 c = rsGetElementAt_uchar4(gSrc, px, py);
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicConvolve3x3.cpp91 float4 px = convert_float4(py0[x1]) * coeff[0] + in ConvolveOneU4() local
101 px = clamp(px + 0.5f, 0.f, 255.f); in ConvolveOneU4()
102 uchar4 o = {(uchar)px.x, (uchar)px.y, (uchar)px.z, (uchar)px.w}; in ConvolveOneU4()
113 float2 px = convert_float2(py0[x1]) * coeff[0] + in ConvolveOneU2() local
123 px = clamp(px + 0.5f, 0.f, 255.f); in ConvolveOneU2()
124 *out = convert_uchar2(px); in ConvolveOneU2()
134 float px = ((float)py0[x1]) * coeff[0] + in ConvolveOneU1() local
143 *out = clamp(px + 0.5f, 0.f, 255.f); in ConvolveOneU1()
DrsCpuIntrinsicConvolve5x5.cpp93 float4 px = convert_float4(py0[x0]) * coeff[0] + in OneU4() local
122 px = clamp(px + 0.5f, 0.f, 255.f); in OneU4()
123 *out = convert_uchar4(px); in OneU4()
136 float2 px = convert_float2(py0[x0]) * coeff[0] + in OneU2() local
165 px = clamp(px + 0.5f, 0.f, 255.f); in OneU2()
166 *out = convert_uchar2(px); in OneU2()
179 float px = (float)(py0[x0]) * coeff[0] + in OneU1() local
208 px = clamp(px + 0.5f, 0.f, 255.f); in OneU1()
209 *out = px; in OneU1()
222 float4 px = py0[x0] * coeff[0] + in OneF4() local
[all …]
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dhistogram.rscript38 for (int px=0; px < gWidth; px++) {
39 uchar4 c = rsGetElementAt_uchar4(gSrc, px, py);
/frameworks/opt/bitmap/src/com/android/bitmap/util/
DRectUtils.java59 public static void rotateRect(final int degrees, final int px, final int py, final Rect rect) { in rotateRect() argument
62 matrix.setRotate(degrees, px, py); in rotateRect()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DConfigurableTexts.java49 final float px = text.getTextSize(); in add() local
50 final int sp = (int)(px / fontScale / density); in add()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DCornerHandleView.java126 private static float convertPixelToDp(float px, Context context) { in convertPixelToDp() argument
127 return px * DisplayMetrics.DENSITY_DEFAULT in convertPixelToDp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSAnimator.java294 float px = 0; in updateAnimators() local
297 px = 1; in updateAnimators()
299 px = .4f; in updateAnimators()
301 PathInterpolatorBuilder interpolatorBuilder = new PathInterpolatorBuilder(0, 0, px, py); in updateAnimators()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Dbricked.rscript54 int px = (bx << 5) | in_br_x;
57 int intensity = 0xFFFF & rsGetElementAt_short(volume, px, py, pz);
/frameworks/base/graphics/java/android/graphics/drawable/
DRotateDrawable.java152 final float px = st.mPivotXRel ? (w * st.mPivotX) : st.mPivotX; in draw() local
156 canvas.rotate(st.mCurrentDegrees, px + bounds.left, py + bounds.top); in draw()
DAnimatedRotateDrawable.java65 final float px = st.mPivotXRel ? (w * st.mPivotX) : st.mPivotX; in draw() local
69 canvas.rotate(mCurrentDegrees, px + bounds.left, py + bounds.top); in draw()
/frameworks/base/libs/hwui/
DMatrix.cpp482 float px = vertices[i]; in mapRect() local
485 x = px * data[kScaleX] + py * data[kSkewX] + data[kTranslateX]; in mapRect()
486 y = px * data[kSkewY] + py * data[kScaleY] + data[kTranslateY]; in mapRect()
487 z = px * data[kPerspective0] + py * data[kPerspective1] + data[kPerspective2]; in mapRect()
/frameworks/base/packages/SystemUI/docs/
Dphysics-animation-layout.md26 …ON_X offset = 20px means that if the first animation in the chain is animated to 10px, the second …
/frameworks/base/core/java/android/widget/
DSpinner.java1097 public void setVerticalOffset(int px); in setVerticalOffset() argument
1098 public void setHorizontalOffset(int px); in setHorizontalOffset() argument
1163 public void setVerticalOffset(int px) { in setVerticalOffset() argument
1168 public void setHorizontalOffset(int px) { in setHorizontalOffset() argument
/frameworks/layoutlib/bridge/src/android/view/math/
DMath3DHelper.java31 public static float[] rayIntersectPoly(float[] poly, int polyLength, float px, float py, in rayIntersectPoly() argument
41 float t = (dx * (p1y - py) + dy * (px - p1x)) / div; in rayIntersectPoly()
45 + px * (p2y - p1y)) in rayIntersectPoly()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java321 final int px = (mWidth - width) / 2; in draw() local
327 mFrame.offset(px, 0); in draw()

12