/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | DocumentsSwipeRefreshLayout.java | 44 @ColorRes int colorId = a.getResourceId(COLOR_ACCENT_INDEX, -1); 46 setColorSchemeResources(colorId);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | ViewUtils.java | 98 public static void setStatusBarColor(Activity activity, @ColorRes int colorId) { argument 102 window.setStatusBarColor(activity.getResources().getColor(colorId));
|
/packages/apps/Dialer/java/com/android/dialer/main/impl/bottomnav/ |
H A D | BottomNavItem.java | 56 int colorId = selected ? R.color.bottom_nav_icon_selected : R.color.bottom_nav_icon_deselected; 57 int color = getContext().getColor(colorId);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | SuperCollapsedBlock.java | 88 final int colorId = mSuperCollapsedItem.hasDraft() ? 90 mSuperCollapsedText.setTextColor(res.getColor(colorId));
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/ |
H A D | CustomizationParamsTest.java | 188 private int getColor(int colorId) { argument 189 return mContext.getColor(colorId);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
H A D | DataUsageSummaryPreferenceTest.java | 377 final int colorId = Utils.getColorAttr(mContext, android.R.attr.colorAccent); 378 assertThat(mDataRemaining.getCurrentTextColor()).isEqualTo(colorId); 393 final int colorId = Utils.getColorAttr(mContext, android.R.attr.colorError); 394 assertThat(mDataRemaining.getCurrentTextColor()).isEqualTo(colorId);
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | BottomBar.java | 424 int colorId = CameraUtil.getCameraThemeColorId(index, getContext()); 425 int pressedColor = getContext().getResources().getColor(colorId);
|
H A D | ModeTransitionView.java | 484 * @param colorId resource id of the mode theme color 487 public void setupModeCover(int colorId, int modeIconResourceId) { argument 494 mBackgroundColor = getResources().getColor(colorId);
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
H A D | DataUsageSummaryPreference.java | 329 TextView carrierInfo, @AttrRes int colorId, Typeface typeface) { 330 carrierInfo.setTextColor(Utils.getColorAttr(getContext(), colorId)); 328 setCarrierInfoTextStyle( TextView carrierInfo, @AttrRes int colorId, Typeface typeface) argument
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | TextCandidatesViewManager.java | 1534 int colorId = 0; 1538 colorId = R.color.tab_textcolor_select; 1541 colorId = R.color.tab_textcolor_no_select; 1545 colorId = R.color.tab_textcolor_disable; 1548 tab.setTextColor(mWnn.getResources().getColor(colorId));
|
/packages/apps/Camera2/src/com/android/camera/app/ |
H A D | CameraAppUI.java | 1047 int colorId = R.color.camera_gray_background;; 1049 mModeTransitionView.setupModeCover(colorId, iconId); 1862 public void setBottomBarColor(int colorId) { argument 1863 mBottomBar.setBackgroundColor(colorId);
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
H A D | CalendarProvider2Test.java | 1118 private void updateAndCheckColor(long colorId, long colorType, String colorKey, long color) { argument 1137 checkColor(colorId, colorType, colorKey, color); 1367 long colorId = insertAndCheckColor(colorType, colorKey, colorValue); 1378 updateAndCheckColor(colorId, colorType, colorKey, colorValue); 1383 colorId = insertAndCheckColor(colorType, colorKey, colorValue); 1411 updateAndCheckColor(colorId, colorType, colorKey, colorValue); 1450 private void checkColor(long colorId, long colorType, String colorKey, long color) { argument 1473 assertEquals(colorId, cursor.getLong(5));
|