/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/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/ |
D | CustomizationParamsTest.java | 141 private int getColor(int colorId) { in getColor() argument 142 return mContext.getColor(colorId); in getColor()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/datausage/ |
D | DataUsageSummaryPreferenceTest.java | 389 final int colorId = Utils.getColorAttrDefaultColor(mContext, android.R.attr.colorAccent); in testSetUsageAndRemainingInfo_withUsageInfo_dataUsageAndRemainingShown() local 391 .isEqualTo(colorId); in testSetUsageAndRemainingInfo_withUsageInfo_dataUsageAndRemainingShown() 408 final int colorId = Utils.getColorAttrDefaultColor(mContext, android.R.attr.colorError); in testSetUsageInfo_withDataOverusage() local 410 .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/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageSummaryPreference.java | 363 TextView carrierInfo, @AttrRes int colorId, Typeface typeface) { in setCarrierInfoTextStyle() argument 364 carrierInfo.setTextColor(Utils.getColorAttr(getContext(), colorId)); in setCarrierInfoTextStyle() local
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | CameraAppUI.java | 1048 int colorId = R.color.camera_gray_background;; in showModeCoverUntilPreviewReady() local 1050 mModeTransitionView.setupModeCover(colorId, iconId); in showModeCoverUntilPreviewReady() 1863 public void setBottomBarColor(int colorId) { 1864 mBottomBar.setBackgroundColor(colorId);
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 1241 private void updateAndCheckColor(long colorId, long colorType, String colorKey, long color) { in updateAndCheckColor() argument 1260 checkColor(colorId, colorType, colorKey, color); in updateAndCheckColor() 1490 long colorId = insertAndCheckColor(colorType, colorKey, colorValue); in testInsertUpdateDeleteColor() local 1501 updateAndCheckColor(colorId, colorType, colorKey, colorValue); in testInsertUpdateDeleteColor() 1506 colorId = insertAndCheckColor(colorType, colorKey, colorValue); in testInsertUpdateDeleteColor() 1534 updateAndCheckColor(colorId, colorType, colorKey, colorValue); in testInsertUpdateDeleteColor() 1573 private void checkColor(long colorId, long colorType, String colorKey, long color) { in checkColor() argument 1596 assertEquals(colorId, cursor.getLong(5)); in checkColor()
|