Offset 1, 20 lines modifiedOffset 1, 154 lines modified
1 .class·public·Lcom/android/settingslib/widget/BarChartInfo;1 .class·public·Lcom/android/settingslib/widget/BarChartInfo;
2 .super·Ljava/lang/Object;2 .super·Ljava/lang/Object;
3 .source·"BarChartInfo.java"3 .source·"BarChartInfo.java"
  
  
 4 #·annotations
 5 .annotation·system·Ldalvik/annotation/MemberClasses;
 6 ····value·=·{
 7 ········Lcom/android/settingslib/widget/BarChartInfo$Builder;
 8 ····}
 9 .end·annotation
  
  
 10 #·instance·fields
 11 .field·private·mBarViewInfos:[Lcom/android/settingslib/widget/BarViewInfo;
  
 12 .field·private·final·mDetails:I
  
 13 .field·private·final·mDetailsOnClickListener:Landroid/view/View$OnClickListener;
  
 14 .field·private·final·mEmptyText:I
  
 15 .field·private·final·mTitle:I
  
  
 16 #·direct·methods
 17 .method·private·constructor·<init>(Lcom/android/settingslib/widget/BarChartInfo$Builder;)V
 18 ····.locals·1
  
 19 ····.line·92
 20 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
 21 ····.line·93
 22 ····invoke-static·{p1},·Lcom/android/settingslib/widget/BarChartInfo$Builder;->access$000(Lcom/android/settingslib/widget/BarChartInfo$Builder;)I
  
 23 ····move-result·v0
  
 24 ····iput·v0,·p0,·Lcom/android/settingslib/widget/BarChartInfo;->mTitle:I
  
 25 ····.line·94
 26 ····invoke-static·{p1},·Lcom/android/settingslib/widget/BarChartInfo$Builder;->access$100(Lcom/android/settingslib/widget/BarChartInfo$Builder;)I
  
 27 ····move-result·v0
  
 28 ····iput·v0,·p0,·Lcom/android/settingslib/widget/BarChartInfo;->mDetails:I
  
 29 ····.line·95
 30 ····invoke-static·{p1},·Lcom/android/settingslib/widget/BarChartInfo$Builder;->access$200(Lcom/android/settingslib/widget/BarChartInfo$Builder;)I
  
 31 ····move-result·v0
  
 32 ····iput·v0,·p0,·Lcom/android/settingslib/widget/BarChartInfo;->mEmptyText:I
  
 33 ····.line·96
 34 ····invoke-static·{p1},·Lcom/android/settingslib/widget/BarChartInfo$Builder;->access$300(Lcom/android/settingslib/widget/BarChartInfo$Builder;)Landroid/view/View$OnClickListener;
  
 35 ····move-result-object·v0
  
 36 ····iput-object·v0,·p0,·Lcom/android/settingslib/widget/BarChartInfo;->mDetailsOnClickListener:Landroid/view/View$OnClickListener;
  
 37 ····.line·98
 38 ····invoke-static·{p1},·Lcom/android/settingslib/widget/BarChartInfo$Builder;->access$400(Lcom/android/settingslib/widget/BarChartInfo$Builder;)Ljava/util/List;
  
 39 ····move-result-object·v0
  
 40 ····if-eqz·v0,·:cond_0
  
 41 ····.line·99
 42 ····invoke-static·{p1},·Lcom/android/settingslib/widget/BarChartInfo$Builder;->access$400(Lcom/android/settingslib/widget/BarChartInfo$Builder;)Ljava/util/List;
  
 43 ····move-result-object·p1
  
 44 ····invoke-interface·{p1},·Ljava/util/List;->stream()Ljava/util/stream/Stream;
  
 45 ····move-result-object·p1
  
 46 ····sget-object·v0,·Lcom/android/settingslib/widget/-$$Lambda$BarChartInfo$2CrHVNAna8TvSeyBIL19oCkthVU;->INSTANCE:Lcom/android/settingslib/widget/-$$Lambda$BarChartInfo$2CrHVNAna8TvSeyBIL19oCkthVU;
  
 47 ····invoke-interface·{p1,·v0},·Ljava/util/stream/Stream;->toArray(Ljava/util/function/IntFunction;)[Ljava/lang/Object;
  
 48 ····move-result-object·p1
  
 49 ····check-cast·p1,·[Lcom/android/settingslib/widget/BarViewInfo;
  
 50 ····iput-object·p1,·p0,·Lcom/android/settingslib/widget/BarChartInfo;->mBarViewInfos:[Lcom/android/settingslib/widget/BarViewInfo;
  
 51 ····:cond_0
 52 ····return-void
 53 .end·method
  
 54 .method·synthetic·constructor·<init>(Lcom/android/settingslib/widget/BarChartInfo$Builder;Lcom/android/settingslib/widget/BarChartInfo$1;)V
 55 ····.locals·0
  
 56 ····.line·31
 57 ····invoke-direct·{p0,·p1},·Lcom/android/settingslib/widget/BarChartInfo;-><init>(Lcom/android/settingslib/widget/BarChartInfo$Builder;)V
  
 58 ····return-void
 59 .end·method
  
 60 .method·static·synthetic·lambda$new$0(I)[Lcom/android/settingslib/widget/BarViewInfo;
 61 ····.locals·0
  
 62 ····.line·99
 63 ····new-array·p0,·p0,·[Lcom/android/settingslib/widget/BarViewInfo;
  
 64 ····return-object·p0
 65 .end·method
  
  
4 #·virtual·methods66 #·virtual·methods
5 .method·public·abstract·getBarViewInfos()[Lcom/android/settingslib/widget/BarViewInfo;67 .method·public·getBarViewInfos()[Lcom/android/settingslib/widget/BarViewInfo;
 68 ····.locals·1
  
 69 ····.line·85
 70 ····iget-object·v0,·p0,·Lcom/android/settingslib/widget/BarChartInfo;->mBarViewInfos:[Lcom/android/settingslib/widget/BarViewInfo;
  
 71 ····return-object·v0
6 .end·method72 .end·method
  
7 .method·public·abstract·getDetails()I73 .method·public·getDetails()I
 74 ····.locals·1
  
 75 ····.line·57
 76 ····iget·v0,·p0,·Lcom/android/settingslib/widget/BarChartInfo;->mDetails:I
  
 77 ····return·v0
8 .end·method78 .end·method
  
9 .method·public·abstract·getDetailsOnClickListener()Landroid/view/View$OnClickListener;79 .method·public·getDetailsOnClickListener()Landroid/view/View$OnClickListener;
 80 ····.locals·1
  
 81 ····.line·76
 82 ····iget-object·v0,·p0,·Lcom/android/settingslib/widget/BarChartInfo;->mDetailsOnClickListener:Landroid/view/View$OnClickListener;
  
 83 ····return-object·v0
10 .end·method84 .end·method
  
11 .method·public·abstract·getEmptyText()I85 .method·public·getEmptyText()I
 86 ····.locals·1
  
 87 ····.line·67
 88 ····iget·v0,·p0,·Lcom/android/settingslib/widget/BarChartInfo;->mEmptyText:I
  
 89 ····return·v0
12 .end·method90 .end·method
  
13 .method·public·abstract·getTitle()I91 .method·public·getTitle()I
 92 ····.locals·1
  
 93 ····.line·48
 94 ····iget·v0,·p0,·Lcom/android/settingslib/widget/BarChartInfo;->mTitle:I
  
 95 ····return·v0
14 .end·method96 .end·method