HomeSort by relevance Sort by last modified time
    Searched refs:tileMode (Results 1 - 25 of 26) sorted by null

1 2

  /cts/tests/tests/graphics/src/android/graphics/cts/
Shader_TileModeTest.java 21 import android.graphics.Shader.TileMode;
26 assertEquals(TileMode.CLAMP, TileMode.valueOf("CLAMP"));
27 assertEquals(TileMode.MIRROR, TileMode.valueOf("MIRROR"));
28 assertEquals(TileMode.REPEAT, TileMode.valueOf("REPEAT"));
32 TileMode[] tileMode = TileMode.values()
    [all...]
  /frameworks/base/libs/hwui/
GradientCache.h 37 tileMode = SkShader::kClamp_TileMode;
41 SkShader::TileMode tileMode) {
42 copy(colors, positions, count, tileMode);
46 copy(entry.colors, entry.positions, entry.count, entry.tileMode);
59 copy(entry.colors, entry.positions, entry.count, entry.tileMode);
68 LTE_INT(tileMode) {
83 SkShader::TileMode tileMode;
87 void copy(uint32_t* colors, float* positions, int count, SkShader::TileMode tileMode)
    [all...]
GradientCache.cpp 101 int count, SkShader::TileMode tileMode) {
103 GradientCacheEntry gradient(colors, positions, count, tileMode);
107 texture = addLinearGradient(gradient, colors, positions, count, tileMode);
118 uint32_t* colors, float* positions, int count, SkShader::TileMode tileMode) {
131 reinterpret_cast<const SkColor*>(colors), positions, count, tileMode);
SkiaShader.cpp 56 SkiaShader::SkiaShader(Type type, SkShader* key, SkShader::TileMode tileX,
57 SkShader::TileMode tileY, SkMatrix* matrix, bool blend):
87 SkiaBitmapShader::SkiaBitmapShader(SkBitmap* bitmap, SkShader* key, SkShader::TileMode tileX,
88 SkShader::TileMode tileY, SkMatrix* matrix, bool blend):
178 float* positions, int count, SkShader* key, SkShader::TileMode tileMode,
180 SkiaShader(kLinearGradient, key, tileMode, tileMode, matrix, blend),
253 uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode,
    [all...]
SkiaShader.h 57 ANDROID_API SkiaShader(Type type, SkShader* key, SkShader::TileMode tileX,
58 SkShader::TileMode tileY, SkMatrix* matrix, bool blend);
121 SkShader::TileMode mTileX;
122 SkShader::TileMode mTileY;
144 ANDROID_API SkiaBitmapShader(SkBitmap* bitmap, SkShader* key, SkShader::TileMode tileX,
145 SkShader::TileMode tileY, SkMatrix* matrix, bool blend);
175 int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend);
210 int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend)
    [all...]
  /external/skia/src/animator/
SkDrawShader.cpp 20 SK_MEMBER(tileMode, TileMode)
28 tileMode(SkShader::kClamp_TileMode) {
77 (SkShader::TileMode) tileMode,
78 (SkShader::TileMode) tileMode);
SkPaintParts.h 58 int /*SkShader::TileMode*/ tileMode;
SkDrawGradient.cpp 187 fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, fUnitMapper);
222 radius, fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, fUnitMapper);
  /frameworks/base/graphics/java/android/graphics/
LinearGradient.java 32 TileMode tile) {
54 TileMode tile) {
61 int colors[], float positions[], int tileMode);
63 int color0, int color1, int tileMode);
65 int colors[], float positions[], int tileMode);
67 int color0, int color1, int tileMode);
RadialGradient.java 32 int colors[], float positions[], TileMode tile) {
56 int color0, int color1, TileMode tile) {
66 int colors[], float positions[], int tileMode);
68 int color0, int color1, int tileMode);
71 int colors[], float positions[], int tileMode);
73 int color0, int color1, int tileMode);
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Shader_Delegate.java 22 import android.graphics.Shader.TileMode;
57 * Returns the {@link TileMode} matching the given int.
58 * @param tileMode the tile mode int value
59 * @return the TileMode enum.
61 public static TileMode getTileMode(int tileMode) {
62 for (TileMode tm : TileMode.values()) {
63 if (tm.nativeInt == tileMode) {
69 return TileMode.CLAMP
    [all...]
LinearGradient_Delegate.java 24 import android.graphics.Shader.TileMode;
59 int colors[], float positions[], int tileMode) {
61 colors, positions, Shader_Delegate.getTileMode(tileMode));
68 int color0, int color1, int tileMode) {
71 tileMode);
77 int colors[], float positions[], int tileMode) {
85 int color0, int color1, int tileMode) {
106 int colors[], float positions[], TileMode tile) {
126 float positions[], TileMode tile) {
RadialGradient_Delegate.java 24 import android.graphics.Shader.TileMode;
58 int colors[], float positions[], int tileMode) {
60 colors, positions, Shader_Delegate.getTileMode(tileMode));
66 int color0, int color1, int tileMode) {
68 tileMode);
73 int colors[], float positions[], int tileMode) {
80 int color0, int color1, int tileMode) {
102 TileMode tile) {
114 int[] colors, float[] positions, TileMode mode) {
Gradient_Delegate.java 19 import android.graphics.Shader.TileMode;
73 * on the color and position lists, as well as the {@link TileMode}
81 private final TileMode mTileMode;
84 protected GradientPaint(int[] colors, float[] positions, TileMode tileMode) {
87 mTileMode = tileMode;
125 * will use {@link TileMode} value to convert it into a [0,1] value.
  /frameworks/base/core/jni/android/graphics/
Shader.cpp 89 (SkShader::TileMode)tileModeX,
90 (SkShader::TileMode)tileModeY);
100 static_cast<SkShader::TileMode>(tileModeX), static_cast<SkShader::TileMode>(tileModeY),
112 jintArray colorArray, jfloatArray posArray, int tileMode)
136 static_cast<SkShader::TileMode>(tileMode));
145 jfloatArray posArray, int tileMode) {
175 storedPositions, count, shader, static_cast<SkShader::TileMode>(tileMode), NULL
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
BitmapDrawable.java 285 * @return {@link Shader.TileMode#CLAMP} if the bitmap does not repeat,
286 * {@link Shader.TileMode#REPEAT} or {@link Shader.TileMode#MIRROR} otherwise.
288 public Shader.TileMode getTileModeX() {
295 * @return {@link Shader.TileMode#CLAMP} if the bitmap does not repeat,
296 * {@link Shader.TileMode#REPEAT} or {@link Shader.TileMode#MIRROR} otherwise.
298 public Shader.TileMode getTileModeY() {
304 * does not repeat its bitmap. Using {@link Shader.TileMode#REPEAT} or
305 * {@link Shader.TileMode#MIRROR} the bitmap can be repeated (or tiled) if the bitma
    [all...]
  /sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
OverdrawDetector.java 366 String tileMode = element.getAttributeNS(ANDROID_URI, ATTR_TILE_MODE);
367 if (!(tileMode.equals(VALUE_DISABLED) || tileMode.length() == 0)) {
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/9/
android.jar 

Completed in 961 milliseconds

1 2