Aurimas Liutikas | 1eecf50 | 2017-06-16 10:49:34 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <issues format="4" by="lint 3.0.0-dev"> |
| 3 | |
| 4 | <issue |
| 5 | id="DuplicateIds" |
| 6 | message="Duplicate id `@+id/off`, already defined earlier in this layout" |
| 7 | errorLine1=" android:id="@+id/off"" |
| 8 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| 9 | <location |
| 10 | file="res/drawable-v21/ws_switch_thumb_material_anim.xml" |
| 11 | line="27" |
| 12 | column="9"/> |
| 13 | <location |
| 14 | file="res/drawable-v21/ws_switch_thumb_material_anim.xml" |
| 15 | line="19" |
| 16 | column="9"/> |
| 17 | </issue> |
| 18 | |
| 19 | <issue |
| 20 | id="ResourceAsColor" |
| 21 | message="Should pass resolved color instead of resource id here: `getResources().getColor(android.R.color.darker_gray)`" |
| 22 | errorLine1=" mCircleColor = ColorStateList.valueOf(android.R.color.darker_gray);" |
| 23 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 24 | <location |
| 25 | file="src/android/support/wear/widget/CircledImageView.java" |
| 26 | line="148" |
| 27 | column="51"/> |
| 28 | </issue> |
| 29 | |
| 30 | <issue |
| 31 | id="Range" |
| 32 | message="Value must be ≥ 0 (was -1)" |
| 33 | errorLine1=" childHeightSpec = MeasureSpec.makeMeasureSpec(maxLayoutHeight, MeasureSpec.AT_MOST);" |
| 34 | errorLine2=" ~~~~~~~~~~~~~~~"> |
| 35 | <location |
| 36 | file="java/android/support/v4/widget/SlidingPaneLayout.java" |
| 37 | line="536" |
| 38 | column="63"/> |
| 39 | </issue> |
| 40 | |
| 41 | <issue |
| 42 | id="Range" |
| 43 | message="Value must be ≥ 0 (was -1)" |
| 44 | errorLine1=" childHeightSpec = MeasureSpec.makeMeasureSpec(maxLayoutHeight, MeasureSpec.EXACTLY);" |
| 45 | errorLine2=" ~~~~~~~~~~~~~~~"> |
| 46 | <location |
| 47 | file="java/android/support/v4/widget/SlidingPaneLayout.java" |
| 48 | line="538" |
| 49 | column="63"/> |
| 50 | </issue> |
| 51 | |
| 52 | <issue |
| 53 | id="Range" |
| 54 | message="Value must be ≥ 0 (was -1)" |
| 55 | errorLine1=" childHeightSpec = MeasureSpec.makeMeasureSpec(maxLayoutHeight," |
| 56 | errorLine2=" ~~~~~~~~~~~~~~~"> |
| 57 | <location |
| 58 | file="java/android/support/v4/widget/SlidingPaneLayout.java" |
| 59 | line="586" |
| 60 | column="79"/> |
| 61 | </issue> |
| 62 | |
| 63 | <issue |
| 64 | id="Range" |
| 65 | message="Value must be ≥ 0 (was -1)" |
| 66 | errorLine1=" childHeightSpec = MeasureSpec.makeMeasureSpec(maxLayoutHeight," |
| 67 | errorLine2=" ~~~~~~~~~~~~~~~"> |
| 68 | <location |
| 69 | file="java/android/support/v4/widget/SlidingPaneLayout.java" |
| 70 | line="589" |
| 71 | column="79"/> |
| 72 | </issue> |
| 73 | |
| 74 | <issue |
| 75 | id="Range" |
| 76 | message="Value must be ≥ 0 (was -1)" |
| 77 | errorLine1=" childHeightSpec = MeasureSpec.makeMeasureSpec(maxLayoutHeight," |
| 78 | errorLine2=" ~~~~~~~~~~~~~~~"> |
| 79 | <location |
| 80 | file="java/android/support/v4/widget/SlidingPaneLayout.java" |
| 81 | line="608" |
| 82 | column="75"/> |
| 83 | </issue> |
| 84 | |
| 85 | <issue |
| 86 | id="Range" |
| 87 | message="Value must be ≥ 0 (was -1)" |
| 88 | errorLine1=" childHeightSpec = MeasureSpec.makeMeasureSpec(maxLayoutHeight," |
| 89 | errorLine2=" ~~~~~~~~~~~~~~~"> |
| 90 | <location |
| 91 | file="java/android/support/v4/widget/SlidingPaneLayout.java" |
| 92 | line="611" |
| 93 | column="75"/> |
| 94 | </issue> |
| 95 | |
| 96 | <issue |
| 97 | id="LongLogTag" |
| 98 | message="The logging tag can be at most 23 characters, was 26 (StaggeredGridLayoutManager)" |
| 99 | errorLine1=" Log.d(TAG, "found saved state: " + mPendingSavedState);" |
| 100 | errorLine2=" ~~~"> |
| 101 | <location |
| 102 | file="src/android/support/v7/widget/StaggeredGridLayoutManager.java" |
| 103 | line="783" |
| 104 | column="19"/> |
| 105 | </issue> |
| 106 | |
| 107 | <issue |
| 108 | id="LongLogTag" |
| 109 | message="The logging tag can be at most 23 characters, was 26 (StaggeredGridLayoutManager)" |
| 110 | errorLine1=" Log.d(TAG, "Deciding anchor info from fresh state");" |
| 111 | errorLine2=" ~~~"> |
| 112 | <location |
| 113 | file="src/android/support/v7/widget/StaggeredGridLayoutManager.java" |
| 114 | line="828" |
| 115 | column="19"/> |
| 116 | </issue> |
| 117 | |
| 118 | <issue |
| 119 | id="LongLogTag" |
| 120 | message="The logging tag can be at most 23 characters, was 26 (StaggeredGridLayoutManager)" |
| 121 | errorLine1=" Log.d(TAG, "invalid saved state class");" |
| 122 | errorLine2=" ~~~"> |
| 123 | <location |
| 124 | file="src/android/support/v7/widget/StaggeredGridLayoutManager.java" |
| 125 | line="1187" |
| 126 | column="19"/> |
| 127 | </issue> |
| 128 | |
| 129 | <issue |
| 130 | id="LongLogTag" |
| 131 | message="The logging tag can be at most 23 characters, was 26 (StaggeredGridLayoutManager)" |
| 132 | errorLine1=" Log.d(TAG, "saved state:\n" + state);" |
| 133 | errorLine2=" ~~~"> |
| 134 | <location |
| 135 | file="src/android/support/v7/widget/StaggeredGridLayoutManager.java" |
| 136 | line="1236" |
| 137 | column="19"/> |
| 138 | </issue> |
| 139 | |
| 140 | <issue |
| 141 | id="LongLogTag" |
| 142 | message="The logging tag can be at most 23 characters, was 26 (StaggeredGridLayoutManager)" |
| 143 | errorLine1=" Log.d(TAG, "FILLING targetLine: " + targetLine + ","" |
| 144 | errorLine2=" ~~~"> |
| 145 | <location |
| 146 | file="src/android/support/v7/widget/StaggeredGridLayoutManager.java" |
| 147 | line="1559" |
| 148 | column="19"/> |
| 149 | </issue> |
| 150 | |
| 151 | <issue |
| 152 | id="LongLogTag" |
| 153 | message="The logging tag can be at most 23 characters, was 26 (StaggeredGridLayoutManager)" |
| 154 | errorLine1=" Log.d(TAG, "assigned " + currentSpan.mIndex + " for " + position);" |
| 155 | errorLine2=" ~~~"> |
| 156 | <location |
| 157 | file="src/android/support/v7/widget/StaggeredGridLayoutManager.java" |
| 158 | line="1580" |
| 159 | column="27"/> |
| 160 | </issue> |
| 161 | |
| 162 | <issue |
| 163 | id="LongLogTag" |
| 164 | message="The logging tag can be at most 23 characters, was 26 (StaggeredGridLayoutManager)" |
| 165 | errorLine1=" Log.d(TAG, "using " + spanIndex + " for pos " + position);" |
| 166 | errorLine2=" ~~~"> |
| 167 | <location |
| 168 | file="src/android/support/v7/widget/StaggeredGridLayoutManager.java" |
| 169 | line="1584" |
| 170 | column="27"/> |
| 171 | </issue> |
| 172 | |
| 173 | <issue |
| 174 | id="LongLogTag" |
| 175 | message="The logging tag can be at most 23 characters, was 26 (StaggeredGridLayoutManager)" |
| 176 | errorLine1=" Log.d(TAG, "asked " + dt + " scrolled" + totalScroll);" |
| 177 | errorLine2=" ~~~"> |
| 178 | <location |
| 179 | file="src/android/support/v7/widget/StaggeredGridLayoutManager.java" |
| 180 | line="2153" |
| 181 | column="19"/> |
| 182 | </issue> |
| 183 | |
| 184 | <issue |
| 185 | id="LongLogTag" |
| 186 | message="The logging tag can be at most 23 characters, was 26 (StaggeredGridLayoutManager)" |
| 187 | errorLine1=" Log.d(TAG, "Unknown focus request:" + focusDirection);" |
| 188 | errorLine2=" ~~~"> |
| 189 | <location |
| 190 | file="src/android/support/v7/widget/StaggeredGridLayoutManager.java" |
| 191 | line="2385" |
| 192 | column="27"/> |
| 193 | </issue> |
| 194 | |
| 195 | <issue |
| 196 | id="UniqueConstants" |
| 197 | message="Constants `FLAG_CVE_EQ_PVE` and `FLAG_CVE_EQ_PVE` specify the same exact value (8192); this is usually a cut & paste or merge error" |
| 198 | errorLine1=" FLAG_CVE_EQ_PVE, FLAG_CVE_EQ_PVE, FLAG_CVE_LT_PVE" |
| 199 | errorLine2=" ~~~~~~~~~~~~~~~"> |
| 200 | <location |
| 201 | file="src/android/support/v7/widget/ViewBoundsCheck.java" |
| 202 | line="125" |
| 203 | column="30"/> |
| 204 | <location |
| 205 | file="src/android/support/v7/widget/ViewBoundsCheck.java" |
| 206 | line="125" |
| 207 | column="13"/> |
| 208 | </issue> |
| 209 | |
| 210 | <issue |
| 211 | id="WrongConstant" |
| 212 | message="Must be one of: Gravity.LEFT, Gravity.RIGHT, GravityCompat.START, GravityCompat.END" |
| 213 | errorLine1=" setDrawerLockMode(lockMode, gravity);" |
| 214 | errorLine2=" ~~~~~~~"> |
| 215 | <location |
| 216 | file="java/android/support/v4/widget/DrawerLayout.java" |
| 217 | line="680" |
| 218 | column="37"/> |
| 219 | </issue> |
| 220 | |
| 221 | <issue |
| 222 | id="WrongConstant" |
| 223 | message="Must be one of: Gravity.LEFT, Gravity.RIGHT, GravityCompat.START, GravityCompat.END" |
| 224 | errorLine1=" return getDrawerLockMode(drawerGravity);" |
| 225 | errorLine2=" ~~~~~~~~~~~~~"> |
| 226 | <location |
| 227 | file="java/android/support/v4/widget/DrawerLayout.java" |
| 228 | line="753" |
| 229 | column="34"/> |
| 230 | </issue> |
| 231 | |
| 232 | <issue |
| 233 | id="WrongConstant" |
| 234 | message="Flag not allowed here" |
| 235 | errorLine1=" getDrawerViewAbsoluteGravity(child) & Gravity.HORIZONTAL_GRAVITY_MASK;" |
| 236 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 237 | <location |
| 238 | file="java/android/support/v4/widget/DrawerLayout.java" |
| 239 | line="1086" |
| 240 | column="25"/> |
| 241 | </issue> |
| 242 | |
| 243 | </issues> |