/external/setupcompat/main/java/com/google/android/setupcompat/internal/ |
D | FooterButtonPartnerConfig.java | 19 import com.google.android.setupcompat.partnerconfig.PartnerConfig; 24 private final PartnerConfig buttonBackgroundConfig; 25 private final PartnerConfig buttonDisableAlphaConfig; 26 private final PartnerConfig buttonDisableBackgroundConfig; 27 private final PartnerConfig buttonIconConfig; 28 private final PartnerConfig buttonTextColorConfig; 29 private final PartnerConfig buttonTextSizeConfig; 30 private final PartnerConfig buttonMinHeightConfig; 31 private final PartnerConfig buttonTextTypeFaceConfig; 32 private final PartnerConfig buttonTextStyleConfig; [all …]
|
/external/setupdesign/main/src/com/google/android/setupdesign/util/ |
D | ContentStyler.java | 30 import com.google.android.setupcompat.partnerconfig.PartnerConfig; 51 PartnerConfig.CONFIG_CONTENT_TEXT_COLOR, in applyBodyPartnerCustomizationStyle() 52 PartnerConfig.CONFIG_CONTENT_LINK_TEXT_COLOR, in applyBodyPartnerCustomizationStyle() 53 PartnerConfig.CONFIG_CONTENT_TEXT_SIZE, in applyBodyPartnerCustomizationStyle() 54 PartnerConfig.CONFIG_CONTENT_FONT_FAMILY, in applyBodyPartnerCustomizationStyle() 79 .isPartnerConfigAvailable(PartnerConfig.CONFIG_CONTENT_INFO_TEXT_SIZE); in applyInfoPartnerCustomizationStyle() 82 .isPartnerConfigAvailable(PartnerConfig.CONFIG_CONTENT_INFO_FONT_FAMILY); in applyInfoPartnerCustomizationStyle() 89 textSizeConfigAvailable ? PartnerConfig.CONFIG_CONTENT_INFO_TEXT_SIZE : null, in applyInfoPartnerCustomizationStyle() 90 fontFamilyConfigAvailable ? PartnerConfig.CONFIG_CONTENT_INFO_FONT_FAMILY : null, in applyInfoPartnerCustomizationStyle() 100 .isPartnerConfigAvailable(PartnerConfig.CONFIG_CONTENT_INFO_LINE_SPACING_EXTRA)) { in applyInfoPartnerCustomizationStyle() [all …]
|
D | TextViewPartnerStyler.java | 27 import com.google.android.setupcompat.partnerconfig.PartnerConfig; 141 private final PartnerConfig textColorConfig; 142 private final PartnerConfig textLinkedColorConfig; 143 private final PartnerConfig textSizeConfig; 144 private final PartnerConfig textFontFamilyConfig; 145 private final PartnerConfig textMarginTopConfig; 146 private final PartnerConfig textMarginBottomConfig; 150 @Nullable PartnerConfig textColorConfig, in TextPartnerConfigs() 151 @Nullable PartnerConfig textLinkedColorConfig, in TextPartnerConfigs() 152 @Nullable PartnerConfig textSizeConfig, in TextPartnerConfigs() [all …]
|
D | HeaderAreaStyler.java | 37 import com.google.android.setupcompat.partnerconfig.PartnerConfig; 66 PartnerConfig.CONFIG_HEADER_TEXT_COLOR, in applyPartnerCustomizationHeaderHeavyStyle() 68 PartnerConfig.CONFIG_HEADER_TEXT_SIZE, in applyPartnerCustomizationHeaderHeavyStyle() 69 PartnerConfig.CONFIG_HEADER_FONT_FAMILY, in applyPartnerCustomizationHeaderHeavyStyle() 70 PartnerConfig.CONFIG_HEADER_TEXT_MARGIN_TOP, in applyPartnerCustomizationHeaderHeavyStyle() 71 PartnerConfig.CONFIG_HEADER_TEXT_MARGIN_BOTTOM, in applyPartnerCustomizationHeaderHeavyStyle() 89 PartnerConfig.CONFIG_DESCRIPTION_TEXT_COLOR, in applyPartnerCustomizationDescriptionHeavyStyle() 90 PartnerConfig.CONFIG_DESCRIPTION_LINK_TEXT_COLOR, in applyPartnerCustomizationDescriptionHeavyStyle() 91 PartnerConfig.CONFIG_DESCRIPTION_TEXT_SIZE, in applyPartnerCustomizationDescriptionHeavyStyle() 92 PartnerConfig.CONFIG_DESCRIPTION_FONT_FAMILY, in applyPartnerCustomizationDescriptionHeavyStyle() [all …]
|
D | ItemStyler.java | 28 import com.google.android.setupcompat.partnerconfig.PartnerConfig; 94 PartnerConfig.CONFIG_ITEMS_TITLE_TEXT_SIZE, in applyPartnerCustomizationItemTitleStyle() 95 PartnerConfig.CONFIG_ITEMS_TITLE_FONT_FAMILY, in applyPartnerCustomizationItemTitleStyle() 117 PartnerConfig.CONFIG_ITEMS_SUMMARY_TEXT_SIZE, in applyPartnerCustomizationItemSummaryStyle() 118 PartnerConfig.CONFIG_ITEMS_SUMMARY_FONT_FAMILY, in applyPartnerCustomizationItemSummaryStyle() 119 PartnerConfig.CONFIG_ITEMS_SUMMARY_MARGIN_TOP, in applyPartnerCustomizationItemSummaryStyle() 128 .isPartnerConfigAvailable(PartnerConfig.CONFIG_ITEMS_PADDING_TOP)) { in applyPartnerCustomizationItemViewLayoutStyle() 131 .getDimension(context, PartnerConfig.CONFIG_ITEMS_PADDING_TOP); in applyPartnerCustomizationItemViewLayoutStyle() 138 .isPartnerConfigAvailable(PartnerConfig.CONFIG_ITEMS_PADDING_BOTTOM)) { in applyPartnerCustomizationItemViewLayoutStyle() 141 .getDimension(context, PartnerConfig.CONFIG_ITEMS_PADDING_BOTTOM); in applyPartnerCustomizationItemViewLayoutStyle() [all …]
|
D | LayoutStyler.java | 25 import com.google.android.setupcompat.partnerconfig.PartnerConfig; 50 .isPartnerConfigAvailable(PartnerConfig.CONFIG_LAYOUT_MARGIN_START); in applyPartnerCustomizationLayoutPaddingStyle() 53 .isPartnerConfigAvailable(PartnerConfig.CONFIG_LAYOUT_MARGIN_END); in applyPartnerCustomizationLayoutPaddingStyle() 63 .getDimension(context, PartnerConfig.CONFIG_LAYOUT_MARGIN_START); in applyPartnerCustomizationLayoutPaddingStyle() 71 .getDimension(context, PartnerConfig.CONFIG_LAYOUT_MARGIN_END); in applyPartnerCustomizationLayoutPaddingStyle() 99 .isPartnerConfigAvailable(PartnerConfig.CONFIG_LAYOUT_MARGIN_START); in applyPartnerCustomizationExtraPaddingStyle() 102 .isPartnerConfigAvailable(PartnerConfig.CONFIG_LAYOUT_MARGIN_END); in applyPartnerCustomizationExtraPaddingStyle() 119 .getDimension(context, PartnerConfig.CONFIG_LAYOUT_MARGIN_START)) in applyPartnerCustomizationExtraPaddingStyle() 129 .getDimension(context, PartnerConfig.CONFIG_LAYOUT_MARGIN_END)) in applyPartnerCustomizationExtraPaddingStyle()
|
D | DescriptionStyler.java | 20 import com.google.android.setupcompat.partnerconfig.PartnerConfig; 40 PartnerConfig.CONFIG_DESCRIPTION_TEXT_COLOR, in applyPartnerCustomizationHeavyStyle() 41 PartnerConfig.CONFIG_DESCRIPTION_LINK_TEXT_COLOR, in applyPartnerCustomizationHeavyStyle() 42 PartnerConfig.CONFIG_DESCRIPTION_TEXT_SIZE, in applyPartnerCustomizationHeavyStyle() 43 PartnerConfig.CONFIG_DESCRIPTION_FONT_FAMILY, in applyPartnerCustomizationHeavyStyle()
|
D | PartnerStyleHelper.java | 27 import com.google.android.setupcompat.partnerconfig.PartnerConfig; 43 PartnerConfigHelper.get(context).getString(context, PartnerConfig.CONFIG_LAYOUT_GRAVITY); in getLayoutGravity()
|
/external/setupcompat/main/java/com/google/android/setupcompat/template/ |
D | FooterBarMixin.java | 53 import com.google.android.setupcompat.partnerconfig.PartnerConfig; 110 ? PartnerConfig.CONFIG_FOOTER_PRIMARY_BUTTON_TEXT_COLOR in createButtonEventListener() 111 : PartnerConfig.CONFIG_FOOTER_SECONDARY_BUTTON_TEXT_COLOR); in createButtonEventListener() 281 .getColor(context, PartnerConfig.CONFIG_FOOTER_BAR_BG_COLOR); 288 .getDimension(context, PartnerConfig.CONFIG_FOOTER_BUTTON_PADDING_TOP); 292 .getDimension(context, PartnerConfig.CONFIG_FOOTER_BUTTON_PADDING_BOTTOM); 301 .isPartnerConfigAvailable(PartnerConfig.CONFIG_FOOTER_BAR_MIN_HEIGHT)) { 305 .getDimension(context, PartnerConfig.CONFIG_FOOTER_BAR_MIN_HEIGHT); 337 /* buttonBackgroundColorConfig= */ PartnerConfig 339 .setButtonBackgroundConfig(PartnerConfig.CONFIG_FOOTER_PRIMARY_BUTTON_BG_COLOR) [all …]
|
D | FooterButtonStyleUtils.java | 41 import com.google.android.setupcompat.partnerconfig.PartnerConfig; 55 .setButtonBackgroundConfig(PartnerConfig.CONFIG_FOOTER_PRIMARY_BUTTON_BG_COLOR) in applyPrimaryButtonPartnerResource() 56 .setButtonDisableAlphaConfig(PartnerConfig.CONFIG_FOOTER_BUTTON_DISABLED_ALPHA) in applyPrimaryButtonPartnerResource() 57 .setButtonDisableBackgroundConfig(PartnerConfig.CONFIG_FOOTER_BUTTON_DISABLED_BG_COLOR) in applyPrimaryButtonPartnerResource() 58 .setButtonRadiusConfig(PartnerConfig.CONFIG_FOOTER_BUTTON_RADIUS) in applyPrimaryButtonPartnerResource() 59 .setButtonRippleColorAlphaConfig(PartnerConfig.CONFIG_FOOTER_BUTTON_RIPPLE_COLOR_ALPHA) in applyPrimaryButtonPartnerResource() 60 .setTextColorConfig(PartnerConfig.CONFIG_FOOTER_PRIMARY_BUTTON_TEXT_COLOR) in applyPrimaryButtonPartnerResource() 61 .setTextSizeConfig(PartnerConfig.CONFIG_FOOTER_BUTTON_TEXT_SIZE) in applyPrimaryButtonPartnerResource() 62 .setButtonMinHeight(PartnerConfig.CONFIG_FOOTER_BUTTON_MIN_HEIGHT) in applyPrimaryButtonPartnerResource() 63 .setTextTypeFaceConfig(PartnerConfig.CONFIG_FOOTER_BUTTON_FONT_FAMILY) in applyPrimaryButtonPartnerResource() [all …]
|
D | SystemNavBarMixin.java | 37 import com.google.android.setupcompat.partnerconfig.PartnerConfig; 123 .getColor(context, PartnerConfig.CONFIG_NAVIGATION_BAR_BG_COLOR); in setSystemNavBarBackground() 152 .getBoolean(context, PartnerConfig.CONFIG_LIGHT_NAVIGATION_BAR, false); in setLightSystemNavBar() 195 .isPartnerConfigAvailable(PartnerConfig.CONFIG_NAVIGATION_BAR_DIVIDER_COLOR)) { in setSystemNavBarDividerColor() 198 .getColor(context, PartnerConfig.CONFIG_NAVIGATION_BAR_DIVIDER_COLOR); in setSystemNavBarDividerColor() 243 .getColor(context, PartnerConfig.CONFIG_NAVIGATION_BAR_BG_COLOR); in showSystemBars()
|
D | StatusBarMixin.java | 37 import com.google.android.setupcompat.partnerconfig.PartnerConfig; 121 .getDrawable(context, PartnerConfig.CONFIG_STATUS_BAR_BACKGROUND); in setStatusBarBackground() 154 .getBoolean(context, PartnerConfig.CONFIG_LIGHT_STATUS_BAR, false); in setLightStatusBar()
|
/external/setupdesign/lottie_loading_layout/src/com/google/android/setupdesign/ |
D | GlifLoadingLayout.java | 58 import com.google.android.setupcompat.partnerconfig.PartnerConfig; 59 import com.google.android.setupcompat.partnerconfig.PartnerConfig.ResourceType; 343 .isPartnerConfigAvailable(PartnerConfig.CONFIG_LOADING_LAYOUT_HEADER_HEIGHT)) { in updateHeaderHeight() 346 .getDimension(getContext(), PartnerConfig.CONFIG_LOADING_LAYOUT_HEADER_HEIGHT); in updateHeaderHeight() 358 .isPartnerConfigAvailable(PartnerConfig.CONFIG_LOADING_LAYOUT_PADDING_TOP)) { in updateContentPadding() 361 .getDimension(getContext(), PartnerConfig.CONFIG_LOADING_LAYOUT_PADDING_TOP); in updateContentPadding() 368 .isPartnerConfigAvailable(PartnerConfig.CONFIG_LOADING_LAYOUT_PADDING_START)) { in updateContentPadding() 371 .getDimension(getContext(), PartnerConfig.CONFIG_LOADING_LAYOUT_PADDING_START); in updateContentPadding() 378 .isPartnerConfigAvailable(PartnerConfig.CONFIG_LOADING_LAYOUT_PADDING_END)) { in updateContentPadding() 381 .getDimension(getContext(), PartnerConfig.CONFIG_LOADING_LAYOUT_PADDING_END); in updateContentPadding() [all …]
|
/external/setupdesign/main/src/com/google/android/setupdesign/template/ |
D | IllustrationProgressMixin.java | 31 import com.google.android.setupcompat.partnerconfig.PartnerConfig; 32 import com.google.android.setupcompat.partnerconfig.PartnerConfig.ResourceType; 174 CONFIG_DEFAULT(PartnerConfig.CONFIG_PROGRESS_ILLUSTRATION_DEFAULT), 175 CONFIG_ACCOUNT(PartnerConfig.CONFIG_PROGRESS_ILLUSTRATION_ACCOUNT), 176 CONFIG_CONNECTION(PartnerConfig.CONFIG_PROGRESS_ILLUSTRATION_CONNECTION), 177 CONFIG_UPDATE(PartnerConfig.CONFIG_PROGRESS_ILLUSTRATION_UPDATE); 179 private final PartnerConfig config; 181 ProgressConfig(PartnerConfig config) { in ProgressConfig() 189 PartnerConfig getPartnerConfig() { in getPartnerConfig()
|
D | HeaderMixin.java | 37 import com.google.android.setupcompat.partnerconfig.PartnerConfig; 102 .isPartnerConfigAvailable(PartnerConfig.CONFIG_HEADER_AUTO_SIZE_ENABLED)) { in updateAutoTextSizeWithPartnerConfig() 106 context, PartnerConfig.CONFIG_HEADER_AUTO_SIZE_ENABLED, autoTextSizeEnabled); in updateAutoTextSizeWithPartnerConfig() 113 .isPartnerConfigAvailable(PartnerConfig.CONFIG_HEADER_AUTO_SIZE_MAX_TEXT_SIZE)) { in updateAutoTextSizeWithPartnerConfig() 116 .getDimension(context, PartnerConfig.CONFIG_HEADER_AUTO_SIZE_MAX_TEXT_SIZE); in updateAutoTextSizeWithPartnerConfig() 119 .isPartnerConfigAvailable(PartnerConfig.CONFIG_HEADER_AUTO_SIZE_MIN_TEXT_SIZE)) { in updateAutoTextSizeWithPartnerConfig() 122 .getDimension(context, PartnerConfig.CONFIG_HEADER_AUTO_SIZE_MIN_TEXT_SIZE); in updateAutoTextSizeWithPartnerConfig() 125 .isPartnerConfigAvailable(PartnerConfig.CONFIG_HEADER_AUTO_SIZE_LINE_SPACING_EXTRA)) { in updateAutoTextSizeWithPartnerConfig() 128 .getDimension(context, PartnerConfig.CONFIG_HEADER_AUTO_SIZE_LINE_SPACING_EXTRA); in updateAutoTextSizeWithPartnerConfig() 131 .isPartnerConfigAvailable(PartnerConfig.CONFIG_HEADER_AUTO_SIZE_MAX_LINE_OF_MAX_SIZE)) { in updateAutoTextSizeWithPartnerConfig() [all …]
|
D | ListMixin.java | 33 import com.google.android.setupcompat.partnerconfig.PartnerConfig; 84 .isPartnerConfigAvailable(PartnerConfig.CONFIG_LAYOUT_MARGIN_START)) { in ListMixin() 88 .getDimension(context, PartnerConfig.CONFIG_LAYOUT_MARGIN_START); in ListMixin() 91 .isPartnerConfigAvailable(PartnerConfig.CONFIG_LAYOUT_MARGIN_END)) { in ListMixin() 95 .getDimension(context, PartnerConfig.CONFIG_LAYOUT_MARGIN_END); in ListMixin() 107 .isPartnerConfigAvailable(PartnerConfig.CONFIG_ITEMS_DIVIDER_SHOWN)) { in isDividerShown() 110 .getBoolean(context, PartnerConfig.CONFIG_ITEMS_DIVIDER_SHOWN, true); in isDividerShown()
|
D | RecyclerMixin.java | 33 import com.google.android.setupcompat.partnerconfig.PartnerConfig; 103 .isPartnerConfigAvailable(PartnerConfig.CONFIG_ITEMS_DIVIDER_SHOWN)) { in isShowItemsDivider() 105 .getBoolean(recyclerView.getContext(), PartnerConfig.CONFIG_ITEMS_DIVIDER_SHOWN, true); in isShowItemsDivider() 159 .isPartnerConfigAvailable(PartnerConfig.CONFIG_LAYOUT_MARGIN_START)) { in parseAttributes() 163 .getDimension(context, PartnerConfig.CONFIG_LAYOUT_MARGIN_START); in parseAttributes() 166 .isPartnerConfigAvailable(PartnerConfig.CONFIG_LAYOUT_MARGIN_END)) { in parseAttributes() 170 .getDimension(context, PartnerConfig.CONFIG_LAYOUT_MARGIN_END); in parseAttributes()
|
/external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/ |
D | PartnerConfigHelper.java | 37 import com.google.android.setupcompat.partnerconfig.PartnerConfig.ResourceType; 76 final EnumMap<PartnerConfig, Object> partnerResourceCache = new EnumMap<>(PartnerConfig.class); 133 public boolean isPartnerConfigAvailable(PartnerConfig resourceConfig) { in isPartnerConfigAvailable() 146 public int getColor(@NonNull Context context, PartnerConfig resourceConfig) { in getColor() 190 public Drawable getDrawable(@NonNull Context context, PartnerConfig resourceConfig) { in getDrawable() 234 public String getString(@NonNull Context context, PartnerConfig resourceConfig) { in getString() 267 public List<String> getStringArray(@NonNull Context context, PartnerConfig resourceConfig) { in getStringArray() 300 @NonNull Context context, PartnerConfig resourceConfig, boolean defaultValue) { in getBoolean() 330 public float getDimension(@NonNull Context context, PartnerConfig resourceConfig) { in getDimension() 344 @NonNull Context context, PartnerConfig resourceConfig, float defaultValue) { in getDimension() [all …]
|
D | PartnerConfig.java | 21 public enum PartnerConfig { enum 443 PartnerConfig(@PartnerConfigKey String resourceName, ResourceType type) { in PartnerConfig() method in PartnerConfig
|
/external/setupdesign/main/src/com/google/android/setupdesign/view/ |
D | IntrinsicSizeFrameLayout.java | 26 import com.google.android.setupcompat.partnerconfig.PartnerConfig; 76 .isPartnerConfigAvailable(PartnerConfig.CONFIG_CARD_VIEW_INTRINSIC_HEIGHT)) { in init() 80 .getDimension(context, PartnerConfig.CONFIG_CARD_VIEW_INTRINSIC_HEIGHT); in init() 83 .isPartnerConfigAvailable(PartnerConfig.CONFIG_CARD_VIEW_INTRINSIC_WIDTH)) { in init() 87 .getDimension(context, PartnerConfig.CONFIG_CARD_VIEW_INTRINSIC_WIDTH); in init()
|
/external/setupdesign/main/src/com/google/android/setupdesign/ |
D | GlifLayout.java | 41 import com.google.android.setupcompat.partnerconfig.PartnerConfig; 203 .isPartnerConfigAvailable(PartnerConfig.CONFIG_LAYOUT_MARGIN_END)) { in updateLandscapeMiddleHorizontalSpacing() 207 .getDimension(getContext(), PartnerConfig.CONFIG_LAYOUT_MARGIN_END); in updateLandscapeMiddleHorizontalSpacing() 229 .isPartnerConfigAvailable(PartnerConfig.CONFIG_LAYOUT_MARGIN_START)) { in updateLandscapeMiddleHorizontalSpacing() 233 .getDimension(getContext(), PartnerConfig.CONFIG_LAYOUT_MARGIN_START); in updateLandscapeMiddleHorizontalSpacing() 470 .getColor(getContext(), PartnerConfig.CONFIG_LAYOUT_BACKGROUND_COLOR); in updateContentBackgroundColorWithPartnerConfig() 479 .isPartnerConfigAvailable(PartnerConfig.CONFIG_CONTENT_PADDING_TOP); in applyPartnerCustomizationContentPaddingTopStyle() 486 .getDimension(context, PartnerConfig.CONFIG_CONTENT_PADDING_TOP); in applyPartnerCustomizationContentPaddingTopStyle()
|
/external/setupdesign/main/src/com/google/android/setupdesign/items/ |
D | RecyclerItemAdapter.java | 30 import com.google.android.setupcompat.partnerconfig.PartnerConfig; 135 .getColor(view.getContext(), PartnerConfig.CONFIG_LAYOUT_BACKGROUND_COLOR); in onCreateViewHolder()
|
/external/setupdesign/main/src/com/google/android/setupdesign/transition/support/ |
D | TransitionHelper.java | 32 import com.google.android.setupcompat.partnerconfig.PartnerConfig;
|
/external/setupdesign/main/src/com/google/android/setupdesign/transition/ |
D | TransitionHelper.java | 37 import com.google.android.setupcompat.partnerconfig.PartnerConfig; 583 .getInteger(context, PartnerConfig.CONFIG_TRANSITION_TYPE, CONFIG_TRANSITION_NONE) in getConfigTransitionType()
|