Searched defs:pixelSize (Results 1 - 6 of 6) 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/android/support/graphics/drawable/
H A DAnimatorInflaterCompat.java338 * @param pixelSize The relative pixel size, used to calculate the
342 TypedArray arrayAnimator, TypedArray arrayObjectAnimator, float pixelSize,
375 setupObjectAnimator(anim, arrayObjectAnimator, valueType, pixelSize, parser);
385 * @param pixelSize The relative pixel size, used to calculate the
388 int valueType, float pixelSize, XmlPullParser parser) {
418 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
341 parseAnimatorFromTypeArray(ValueAnimator anim, TypedArray arrayAnimator, TypedArray arrayObjectAnimator, float pixelSize, XmlPullParser parser) argument
387 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/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.cpp957 * pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset;
962 jint pixelSize, jint stride, jobject out) {
963 if (pixelSize < 2 || pixelSize > 3) {
964 doThrowIAE(env, "pixelSize must be 2 or 3");
977 etc1_encode_image((etc1_byte*) inB.getData(), width, height, pixelSize, stride,
987 * pixel (x,y) is at pIn + pixelSize * x + stride * y. Must be
993 jint pixelSize, jint stride) {
994 if (pixelSize < 2 || pixelSize >
960 etc1_encodeImage(JNIEnv *env, jclass clazz, jobject in, jint width, jint height, jint pixelSize, jint stride, jobject out) argument
990 etc1_decodeImage(JNIEnv *env, jclass clazz, jobject in, jobject out, jint width, jint height, jint pixelSize, jint stride) argument
[all...]

Completed in 170 milliseconds