OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GradientDrawable
(Results
1 - 25
of
51
) sorted by null
1
2
3
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
GradientDrawableTest.java
30
import android.graphics.drawable.
GradientDrawable
;
42
new
GradientDrawable
();
43
new
GradientDrawable
(
GradientDrawable
.Orientation.BL_TR, color);
44
new
GradientDrawable
(null, null);
50
GradientDrawable
gradientDrawable
= new
GradientDrawable
();
51
gradientDrawable
.setCornerRadii(radii);
53
ConstantState constantState =
gradientDrawable
.getConstantState()
[
all
...]
ThemedDrawableTest.java
27
import android.graphics.drawable.
GradientDrawable
;
73
GradientDrawable
d = (
GradientDrawable
) mContext.getDrawable(
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
RoundRects.java
37
private
GradientDrawable
mDrawable;
47
mDrawable = new
GradientDrawable
(
GradientDrawable
.Orientation.TL_BR,
50
mDrawable.setShape(
GradientDrawable
.RECTANGLE);
54
static void setCornerRadii(
GradientDrawable
drawable, float r0,
68
mDrawable.setGradientType(
GradientDrawable
.LINEAR_GRADIENT);
75
mDrawable.setGradientType(
GradientDrawable
.RADIAL_GRADIENT);
84
mDrawable.setGradientType(
GradientDrawable
.SWEEP_GRADIENT);
91
mDrawable.setGradientType(
GradientDrawable
.LINEAR_GRADIENT);
100
mDrawable.setGradientType(
GradientDrawable
.RADIAL_GRADIENT)
[
all
...]
/external/chromium_org/ui/android/java/src/org/chromium/ui/
ColorPickerAdvancedComponent.java
8
import android.graphics.drawable.
GradientDrawable
;
9
import android.graphics.drawable.
GradientDrawable
.Orientation;
32
private
GradientDrawable
mGradientDrawable;
51
mGradientDrawable = new
GradientDrawable
(
GradientDrawable
.Orientation.LEFT_RIGHT, null);
89
mGradientDrawable = new
GradientDrawable
(currentOrientation, mGradientColors);
ColorSuggestionListAdapter.java
9
import android.graphics.drawable.
GradientDrawable
;
72
GradientDrawable
swatch =
73
(
GradientDrawable
) layers.findDrawableByLayerId(R.id.color_button_swatch);
/developers/build/prebuilts/gradle/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/
WearableListItemLayout.java
20
import android.graphics.drawable.
GradientDrawable
;
62
((
GradientDrawable
) mCircle.getDrawable()).setColor(mChosenCircleColor);
67
((
GradientDrawable
) mCircle.getDrawable()).setColor(mFadedCircleColor);
/developers/build/prebuilts/gradle/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ui/
SpeedPickerLayout.java
20
import android.graphics.drawable.
GradientDrawable
;
70
((
GradientDrawable
) mCircle.getDrawable()).setColor(mChosenCircleColor);
75
((
GradientDrawable
) mCircle.getDrawable()).setColor(mFadedCircleColor);
/developers/build/prebuilts/gradle/Timer/Wearable/src/main/java/com/example/android/wearable/timer/
WearableListItemLayout.java
20
import android.graphics.drawable.
GradientDrawable
;
60
((
GradientDrawable
) mCircle.getDrawable()).setColor(mChosenCircleColor);
65
((
GradientDrawable
) mCircle.getDrawable()).setColor(mFadedCircleColor);
/developers/samples/android/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/
WearableListItemLayout.java
20
import android.graphics.drawable.
GradientDrawable
;
62
((
GradientDrawable
) mCircle.getDrawable()).setColor(mChosenCircleColor);
67
((
GradientDrawable
) mCircle.getDrawable()).setColor(mFadedCircleColor);
/developers/samples/android/wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ui/
SpeedPickerLayout.java
20
import android.graphics.drawable.
GradientDrawable
;
70
((
GradientDrawable
) mCircle.getDrawable()).setColor(mChosenCircleColor);
75
((
GradientDrawable
) mCircle.getDrawable()).setColor(mFadedCircleColor);
/developers/samples/android/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/
WearableListItemLayout.java
20
import android.graphics.drawable.
GradientDrawable
;
60
((
GradientDrawable
) mCircle.getDrawable()).setColor(mChosenCircleColor);
65
((
GradientDrawable
) mCircle.getDrawable()).setColor(mFadedCircleColor);
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
WearableListItemLayout.java
20
import android.graphics.drawable.
GradientDrawable
;
62
((
GradientDrawable
) mCircle.getDrawable()).setColor(mChosenCircleColor);
67
((
GradientDrawable
) mCircle.getDrawable()).setColor(mFadedCircleColor);
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/ui/
SpeedPickerLayout.java
20
import android.graphics.drawable.
GradientDrawable
;
70
((
GradientDrawable
) mCircle.getDrawable()).setColor(mChosenCircleColor);
75
((
GradientDrawable
) mCircle.getDrawable()).setColor(mFadedCircleColor);
/development/samples/browseable/Timer/Wearable/src/com.example.android.wearable.timer/
WearableListItemLayout.java
20
import android.graphics.drawable.
GradientDrawable
;
60
((
GradientDrawable
) mCircle.getDrawable()).setColor(mChosenCircleColor);
65
((
GradientDrawable
) mCircle.getDrawable()).setColor(mFadedCircleColor);
/packages/apps/Camera2/src/com/android/camera/ui/
ModeIconView.java
22
import android.graphics.drawable.
GradientDrawable
;
37
private final
GradientDrawable
mBackground;
50
mBackground = (
GradientDrawable
) getResources()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
ColorChooser.java
7
import android.graphics.drawable.
GradientDrawable
;
71
GradientDrawable
sd = ((
GradientDrawable
) button.getBackground());
102
GradientDrawable
sd = ((
GradientDrawable
) mButton[i].getBackground());
116
GradientDrawable
sd = ((
GradientDrawable
) button.getBackground());
152
GradientDrawable
sd = ((
GradientDrawable
) button.getBackground());
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/widget/
RoundedRectHelperApi21.java
19
import android.graphics.drawable.
GradientDrawable
;
45
((
GradientDrawable
) view.getBackground().mutate()).setColor(color);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
ColorGridDialog.java
22
import android.graphics.drawable.
GradientDrawable
;
51
GradientDrawable
sd = ((
GradientDrawable
) button.getBackground());
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
ButteryProgressBar.java
25
import android.graphics.drawable.
GradientDrawable
;
47
private final
GradientDrawable
mShadow;
117
mShadow = new
GradientDrawable
(
GradientDrawable
.Orientation.TOP_BOTTOM,
/frameworks/base/core/java/com/android/internal/app/
PlatLogoActivity.java
30
import android.graphics.drawable.
GradientDrawable
;
110
final
GradientDrawable
g = new
GradientDrawable
();
111
g.setOrientation(
GradientDrawable
.Orientation.LEFT_RIGHT);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
EditorColorBorderTabletUI.java
22
import android.graphics.drawable.
GradientDrawable
;
175
GradientDrawable
sd = ((
GradientDrawable
) mColorButton[i].getBackground());
229
GradientDrawable
sd = ((
GradientDrawable
) b.getBackground());
250
GradientDrawable
sd = ((
GradientDrawable
) button.getBackground());
EditorDrawTabletUI.java
25
import android.graphics.drawable.
GradientDrawable
;
181
GradientDrawable
sd = ((
GradientDrawable
) mColorButton[i].getBackground());
240
GradientDrawable
sd = ((
GradientDrawable
) b.getBackground());
273
GradientDrawable
sd = ((
GradientDrawable
) button.getBackground());
/development/apps/NinePatchLab/src/com/android/ninepatch/
NinePatchLab.java
63
return new
GradientDrawable
(
GradientDrawable
.Orientation.TR_BL,
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
HeadersFragment.java
20
import android.graphics.drawable.
GradientDrawable
;
216
if (background instanceof
GradientDrawable
) {
218
((
GradientDrawable
) background).setColors(
HeadersSupportFragment.java
22
import android.graphics.drawable.
GradientDrawable
;
218
if (background instanceof
GradientDrawable
) {
220
((
GradientDrawable
) background).setColors(
Completed in 3037 milliseconds
1
2
3