/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
ValueParser.java | 250 TextColor color = TextColor.fromInt(colorValue); local 254 strikeThrough, color);
|
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/ |
DrawableWrapperDonut.java | 30 * Also allows backward compatible tinting via a color or {@link ColorStateList}. 209 final int color = mTintList.getColorForState(state, mTintList.getDefaultColor()); local 211 if (!mColorFilterSet || color != mCurrentColor || mode != mCurrentMode) { 212 setColorFilter(color, mode); 213 mCurrentColor = color;
|
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ |
DefaultGenerator.java | 124 // If we do not have a vibrant color... 134 // If we do not have a dark vibrant color... 210 private static float[] copyHslValues(Swatch color) { 212 System.arraycopy(color.getHsl(), 0, newHsl, 0, 3);
|
/hardware/qcom/display/msm8084/liblight/ |
lights.c | 102 return state->color & 0x00ffffff; 108 int color = state->color & 0x00ffffff; local 109 return ((77*((color>>16)&0x00ff)) 110 + (150*((color>>8)&0x00ff)) + (29*(color&0x00ff))) >> 8; 153 colorRGB = state->color; 231 err = write_int(BUTTON_FILE, state->color & 0xFF);
|
/hardware/qcom/display/msm8226/liblight/ |
lights.c | 102 return state->color & 0x00ffffff; 108 int color = state->color & 0x00ffffff; local 109 return ((77*((color>>16)&0x00ff)) 110 + (150*((color>>8)&0x00ff)) + (29*(color&0x00ff))) >> 8; 153 colorRGB = state->color; 248 err = write_int(BUTTON_FILE, state->color & 0xFF);
|
/hardware/qcom/display/msm8960/liblight/ |
lights.c | 119 return state->color & 0x00ffffff; 125 int color = state->color & 0x00ffffff; local 126 return ((77*((color>>16)&0x00ff)) 127 + (150*((color>>8)&0x00ff)) + (29*(color&0x00ff))) >> 8; 163 colorRGB = state->color;
|
/hardware/qcom/display/msm8974/liblight/ |
lights.c | 119 return state->color & 0x00ffffff; 125 int color = state->color & 0x00ffffff; local 126 return ((77*((color>>16)&0x00ff)) 127 + (150*((color>>8)&0x00ff)) + (29*(color&0x00ff))) >> 8; 163 colorRGB = state->color;
|
/hardware/qcom/display/msm8994/liblight/ |
lights.c | 103 return state->color & 0x00ffffff; 109 int color = state->color & 0x00ffffff; local 110 return ((77*((color>>16)&0x00ff)) 111 + (150*((color>>8)&0x00ff)) + (29*(color&0x00ff))) >> 8; 154 colorRGB = state->color; 249 err = write_int(BUTTON_FILE, state->color & 0xFF);
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaAdapter.java | 88 mDeclinedColor = mResources.getColor(R.color.agenda_item_declined_color); 89 mStandardColor = mResources.getColor(R.color.agenda_item_standard_color); 90 mWhereDeclinedColor = mResources.getColor(R.color.agenda_item_where_declined_text_color); 91 mWhereColor = mResources.getColor(R.color.agenda_item_where_text_color); 131 // Fade text if event was declined and set the color chip mode (response 151 // Set the size of the color chip 180 /* Calendar Color */ 181 int color = Utils.getDisplayColorFromColor(cursor.getInt(AgendaWindowAdapter.INDEX_COLOR)); local 182 holder.colorChip.setColor(color);
|
/packages/apps/Camera/jni/feature_stab/src/dbregtest/ |
dbregtest.cpp | 143 // if the images are color, the input is saved in color_ref: 165 // color format: 168 // is the input image color?: 169 bool color = format == PgmImage::PGM_BINARY_PIXMAP; local 182 if ( color ) 184 // save the color image: 235 if ( color )
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
PhoneCallDetailsHelper.java | 115 int color = PhoneAccountUtils.getAccountColor(mContext, details.accountHandle); local 116 if (color == PhoneAccount.NO_HIGHLIGHT_COLOR) { 117 int defaultColor = R.color.dialtacts_secondary_text_color; 120 views.callAccountLabel.setTextColor(color);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
ColorCompareView.java | 24 import android.graphics.Color; 120 int color = Color.HSVToColor((int) (mHSVO[3] * 255), mHSVO); local 121 mBarPaint1.setColor(color); 122 int origColor = Color.HSVToColor((int) (mOrigHSVO[3] * 255), mOrigHSVO); 149 int color2 = Color.HSVToColor((int) (mOrigHSVO[3] * 255), mOrigHSVO);
|
ColorPickerDialog.java | 22 import android.graphics.Color; 95 int color = Color.HSVToColor(hsvo); 150 int color = Color.HSVToColor(hsv); local 151 button.setBackgroundColor(color); 157 button.setTextColor(Color.HSVToColor(fg));
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
EditorColorBorderTabletUI.java | 21 import android.graphics.Color; 82 ParameterColor color; local 83 color = (ParameterColor) mRep.getParam(FilterColorBorderRepresentation.PARAM_COLOR); 84 mBasColors = color.getColorPalette(); 85 color.setValue(mBasColors[mSelectedColorButton]); 165 mTransparent = res.getColor(R.color.color_chooser_unslected_border); 166 mSelected = res.getColor(R.color.color_chooser_slected_border); 172 Color.colorToHSV(mBasColors[i], hsvo); 206 Color.colorToHSV(mBasColors[0], hsvo); 224 int color = Color.HSVToColor((int) (hsvo[3] * 255), hsvo) [all...] |
EditorDrawTabletUI.java | 24 import android.graphics.Color; 81 ParameterColor color; local 82 color = (ParameterColor) mRep.getParam(FilterDrawRepresentation.PARAM_COLOR); 83 color.setValue(mBasColors[mSelectedColorButton]); 138 button.setBackgroundResource(android.R.color.transparent); 170 mTransparent = res.getColor(R.color.color_chooser_unslected_border); 171 mSelected = res.getColor(R.color.color_chooser_slected_border); 178 Color.colorToHSV(mBasColors[i], hsvo); 216 Color.colorToHSV(mBasColors[0], hsvo); 235 int color = Color.HSVToColor((int) (hsvo[3] * 255), hsvo) [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/ |
dbregtest.cpp | 143 // if the images are color, the input is saved in color_ref: 165 // color format: 168 // is the input image color?: 169 bool color = format == PgmImage::PGM_BINARY_PIXMAP; local 182 if ( color ) 184 // save the color image: 235 if ( color )
|
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
FingerprintLocationAnimationView.java | 65 int color = getResources().getColor(typedValue.resourceId, null); local 68 mDotPaint.setColor(color); 69 mPulsePaint.setColor(color);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
BaseDialogFragment.java | 119 final int color; local 130 color = src.getBackground(); 140 color = 0; 147 int bgColor = mFragment.getResources().getColor(R.color.dialog_activity_background);
|
/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
WidgetConversationListItemViewBuilder.java | 95 int color[] = new int[] local 97 Bitmap bitmap = Bitmap.createBitmap(color, 1, 1, Bitmap.Config.RGB_565); 118 SUBJECT_TEXT_COLOR_READ = res.getColor(R.color.subject_text_color_read); 119 SUBJECT_TEXT_COLOR_UNREAD = res.getColor(R.color.subject_text_color_unread); 120 SNIPPET_TEXT_COLOR = res.getColor(R.color.snippet_text_color); 121 DATE_TEXT_COLOR_READ = res.getColor(R.color.date_text_color_read); 122 DATE_TEXT_COLOR_UNREAD = res.getColor(R.color.date_text_color_unread); 129 * Add size, color and style to a given text 131 private static SpannableStringBuilder addStyle(CharSequence text, int size, int color) { 135 if (color != 0) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/dvb/ |
osd.h | 34 OSD_Open, // (x0,y0,x1,y1,BitPerPixel[2/4/8](color&0x0F),mix[0..15](color&0xF0)) 44 // Sets all pixel to color 0 46 OSD_Fill, // (color) 47 // Sets all pixel to color <col> 49 OSD_SetColor, // (color,R{x0},G{y0},B{x1},opacity{y1}) 57 OSD_SetPalette, // (firstcolor{color},lastcolor{x0},data) 60 // data has 4 byte for each color: 62 OSD_SetTrans, // (transparency{color}) 65 OSD_SetPixel, // (x0,y0,color) 106 int color; member in struct:osd_cmd_s [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/dvb/ |
osd.h | 34 OSD_Open, // (x0,y0,x1,y1,BitPerPixel[2/4/8](color&0x0F),mix[0..15](color&0xF0)) 44 // Sets all pixel to color 0 46 OSD_Fill, // (color) 47 // Sets all pixel to color <col> 49 OSD_SetColor, // (color,R{x0},G{y0},B{x1},opacity{y1}) 57 OSD_SetPalette, // (firstcolor{color},lastcolor{x0},data) 60 // data has 4 byte for each color: 62 OSD_SetTrans, // (transparency{color}) 65 OSD_SetPixel, // (x0,y0,color) 106 int color; member in struct:osd_cmd_s [all...] |
/prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/linux/dvb/ |
osd.h | 60 int color; member in struct:osd_cmd_s
|
/prebuilts/ndk/9/platforms/android-21/arch-arm64/usr/include/linux/dvb/ |
osd.h | 60 int color; member in struct:osd_cmd_s
|
/prebuilts/ndk/9/platforms/android-21/arch-mips/usr/include/linux/dvb/ |
osd.h | 60 int color; member in struct:osd_cmd_s
|
/prebuilts/ndk/9/platforms/android-21/arch-mips64/usr/include/linux/dvb/ |
osd.h | 60 int color; member in struct:osd_cmd_s
|