Searched refs:colorId (Results 1 - 12 of 12) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
H A DDocumentsSwipeRefreshLayout.java44 @ColorRes int colorId = a.getResourceId(COLOR_ACCENT_INDEX, -1);
46 setColorSchemeResources(colorId);
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DViewUtils.java98 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 DBottomNavItem.java56 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 DSuperCollapsedBlock.java88 final int colorId = mSuperCollapsedItem.hasDraft() ?
90 mSuperCollapsedText.setTextColor(res.getColor(colorId));
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
H A DCustomizationParamsTest.java188 private int getColor(int colorId) { argument
189 return mContext.getColor(colorId);
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
H A DDataUsageSummaryPreferenceTest.java377 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 DBottomBar.java424 int colorId = CameraUtil.getCameraThemeColorId(index, getContext());
425 int pressedColor = getContext().getResources().getColor(colorId);
H A DModeTransitionView.java484 * @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 DDataUsageSummaryPreference.java329 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 DTextCandidatesViewManager.java1534 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 DCameraAppUI.java1047 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 DCalendarProvider2Test.java1118 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));

Completed in 383 milliseconds