Searched defs:pixelSize (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/opengl/java/android/opengl/
H A DETC1.java91 * pixel (x,y) is at pIn + pixelSize * x + stride * y;
94 * @param pixelSize must be 2 or 3. 2 is an GL_UNSIGNED_SHORT_5_6_5 image,
98 int pixelSize, int stride, Buffer out);
104 * pixel (x,y) is at pIn + pixelSize * x + stride * y. Must be
106 * @param pixelSize must be 2 or 3. 2 is an GL_UNSIGNED_SHORT_5_6_5 image,
110 int width, int height, int pixelSize, int stride);
97 encodeImage(Buffer in, int width, int height, int pixelSize, int stride, Buffer out) argument
109 decodeImage(Buffer in, Buffer out, int width, int height, int pixelSize, int stride) argument
H A DETC1Util.java83 int pixelSize = useShorts ? 2 : 3;
84 int stride = pixelSize * width;
87 ETC1.decodeImage(data, decodedData, width, height, pixelSize, stride);
188 * @param pixelSize the size of a pixel in bytes (2 or 3)
192 public static ETC1Texture compressTexture(Buffer input, int width, int height, int pixelSize, int stride){ argument
196 ETC1.encodeImage(input, width, height, pixelSize, stride, compressedImage);
/frameworks/base/core/java/android/animation/
H A DAnimatorInflater.java407 * @param pixelSize The relative pixel size, used to calculate the
411 TypedArray arrayAnimator, TypedArray arrayObjectAnimator, float pixelSize) {
442 setupObjectAnimator(anim, arrayObjectAnimator, valueType, pixelSize);
492 * @param pixelSize The relative pixel size, used to calculate the
496 int valueType, float pixelSize) {
524 float error = 0.5f * pixelSize; // max half a pixel error
640 float pixelSize)
643 pixelSize);
647 AttributeSet attrs, AnimatorSet parent, int sequenceOrdering, float pixelSize)
667 anim = loadObjectAnimator(res, theme, attrs, pixelSize);
410 parseAnimatorFromTypeArray(ValueAnimator anim, TypedArray arrayAnimator, TypedArray arrayObjectAnimator, float pixelSize) argument
495 setupObjectAnimator(ValueAnimator anim, TypedArray arrayObjectAnimator, int valueType, float pixelSize) argument
639 createAnimatorFromXml(Resources res, Theme theme, XmlPullParser parser, float pixelSize) argument
646 createAnimatorFromXml(Resources res, Theme theme, XmlPullParser parser, AttributeSet attrs, AnimatorSet parent, int sequenceOrdering, float pixelSize) argument
[all...]
/frameworks/support/graphics/drawable/animated/src/main/java/androidx/vectordrawable/graphics/drawable/
H A DAnimatorInflaterCompat.java339 * @param pixelSize The relative pixel size, used to calculate the
343 TypedArray arrayAnimator, TypedArray arrayObjectAnimator, float pixelSize,
376 setupObjectAnimator(anim, arrayObjectAnimator, valueType, pixelSize, parser);
386 * @param pixelSize The relative pixel size, used to calculate the
389 int valueType, float pixelSize, XmlPullParser parser) {
419 setupPathMotion(path, oa, 0.5f * pixelSize, propertyXName, propertyYName);
499 float pixelSize)
502 0, pixelSize);
507 AttributeSet attrs, AnimatorSet parent, int sequenceOrdering, float pixelSize)
527 anim = loadObjectAnimator(context, res, theme, attrs, pixelSize, parse
342 parseAnimatorFromTypeArray(ValueAnimator anim, TypedArray arrayAnimator, TypedArray arrayObjectAnimator, float pixelSize, XmlPullParser parser) argument
388 setupObjectAnimator(ValueAnimator anim, TypedArray arrayObjectAnimator, int valueType, float pixelSize, XmlPullParser parser) argument
497 createAnimatorFromXml(Context context, Resources res, Theme theme, XmlPullParser parser, float pixelSize) argument
505 createAnimatorFromXml(Context context, Resources res, Theme theme, XmlPullParser parser, AttributeSet attrs, AnimatorSet parent, int sequenceOrdering, float pixelSize) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DScreenDecorations.java377 private void setSize(View view, int pixelSize) { argument
379 params.width = pixelSize;
380 params.height = pixelSize;
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp509 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset;
513 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) {
514 if (pixelSize < 2 || pixelSize > 3) {
540 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy);
541 if (pixelSize == 3) {
549 p += pixelSize;
564 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset. Must be
570 etc1_uint32 pixelSize, etc1_uint32 stride) {
571 if (pixelSize <
512 etc1_encode_image(const etc1_byte* pIn, etc1_uint32 width, etc1_uint32 height, etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) argument
568 etc1_decode_image(const etc1_byte* pIn, etc1_byte* pOut, etc1_uint32 width, etc1_uint32 height, etc1_uint32 pixelSize, etc1_uint32 stride) argument
[all...]
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp927 * pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset;
932 jint pixelSize, jint stride, jobject out) {
933 if (pixelSize < 2 || pixelSize > 3) {
934 doThrowIAE(env, "pixelSize must be 2 or 3");
947 etc1_encode_image((etc1_byte*) inB.getData(), width, height, pixelSize, stride,
957 * pixel (x,y) is at pIn + pixelSize * x + stride * y. Must be
963 jint pixelSize, jint stride) {
964 if (pixelSize < 2 || pixelSize >
930 etc1_encodeImage(JNIEnv *env, jclass clazz, jobject in, jint width, jint height, jint pixelSize, jint stride, jobject out) argument
960 etc1_decodeImage(JNIEnv *env, jclass clazz, jobject in, jobject out, jint width, jint height, jint pixelSize, jint stride) argument
[all...]

Completed in 5121 milliseconds