/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
NavigationBar.java | 22 import android.graphics.Color; 51 // Normally we can automatically guess the theme by comparing the foreground color against 52 // the background color. But we also allow specifying explicitly using suwNavBarTheme. 60 // Compare the value of the foreground against the background color to see if current 64 Color.colorToHSV(attributes.getColor(1, 0), foregroundHsv); 65 Color.colorToHSV(attributes.getColor(2, 0), backgroundHsv);
|
/frameworks/support/design/base/android/support/design/widget/ |
FloatingActionButtonImpl.java | 21 import android.graphics.Color; 141 resources.getColor(R.color.design_fab_stroke_top_outer_color), 142 resources.getColor(R.color.design_fab_stroke_top_inner_color), 143 resources.getColor(R.color.design_fab_stroke_end_inner_color), 144 resources.getColor(R.color.design_fab_stroke_end_outer_color)); 172 d.setColor(Color.WHITE);
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
FloatingActionButtonTest.java | 28 import android.graphics.Color; 54 .perform(setBackgroundTintColor(Color.GREEN)) 55 .check(matches(withFabBackgroundFill(Color.GREEN))); 61 .check(matches(withFabBackgroundFill(Color.MAGENTA))); 67 .perform(setBackgroundTintColor(Color.GREEN)) 68 .check(matches(withFabBackgroundFill(Color.GREEN)));
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
EventColorCache.java | 27 * A cache for event colors and event color keys stored based upon calendar account name and type. 44 * Inserts a color into the cache. 74 * Retrieve an event color's unique key based on account name, type, and color. 89 for (Integer color : sortedColors) { 90 palette.add(color);
|
/packages/apps/Camera2/res/values-v21/ |
styles.xml | 30 <item name="android:windowBackground">@color/camera_gray_background</item> 31 <item name="android:colorBackground">@color/camera_gray_background</item> 32 <item name="android:colorBackgroundCacheHint">@color/camera_gray_background</item> 44 <item name="android:colorPrimary">@color/main_color_global</item> 56 <item name="android:textColor">@color/dialog_text_color</item> 57 <item name="android:buttonTint">@color/dialog_text_color</item>
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
ModeIconView.java | 33 * multiple states can be rendered using the same drawable with some color modification, 47 mBackgroundDefaultColor = getResources().getColor(R.color.mode_selector_icon_background); 100 * drawable will use a solid pre-defined color to indicate selection. 116 * Sets the color that will be used in the drawable for highlight state. 118 * @param highlightColor color for the highlight state 125 * @return The highlightColor color the the highlight state.
|
/packages/apps/DeskClock/res/layout/ |
world_clock_remote_list_item.xml | 40 android:textColor="@color/clock_white" 57 android:textColor="@color/clock_white" /> 68 android:textColor="@color/clock_gray" /> 85 android:textColor="@color/clock_white" 103 android:textColor="@color/clock_white" /> 114 android:textColor="@color/clock_gray" />
|
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
PseudoEmergencyAnimator.java | 25 import android.graphics.Color; 62 Integer colorFrom = Color.BLUE; 63 Integer colorTo = Color.RED; 70 int color = (int) animator.getAnimatedValue(); 72 new LightingColorFilter(Color.BLACK, color);
|
/packages/services/Telephony/res/values/ |
styles.xml | 96 <item name="android:textColor">@color/ota_title_color</item> 125 <item name="android:background">@android:color/black</item> 146 <item name="android:textColor">@color/incall_call_banner_text_color</item> 164 <item name="android:windowBackground">@color/phone_settings_background_color</item> 167 <item name="android:actionMenuTextColor">@color/phone_settings_actionbar_text_color</item> 171 <item name="android:colorPrimaryDark">@color/actionbar_background_color_dark</item> 173 <item name="android:textColorPrimary">@color/settings_text_color_primary</item> 175 <item name="android:textColorSecondary">@color/settings_text_color_secondary</item> 179 <item name="android:colorAccent">@color/dialer_theme_color</item> 185 <item name="android:colorAccent">@color/dialer_theme_color</item [all...] |
/external/zopfli/src/zopflipng/lodepng/ |
lodepng.h | 86 /*The PNG color types (also used for raw).*/ 108 colortype: the desired color type for the raw output image. See explanation on PNG color types. 109 bitdepth: the desired bit depth for the raw output image. See explanation on PNG color types. 157 colortype: the color type of the raw input image. See explanation on PNG color types. 158 bitdepth: the bit depth of the raw input image. See explanation on PNG color types. 308 Color mode of an image. Contains all information required to decode the pixel 315 LodePNGColorType colortype; /*color type, see PNG standard or documentation further in this header file*/ 323 lodepng_palette_clear, then for each color use lodepng_palette_add 407 LodePNGColorMode color; \/*color type and bits, palette and transparency of the PNG file*\/ member in struct:LodePNGInfo [all...] |
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/presenter/ |
GridItemPresenter.java | 19 import android.graphics.Color; 45 mainFragment.getResources().getColor(R.color.default_background, null)); 46 view.setTextColor(Color.WHITE);
|
/cts/tests/tests/graphics/res/xml/ |
layerdrawable.xml | 20 <item><color android:color="#88ffffff"> 23 </color></item>
|
/cts/tests/tests/text/src/android/text/cts/ |
TextPaintTest.java | 19 import android.graphics.Color; 45 textPaintSrc.bgColor = Color.GREEN; 47 textPaintSrc.linkColor = Color.BLUE;
|
/cts/tests/tests/widget/res/layout/ |
calendarview_layout.xml | 48 android:selectedWeekBackgroundColor="@color/calendarview_week_background" 49 android:focusedMonthDateColor="@color/calendarview_focusedmonthdate" 50 android:unfocusedMonthDateColor="@color/calendarview_unfocusedmonthdate"
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/presenter/ |
GridItemPresenter.java | 19 import android.graphics.Color; 44 view.setBackgroundColor(mainFragment.getResources().getColor(R.color.default_background)); 45 view.setTextColor(Color.WHITE);
|
/developers/build/prebuilts/gradle/DelayedConfirmation/Wearable/src/main/res/layout/ |
main_activity.xml | 27 android:background="@color/grey" 42 app:circle_color="@color/blue" 47 app:circle_border_color="@color/white"/>
|
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/utils/ |
ResourceHelper.java | 30 * Get a color value from a theme attribute. 31 * @param context used for getting the color. 34 * @return color value
|
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/res/layout/ |
activity_digital_config.xml | 21 android:background="@color/config_activity_background"> 29 android:textColor="@color/config_activity_header_text_color" 37 android:background="@android:color/transparent"
|
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/utils/ |
ResourceHelper.java | 30 * Get a color value from a theme attribute. 31 * @param context used for getting the color. 34 * @return color value
|
/developers/samples/android/wearable/wear/DelayedConfirmation/Wearable/src/main/res/layout/ |
main_activity.xml | 27 android:background="@color/grey" 42 app:circle_color="@color/blue" 47 app:circle_border_color="@color/white"/>
|
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/res/layout/ |
activity_digital_config.xml | 21 android:background="@color/config_activity_background"> 29 android:textColor="@color/config_activity_header_text_color" 37 android:background="@android:color/transparent"
|
/developers/samples/android/wearable/wear/WearDrawers/Wearable/src/main/res/layout/ |
activity_main.xml | 24 android:background="@color/black" 37 android:background="@color/grey" /> 44 android:background="@color/grey"/>
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
DrawPoints.java | 67 canvas.drawColor(Color.WHITE); 69 paint.setColor(Color.RED); 73 paint.setColor(Color.BLUE);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/media/utils/ |
ResourceHelper.java | 30 * Get a color value from a theme attribute. 31 * @param context used for getting the color. 34 * @return color value
|
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/ |
VideoMediaPlayerGlue.java | 19 import android.graphics.Color; 54 presenter.setProgressColor(Color.parseColor("#EEFF41")); 55 presenter.setBackgroundColor(Color.parseColor("#007236"));
|