blob: 24cb762f5c1afc8cdcf6e09634f44ae3bf6fdb22 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="4" by="lint 2.4.0-alpha6">
<issue
id="MissingSuperCall"
message="Overriding method should call `super.onAnimationEnd`"
errorLine1=" public void onAnimationEnd(Animation animation) {"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="java/android/support/v4/app/FragmentManager.java"
line="1604"
column="29"/>
</issue>
<issue
id="MissingSuperCall"
message="Overriding method should call `super.onAnimationEnd`"
errorLine1=" public void onAnimationEnd(Animation animation) {"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="java/android/support/v4/app/FragmentManager.java"
line="3935"
column="21"/>
</issue>
<issue
id="ResourceType"
message="Expected resource of type string"
errorLine1=" ? Float.parseFloat(res.getString(R.dimen.lb_browse_header_select_scale))"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v17/leanback/widget/FocusHighlightHelper.java"
line="276"
column="58"/>
</issue>
<issue
id="ResourceType"
message="Expected resource of type string"
errorLine1=" Integer.parseInt(res.getString(R.dimen.lb_browse_header_select_duration));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v17/leanback/widget/FocusHighlightHelper.java"
line="279"
column="56"/>
</issue>
<issue
id="ResourceType"
message="Expected resource of type anim or interpolator"
errorLine1=" R.animator.lb_decelerator_4));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="kitkat/android/support/v17/leanback/transition/LeanbackTransitionHelperKitKat.java"
line="38"
column="17"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 27 (DetailsOverviewRowPresenter)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;onLayoutChange &quot; + v);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/widget/DetailsOverviewRowPresenter.java"
line="178"
column="34"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 27 (DetailsOverviewRowPresenter)"
errorLine1=" Log.v(TAG, &quot;checkFirstAndLast fromScroll &quot; + fromScroll"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/widget/DetailsOverviewRowPresenter.java"
line="237"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 36 (FullWidthDetailsOverviewRowPresenter)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;onLayoutChange &quot; + v);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/widget/FullWidthDetailsOverviewRowPresenter.java"
line="236"
column="34"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 36 (FullWidthDetailsOverviewRowPresenter)"
errorLine1=" Log.v(TAG, &quot;checkFirstAndLast fromScroll &quot; + fromScroll"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/widget/FullWidthDetailsOverviewRowPresenter.java"
line="295"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
errorLine1=" Log.w(TAG, &quot;Fragment is already exists, likely calling &quot;"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
line="642"
column="19"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;onCreate&quot;);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
line="1000"
column="26"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;onCreateView&quot;);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
line="1039"
column="26"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;Found guided step theme flag? &quot; + found);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
line="1239"
column="26"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;Found guided step theme reference? &quot; + found);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
line="1352"
column="30"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
errorLine1=" Log.e(TAG, &quot;GuidedStepSupportFragment does not have an appropriate theme set.&quot;);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
line="1364"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 25 (OnboardingSupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;Found onboarding theme reference? &quot; + found);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/OnboardingSupportFragment.java"
line="552"
column="30"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;onAnimationEnd &quot; + mBgAlpha);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
line="148"
column="30"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;setFadingEnabled &quot; + enabled);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
line="236"
column="26"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;tickle enabled &quot; + mFadingEnabled + &quot; isResumed &quot; + isResumed());"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
line="313"
column="26"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;onInterceptInputEvent hidden &quot; + controlsHidden + &quot; &quot; + event);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
line="363"
column="26"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;fraction &quot; + fraction);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
line="481"
column="38"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;fade &quot; + fadeIn);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
line="577"
column="26"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;requested fade in progress&quot;);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
line="582"
column="30"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;fade is no-op&quot;);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
line="586"
column="30"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;onAttachedToWindow &quot; + vh.getViewHolder().view);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
line="770"
column="30"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;setting alpha to 0&quot;);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
line="772"
column="34"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;onDetachedFromWindow &quot; + vh.getViewHolder().view);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
line="781"
column="30"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 27 (VerticalGridSupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;grid selected position &quot; + position);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/VerticalGridSupportFragment.java"
line="120"
column="30"/>
</issue>
<issue
id="Orientation"
message="No orientation specified, and the default is horizontal. This is a common source of bugs when children are added dynamically."
errorLine1=" &lt;LinearLayout"
errorLine2=" ^">
<location
file="res/layout/lb_row_media_item.xml"
line="63"
column="13"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ViewCompat.LAYOUT_DIRECTION_LTR, ViewCompat.LAYOUT_DIRECTION_RTL"
errorLine1=" boolean isRtl = ViewCompat.getLayoutDirection(focused) == View.LAYOUT_DIRECTION_RTL;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v17/leanback/app/BrowseFragment.java"
line="1029"
column="71"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ViewCompat.LAYOUT_DIRECTION_LTR, ViewCompat.LAYOUT_DIRECTION_RTL"
errorLine1=" boolean isRtl = ViewCompat.getLayoutDirection(focused) == View.LAYOUT_DIRECTION_RTL;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v17/leanback/app/BrowseSupportFragment.java"
line="1032"
column="71"/>
</issue>
<issue
id="WrongConstant"
message="Must be one or more of: Gravity.LEFT, Gravity.RIGHT, GravityCompat.START, GravityCompat.END"
errorLine1=" + gravityToString(childGravity) + &quot; but this &quot; + TAG + &quot; already has a &quot;"
errorLine2=" ~~~~~~~~~~~~">
<location
file="java/android/support/v4/widget/DrawerLayout.java"
line="1075"
column="47"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: View.VISIBLE, View.INVISIBLE, View.GONE"
errorLine1=" v.setVisibility(mChildVisibility);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v17/leanback/widget/GridLayoutManager.java"
line="1566"
column="37"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: View.VISIBLE, View.INVISIBLE, View.GONE"
errorLine1=" getChildAt(i).setVisibility(mChildVisibility);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v17/leanback/widget/GridLayoutManager.java"
line="3476"
column="45"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ViewCompat.LAYOUT_DIRECTION_LTR, ViewCompat.LAYOUT_DIRECTION_RTL"
errorLine1=" boolean isRtl = ViewCompat.getLayoutDirection(view) == View.LAYOUT_DIRECTION_RTL;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v17/leanback/widget/HorizontalHoverCardSwitcher.java"
line="50"
column="64"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ViewCompat.LAYOUT_DIRECTION_LTR, ViewCompat.LAYOUT_DIRECTION_RTL"
errorLine1=" == View.LAYOUT_DIRECTION_RTL;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v17/leanback/widget/TitleHelper.java"
line="49"
column="24"/>
</issue>
<issue
id="RtlCompat"
message="Inconsistent alignment specification between `textAlignment` and `gravity` attributes: was `center_vertical|end`, expected `start`"
errorLine1=" android:textAlignment=&quot;viewStart&quot;"
errorLine2=" ~~~~~~~~~">
<location
file="res/layout/lb_search_bar.xml"
line="70"
column="44"/>
<location
file="res/layout/lb_search_bar.xml"
line="57"
column="45"/>
</issue>
</issues>