Home
last modified time | relevance | path

Searched refs:colorId (Results 1 – 9 of 9) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDocumentsSwipeRefreshLayout.java48 @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/
DBottomNavItem.java57 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/
DCustomizationParamsTest.java141 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/
DDataUsageSummaryPreferenceTest.java389 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/
DModeTransitionView.java487 public void setupModeCover(int colorId, int modeIconResourceId) { in setupModeCover() argument
494 mBackgroundColor = getResources().getColor(colorId); in setupModeCover()
DBottomBar.java424 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/
DDataUsageSummaryPreference.java363 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/
DCameraAppUI.java1048 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/
DCalendarProvider2Test.java1241 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()