Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
removed logs
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny52525 committed Aug 24, 2020
1 parent b8fc553 commit 222765f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions HtmlTextView/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ publish {

dependencies {
implementation 'androidx.annotation:annotation:1.1.0'

}
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,9 @@
import android.text.Layout;
import android.text.style.LeadingMarginSpan;
import android.text.style.LineBackgroundSpan;
import android.util.Log;

import androidx.annotation.NonNull;

import static org.sufficientlysecure.htmltextview.HtmlTextView.TAG;

public class DesignQuoteSpan implements LeadingMarginSpan, LineBackgroundSpan {

private int backgroundColor,stripColor;
Expand All @@ -24,7 +21,6 @@ public class DesignQuoteSpan implements LeadingMarginSpan, LineBackgroundSpan {
this.stripColor=stripColor;
this.stripeWidth=stripWidth;
this.gap=gap;
Log.d(TAG, "DesignQuoteSpanClass: Called");

}

Expand All @@ -46,7 +42,6 @@ public void drawLeadingMargin(Canvas c,
int end,
boolean first,
Layout layout) {
Log.d(TAG, "drawLeadingMargin: Called");

Paint.Style style=p.getStyle();
int paintColor=p.getColor();
Expand All @@ -70,7 +65,6 @@ public void drawBackground(@NonNull Canvas canvas,
int start,
int end,
int lineNumber) {
Log.d(TAG, "drawBackground: Called");
int paintColor=paint.getColor();
paint.setColor(backgroundColor);
canvas.drawRect((float)left,(float)top,(float)right,(float)bottom,paint);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import android.text.Spanned;
import android.text.style.QuoteSpan;
import android.util.AttributeSet;
import android.util.Log;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
Expand Down Expand Up @@ -171,7 +170,6 @@ private void replaceQuoteSpans(Spanned spanned) {

Spannable spannable = (Spannable) spanned;
QuoteSpan[] quoteSpans = spannable.getSpans(0, spannable.length() - 1, QuoteSpan.class);
Log.d(TAG, "replaceQuoteSpans: " + spannable);
for (QuoteSpan quoteSpan : quoteSpans) {
int start = spannable.getSpanStart(quoteSpan);
int end = spannable.getSpanEnd(quoteSpan);
Expand Down

0 comments on commit 222765f

Please sign in to comment.