Home
last modified time | relevance | path

Searched refs:colorId (Results 1 – 12 of 12) 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/UnifiedEmail/src/com/android/mail/utils/
DViewUtils.java98 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/
DSuperCollapsedBlock.java88 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/
DCustomizationParamsTest.java189 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/
DDataUsageSummaryPreferenceTest.java383 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/
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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageSummaryPreference.java359 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/
DDataUsageSummaryPreference.java359 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/
DCameraAppUI.java1047 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/
DCalendarProvider2Test.java1222 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()