/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DocumentsSwipeRefreshLayout.java | 48 @ColorRes int colorId = a.getResourceId(0, -1); in DocumentsSwipeRefreshLayout() local 49 if (colorId == -1) { in DocumentsSwipeRefreshLayout() 51 colorId = R.color.primary; in DocumentsSwipeRefreshLayout() 54 setColorSchemeResources(colorId); in DocumentsSwipeRefreshLayout()
|
/packages/apps/Dialer/java/com/android/dialer/main/impl/bottomnav/ |
D | BottomNavItem.java | 57 int colorId = in setSelected() local 61 image.setImageTintList(ColorStateList.valueOf(colorId)); in setSelected() 62 text.setTextColor(colorId); in setSelected()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | ViewUtils.java | 98 public static void setStatusBarColor(Activity activity, @ColorRes int colorId) { in setStatusBarColor() argument 102 window.setStatusBarColor(activity.getResources().getColor(colorId)); in setStatusBarColor()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | SuperCollapsedBlock.java | 88 final int colorId = mSuperCollapsedItem.hasDraft() ? in setCount() local 90 mSuperCollapsedText.setTextColor(res.getColor(colorId)); in setCount()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/ |
D | CustomizationParamsTest.java | 189 private int getColor(int colorId) { in getColor() argument 190 return mContext.getColor(colorId); in getColor()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | DataUsageSummaryPreferenceTest.java | 383 final int colorId = Utils.getColorAttrDefaultColor(mActivity, android.R.attr.colorAccent); in testSetUsageAndRemainingInfo_withUsageInfo_dataUsageAndRemainingShown() local 384 assertThat(mDataRemaining.getCurrentTextColor()).isEqualTo(colorId); in testSetUsageAndRemainingInfo_withUsageInfo_dataUsageAndRemainingShown() 399 final int colorId = Utils.getColorAttrDefaultColor(mActivity, android.R.attr.colorError); in testSetUsageInfo_withDataOverusage() local 400 assertThat(mDataRemaining.getCurrentTextColor()).isEqualTo(colorId); in testSetUsageInfo_withDataOverusage()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ModeTransitionView.java | 487 public void setupModeCover(int colorId, int modeIconResourceId) { in setupModeCover() argument 494 mBackgroundColor = getResources().getColor(colorId); in setupModeCover()
|
D | BottomBar.java | 424 int colorId = CameraUtil.getCameraThemeColorId(index, getContext()); in setupShutterBackgroundForModeIndex() local 425 int pressedColor = getContext().getResources().getColor(colorId); in setupShutterBackgroundForModeIndex()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | DataUsageSummaryPreference.java | 359 TextView carrierInfo, @AttrRes int colorId, Typeface typeface) { in setCarrierInfoTextStyle() argument 360 carrierInfo.setTextColor(Utils.getColorAttr(getContext(), colorId)); in setCarrierInfoTextStyle() local
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageSummaryPreference.java | 359 TextView carrierInfo, @AttrRes int colorId, Typeface typeface) { in setCarrierInfoTextStyle() argument 360 carrierInfo.setTextColor(Utils.getColorAttr(getContext(), colorId)); in setCarrierInfoTextStyle() local
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | CameraAppUI.java | 1047 int colorId = R.color.camera_gray_background;; in showModeCoverUntilPreviewReady() local 1049 mModeTransitionView.setupModeCover(colorId, iconId); in showModeCoverUntilPreviewReady() 1862 public void setBottomBarColor(int colorId) { 1863 mBottomBar.setBackgroundColor(colorId);
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 1222 private void updateAndCheckColor(long colorId, long colorType, String colorKey, long color) { in updateAndCheckColor() argument 1241 checkColor(colorId, colorType, colorKey, color); in updateAndCheckColor() 1471 long colorId = insertAndCheckColor(colorType, colorKey, colorValue); in testInsertUpdateDeleteColor() local 1482 updateAndCheckColor(colorId, colorType, colorKey, colorValue); in testInsertUpdateDeleteColor() 1487 colorId = insertAndCheckColor(colorType, colorKey, colorValue); in testInsertUpdateDeleteColor() 1515 updateAndCheckColor(colorId, colorType, colorKey, colorValue); in testInsertUpdateDeleteColor() 1554 private void checkColor(long colorId, long colorType, String colorKey, long color) { in checkColor() argument 1577 assertEquals(colorId, cursor.getLong(5)); in checkColor()
|