Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DPointerIcon.java529 Drawable drawableFrame = animationDrawable.getFrame(i); in loadResource() local
530 if (!(drawableFrame instanceof BitmapDrawable) in loadResource()
531 && !(drawableFrame instanceof VectorDrawable)) { in loadResource()
535 if (isVectorAnimation != (drawableFrame instanceof VectorDrawable)) { in loadResource()
540 if (drawableFrame.getIntrinsicWidth() != width || in loadResource()
541 drawableFrame.getIntrinsicHeight() != height) { in loadResource()
547 drawableFrame = getBitmapDrawableFromVectorDrawable(resources, in loadResource()
548 (VectorDrawable) drawableFrame, pointerScale); in loadResource()
550 mBitmapFrames[i - 1] = getBitmapFromDrawable((BitmapDrawable) drawableFrame); in loadResource()