OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:vectorDrawable
(Results
1 - 11
of
11
) sorted by null
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
AppCompatVectorDrawableIntegrationTest.java
63
Drawable
vectorDrawable
= view1.getDrawable();
65
vectorDrawable
.setBounds(0, 0, WIDTH, HEIGHT);
66
vectorDrawable
.draw(mCanvas);
80
vectorDrawable
.draw(mCanvas);
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
VectorDrawableTest.java
34
import android.graphics.drawable.
VectorDrawable
;
230
VectorDrawable
vectorDrawable
= new
VectorDrawable
();
231
vectorDrawable
.setBounds(0, 0, IMAGE_WIDTH, IMAGE_HEIGHT);
234
// Setup
VectorDrawable
from xml file and draw into the bitmap.
250
vectorDrawable
.inflate(mResources, parser, attrs, theme);
253
vectorDrawable
.setState(stateSet);
257
vectorDrawable
.draw(mCanvas);
341
VectorDrawable
vectorDrawable = new VectorDrawable()
[
all
...]
/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/
VectorDrawableTest.java
150
// Setup
VectorDrawable
from xml file and draw into the bitmap.
274
VectorDrawableCompat
vectorDrawable
=
276
Drawable.ConstantState constantState =
vectorDrawable
.getConstantState();
280
assertEquals(0,
vectorDrawable
.getChangingConfigurations());
283
vectorDrawable
.setChangingConfigurations(0xff);
284
assertEquals(0xff,
vectorDrawable
.getChangingConfigurations());
288
constantState =
vectorDrawable
.getConstantState();
292
vectorDrawable
.setChangingConfigurations(0xff00);
294
assertEquals(0xffff,
vectorDrawable
.getChangingConfigurations());
299
VectorDrawableCompat
vectorDrawable
[
all
...]
/frameworks/base/graphics/java/android/graphics/drawable/
AnimatedVectorDrawable.java
68
* This class animates properties of a {@link android.graphics.drawable.
VectorDrawable
} with
89
* <li><h4>XML for the
VectorDrawable
containing properties to be animated</h4>
92
* have unique names in the same
VectorDrawable
. Groups and paths without animations do not need to
95
* Below is an example of a
VectorDrawable
defined in
vectordrawable
.xml. This
VectorDrawable
is
120
* An AnimatedVectorDrawable element has a
VectorDrawable
attribute, and one or more target
126
* groups and paths in the <a href="#VDExample">
VectorDrawable
XML above</a>.
129
* android:drawable="@drawable/
vectordrawable
" >
285
* In order to avoid breaking old apps, we only throw exception on invalid
VectorDrawable
[
all
...]
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
AnimatedVectorDrawableCompat.java
383
VectorDrawableCompat
vectorDrawable
= VectorDrawableCompat.create(res,
385
vectorDrawable
.setAllowCaching(false);
386
vectorDrawable
.setCallback(mCallback);
390
mAnimatedVectorState.mVectorDrawable =
vectorDrawable
;
446
* Instead of creating a
VectorDrawable
, create a VectorDrawableCompat instance which contains
447
* a delegated
VectorDrawable
instance.
/prebuilts/sdk/current/support/graphics/drawable/libs/
android-support-animatedvectordrawable.jar
/frameworks/base/libs/hwui/
RecordedOp.h
43
namespace
VectorDrawable
{
351
VectorDrawableOp(
VectorDrawable
::Tree* tree, BASE_PARAMS_PAINTLESS)
353
,
vectorDrawable
(tree) {}
354
VectorDrawable
::Tree*
vectorDrawable
;
RenderNode.cpp
427
for (auto&
vectorDrawable
: mDisplayList->getVectorDrawables()) {
429
if (
vectorDrawable
->isDirty()) {
432
vectorDrawable
->setPropertyChangeWillBeConsumed(true);
495
for (auto&
vectorDrawable
: mDisplayList->getVectorDrawables()) {
496
vectorDrawable
->syncProperties();
[
all
...]
SkiaCanvas.cpp
35
#include "
VectorDrawable
.h"
151
virtual void drawVectorDrawable(VectorDrawableRoot*
vectorDrawable
) override;
751
void SkiaCanvas::drawVectorDrawable(VectorDrawableRoot*
vectorDrawable
) {
752
vectorDrawable
->drawStaging(this);
FrameBuilder.cpp
21
#include "
VectorDrawable
.h"
635
const SkBitmap& bitmap = op.
vectorDrawable
->getBitmapUpdateIfDirty();
636
SkPaint* paint = op.
vectorDrawable
->getPaint();
[
all
...]
/prebuilts/sdk/current/support/v7/appcompat/libs/
android-support-v7-appcompat.jar
Completed in 1321 milliseconds