Searched refs:currentStyle (Results 1 – 4 of 4) sorted by relevance
70 int currentStyle = getPreferenceDataStore().getInt(Settings.System.POINTER_FILL_STYLE, in onBindViewHolder() local73 currentStyle); in onBindViewHolder()75 currentStyle); in onBindViewHolder()77 currentStyle); in onBindViewHolder()79 currentStyle); in onBindViewHolder()81 currentStyle); in onBindViewHolder()85 int currentStyle) { in initStyleButton() argument95 button.setForeground(getForegroundDrawable(style, currentStyle)); in initStyleButton()138 private Drawable getForegroundDrawable(int style, int currentStyle) { in getForegroundDrawable() argument145 checkMark.setAlpha(style == currentStyle ? 255 : 0); in getForegroundDrawable()
81 String currentStyle = colorManager.getCurrentStyle(); in isActive() local82 if (TextUtils.isEmpty(currentStyle)) { in isActive()83 currentStyle = Style.TONAL_SPOT.toString(); in isActive()85 boolean isCurrentStyle = TextUtils.equals(getStyle().toString(), currentStyle); in isActive()
146 val styleOrNull = colorManager.currentStyle in <lambda>()
90 assertThat(manager.currentStyle).isEqualTo(style.toString()) in testParseSettings()