[6.2.0] reset @
This commit is contained in:
@@ -210,6 +210,7 @@ class SlidePanelView @JvmOverloads constructor(
|
||||
)
|
||||
canvas.restore()
|
||||
// 画滑块
|
||||
|
||||
canvas.drawBitmap(
|
||||
bmBlock!!,
|
||||
(BLOCK_START_X + blockOffset).toFloat(),
|
||||
|
||||
@@ -53,7 +53,6 @@ class BatteryView : View , IMoGoSkinModeChangeListener {
|
||||
) : super(context, attrs, defStyleAttr) {
|
||||
}
|
||||
|
||||
@SuppressLint("NewApi")
|
||||
override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) {
|
||||
super.onMeasure(widthMeasureSpec, heightMeasureSpec)
|
||||
setMeasuredDimension(width.toInt(), height.toInt())
|
||||
|
||||
@@ -16,7 +16,6 @@ package com.mogo.eagle.core.widget;
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.Context;
|
||||
import android.graphics.SurfaceTexture;
|
||||
import android.media.AudioManager;
|
||||
@@ -95,14 +94,12 @@ public class TextureVideoView extends TextureView implements MediaPlayerControl
|
||||
initVideoView();
|
||||
}
|
||||
|
||||
@SuppressLint("NewApi")
|
||||
@Override
|
||||
public void onInitializeAccessibilityEvent(AccessibilityEvent event) {
|
||||
super.onInitializeAccessibilityEvent(event);
|
||||
event.setClassName(TextureVideoView.class.getName());
|
||||
}
|
||||
|
||||
@SuppressLint("NewApi")
|
||||
@Override
|
||||
public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
|
||||
super.onInitializeAccessibilityNodeInfo(info);
|
||||
@@ -151,7 +148,6 @@ public class TextureVideoView extends TextureView implements MediaPlayerControl
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressLint("NewApi")
|
||||
private void openVideo() {
|
||||
if (mUri == null) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user