blob: 58396a51c5048c449fc1bfb3b6c1030e5c6f3c72 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="5" by="lint 4.2.0-alpha06" client="gradle" variant="debug" version="4.2.0-alpha06">
<issue
id="BanSynchronizedMethods"
message="Use of synchronized methods is not recommended"
errorLine1=" /** Tell this object to configure the surface to match the desired size and pixel format. */"
errorLine2=" ^">
<location
file="src/main/java/androidx/camera/integration/camera2/pipe/Viewfinder.kt"
line="311"
column="9"/>
</issue>
<issue
id="BanSynchronizedMethods"
message="Use of synchronized methods is not recommended"
errorLine1=" @Synchronized"
errorLine2=" ^">
<location
file="src/main/java/androidx/camera/integration/camera2/pipe/Viewfinder.kt"
line="379"
column="9"/>
</issue>
<issue
id="BanSynchronizedMethods"
message="Use of synchronized methods is not recommended"
errorLine1=" @Synchronized"
errorLine2=" ^">
<location
file="src/main/java/androidx/camera/integration/camera2/pipe/Viewfinder.kt"
line="405"
column="9"/>
</issue>
<issue
id="MissingTestSizeAnnotation"
message="Missing test size annotation"
errorLine1=" fun useAppContext() {"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/androidTest/java/androidx/camera/integration/camera2/pipe/BasicInstrumentedTest.kt"
line="35"
column="9"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 24, the call containing class androidx.camera.integration.camera2.pipe.CameraPipeApplication is not annotated with @RequiresApi(x) where x is at least 24. Either annotate the containing class with at least @RequiresApi(24) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(24)."
errorLine1=" val elapsedRealtime = Process.getStartElapsedRealtime()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/integration/camera2/pipe/CameraPipeApplication.kt"
line="44"
column="43"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.colorPrimary` appears to be unused"
errorLine1=" &lt;color name=&quot;colorPrimary&quot;>#6200EE&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="17"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.colorPrimaryDark` appears to be unused"
errorLine1=" &lt;color name=&quot;colorPrimaryDark&quot;>#3700B3&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="18"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.colorAccent` appears to be unused"
errorLine1=" &lt;color name=&quot;colorAccent&quot;>#03DAC5&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="19"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.blackTransparent` appears to be unused"
errorLine1=" &lt;color name=&quot;blackTransparent&quot;>#C0000000&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="20"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.transparent` appears to be unused"
errorLine1=" &lt;color name=&quot;transparent&quot;>#00000000&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="23"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.gray` appears to be unused"
errorLine1=" &lt;color name=&quot;gray&quot;>#978082&lt;/color>"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="26"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.cameraPipeThemeBgOverlayDark50` appears to be unused"
errorLine1=" &lt;color name=&quot;cameraPipeThemeBgOverlayDark50&quot;>#DD080808&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="33"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.cameraPipeThemeBgOverlayDark100` appears to be unused"
errorLine1=" &lt;color name=&quot;cameraPipeThemeBgOverlayDark100&quot;>#DD101010&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="34"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.cameraPipeThemeBgRecord` appears to be unused"
errorLine1=" &lt;color name=&quot;cameraPipeThemeBgRecord&quot;>#FFD00000&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="36"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.cameraPipeThemeBgRecordRipple` appears to be unused"
errorLine1=" &lt;color name=&quot;cameraPipeThemeBgRecordRipple&quot;>#FFE00000&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="37"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.cameraPipeThemeBtnOverlay100` appears to be unused"
errorLine1=" &lt;color name=&quot;cameraPipeThemeBtnOverlay100&quot;>#33404040&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="39"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.cameraPipeThemeBtnOverlay200` appears to be unused"
errorLine1=" &lt;color name=&quot;cameraPipeThemeBtnOverlay200&quot;>#33FFFFFF&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="40"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.cameraPipeThemeFgLight700` appears to be unused"
errorLine1=" &lt;color name=&quot;cameraPipeThemeFgLight700&quot;>#FFD0D0D0&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="42"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.cameraPipeThemeFgLight800` appears to be unused"
errorLine1=" &lt;color name=&quot;cameraPipeThemeFgLight800&quot;>#FFF8F8F8&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="43"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.cameraPipeThemeFgLight900` appears to be unused"
errorLine1=" &lt;color name=&quot;cameraPipeThemeFgLight900&quot;>#FFFCFCFC&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="44"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.cameraPipeThemeFgOverlay` appears to be unused"
errorLine1=" &lt;color name=&quot;cameraPipeThemeFgOverlay&quot;>#33000000&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="46"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.cameraPipeThemeFgAccent` appears to be unused"
errorLine1=" &lt;color name=&quot;cameraPipeThemeFgAccent&quot;>#FF0090D0&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="47"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.cameraPipeThemeFgError800` appears to be unused"
errorLine1=" &lt;color name=&quot;cameraPipeThemeFgError800&quot;>#FFD00000&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="48"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.color.cameraPipeThemeFgError900` appears to be unused"
errorLine1=" &lt;color name=&quot;cameraPipeThemeFgError900&quot;>#FFE00000&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="49"
column="12"/>
</issue>
<issue
id="SyntheticAccessor"
message="Access to `private` field `defaultResolution` of class `SimpleCamera` requires synthetic accessor"
errorLine1=" ((it.width * it.height) - (defaultResolution.width *"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/integration/camera2/pipe/SimpleCamera.kt"
line="70"
column="44"/>
</issue>
<issue
id="SyntheticAccessor"
message="Access to `private` field `defaultResolution` of class `SimpleCamera` requires synthetic accessor"
errorLine1=" defaultResolution.height)).absoluteValue"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/integration/camera2/pipe/SimpleCamera.kt"
line="71"
column="25"/>
</issue>
</issues>