Searched refs:mTrapezoidCurvePaint (Results 1 – 2 of 2) sorted by relevance
107 Paint mTrapezoidCurvePaint = null; field in BatteryChartView320 if (!mIsSlotsClickabled && mTrapezoidCurvePaint == null) { in updateClickableState()321 mTrapezoidCurvePaint = new Paint(); in updateClickableState()322 mTrapezoidCurvePaint.setAntiAlias(true); in updateClickableState()323 mTrapezoidCurvePaint.setColor(mTrapezoidSolidColor); in updateClickableState()324 mTrapezoidCurvePaint.setStyle(Paint.Style.STROKE); in updateClickableState()325 mTrapezoidCurvePaint.setStrokeWidth(mDividerWidth * 2); in updateClickableState()327 mTrapezoidCurvePaint = null; in updateClickableState()480 if (mTrapezoidCurvePaint != null && trapezoidCurvePath != null) { in drawTrapezoids()481 canvas.drawPath(trapezoidCurvePath, mTrapezoidCurvePaint); in drawTrapezoids()[all …]
139 assertThat(mBatteryChartView.mTrapezoidCurvePaint).isNotNull(); in testClickable_isChartGraphSlotsEnabledIsFalse_notClickable()151 assertThat(mBatteryChartView.mTrapezoidCurvePaint).isNull(); in testClickable_accessibilityIsDisabled_clickable()166 assertThat(mBatteryChartView.mTrapezoidCurvePaint).isNull(); in testClickable_accessibilityIsEnabledWithoutValidId_clickable()178 assertThat(mBatteryChartView.mTrapezoidCurvePaint).isNotNull(); in testClickable_accessibilityIsEnabledWithValidId_notClickable()