Open ledinhphuong opened 7 years ago
Interesting. It's normal for the touch resolution to be different than screen resolution, that shouldn't cause any issues. However, looking at pictures of the V10, it seems that there's an area above the usual menu bar that's part of the touch screen, yet operates as a separate tiny display for icons. It seems like the coordinates are off by just about the height of the icon area.
I think for this particular issue I would have to have one of those devices... I'll think about it but they're fairly expensive.
I have same problem with LG V20 (H990).
Yeah. Unfortunately these are too expensive for me to buy right now. If someone wants to donate a new or used V10 or V20, or money to purchase one, that would be great. Model from any region is fine.
Not sure if is cheaper but the same issue occurs on LG-K500n (X screen).
I've ordered a refurbished V10 from Aliexpress for $149.99 and free shipping. It'll take quite a while to arrive, but I might look into this once it does. It would be great if you guys could ask your respective companies to donate to the project to cover the costs.
it seems that there's an area above the usual menu bar that's part of the touch screen, yet operates as a separate tiny display for icons. It seems like the coordinates are off by just about the height of the icon area.
It is true for LG X screen, there is an tiny LCD above the normal one. By default it displays status bar icons when main screen is off and owner's name when it is on. And the offset seems to be equal to a height of a tiny screen. So correcting touched point coordinate by the height of that screen can fix this issue.
It would be great if you guys could ask your respective companies to donate to the project to cover the costs.
I can't make such donation but can try to implement some fix.
On that device, display height reported by Display#getRealSize() is smaller than Motion range for AXIS_Y. While on device w/o additional screen they are equal. Maybe that can be starting point.
They are not always equal - at least on minitouch level. On many devices (e.g. Samsung) the touch resolution is much higher than the display resolution.
Both input device and screen resolutions and can be obtained via API, so it seems to be possible to use them.
I've received the refurbished V10, however it seems that the ROM has been modified. It seems to have been rooted and various things in the shell don't work right. Can't use it with STF.
Any advice, where is the right place in the code to add that offset? I can try to figure out how to calculate it and make a PR fixing this issue.
I don’t want to have hardcoded device specific workarounds if at all possible. That being said, the stf-device-db module contains a few special cases for problematic devices. You could add it there I suppose. First, though, we should try to solve this in an automated way.
I meant figure out how to calculate it
rather than hardcoding.
Yes that would be great :) Unfortunately it seems that I can't help until I figure out how to find and flash a stock ROM on my v10, which seems to be a huge pain.
I was able to reflash the V10 with the help of a Windows virtual machine, the LG Phone From app (which I downloaded on a safe phone, then pulled the .apk and pushed it to the compromised one) to get a stock firmware link, and various shady software (namely LGUP that finally worked) from the XDA developers forum. I guess it'll be usable after all.
Here's the adb shell dumpsys window
output from the V10 (on Android 6.0):
WINDOW MANAGER LAST ANR (dumpsys window lastanr)
<no ANR has occurred since boot>
WINDOW MANAGER POLICY STATE (dumpsys window policy)
mSafeMode=false mSystemReady=true mSystemBooted=true
mLidState=-1 mLidOpenRotation=-1 mCameraLensCoverState=-1 mHdmiPlugged=false
mLastSystemUiFlags=0x1608600 mResettingSystemUiFlags=0x0 mForceClearedSystemUiFlags=0x0
mWakeGestureEnabledSetting=true
mSupportAutoRotation=true
mUiMode=1 mDockMode=0 mCarDockRotation=-1 mDeskDockRotation=-1
mUserRotationMode=0 mUserRotation=0 mAllowAllRotations=-1
mCurrentAppOrientation=5
mCarDockEnablesAccelerometer=true mDeskDockEnablesAccelerometer=true
mLidKeyboardAccessibility=0 mLidNavigationAccessibility=0 mLidControlsSleep=false
mShortPressOnPowerBehavior=1 mLongPressOnPowerBehavior=1
mDoublePressOnPowerBehavior=0 mTriplePressOnPowerBehavior=0
mHasSoftInput=true
mAwake=false
mScreenOnEarly=false mScreenOnFully=false
mKeyguardDrawComplete=false mWindowManagerDrawComplete=false
mOrientationSensorEnabled=false
mOverscanScreen=(0,0) 1440x2560
mRestrictedOverscanScreen=(0,0) 1440x2392
mUnrestrictedScreen=(0,0) 1440x2560
mRestrictedScreen=(0,0) 1440x2392
mStableFullscreen=(0,0)-(1440,2392)
mStable=(0,96)-(1440,2392)
mSystem=(0,0)-(1440,2560)
mCur=(0,96)-(1440,2392)
mContent=(0,96)-(1440,2392)
mVoiceContent=(0,96)-(1440,2392)
mDock=(0,96)-(1440,2392)
mDockLayer=268435456 mStatusBarLayer=161010
mShowingLockscreen=true mShowingDream=false mDreamingLockscreen=true mDreamingSleepToken=null
mStatusBar=Window{c37fd89 u0 StatusBar} isStatusBarKeyguard=true
mNavigationBar=Window{4e51dc0 u0 NavigationBar}
mFocusedWindow=Window{c37fd89 u0 StatusBar}
mTopFullscreenOpaqueWindowState=Window{72a9813 u0 com.lge.launcher2/com.lge.launcher2.Launcher}
mTopFullscreenOpaqueOrDimmingWindowState=Window{f4c02da u0 com.android.phone}
mTopIsFullscreen=false mHideLockScreen=false
mForceStatusBar=false mForceStatusBarFromKeyguard=true
mDismissKeyguard=0 mWinDismissingKeyguard=null mHomePressed=false
mAllowLockscreenWhenOn=false mLockScreenTimeout=120000 mLockScreenTimerActive=false
mEndcallBehavior=2 mIncallPowerBehavior=1 mLongPressOnHomeBehavior=2
mLandscapeRotation=1 mSeascapeRotation=3
mPortraitRotation=0 mUpsideDownRotation=2
mDemoHdmiRotation=1 mDemoHdmiRotationLock=false
mUndockedHdmiRotation=-1
mKeyMapping.size=0
BarController.StatusBar
mState=WINDOW_STATE_SHOWING
mTransientBar=TRANSIENT_BAR_NONE
BarController.NavigationBar
mState=WINDOW_STATE_HIDDEN
mTransientBar=TRANSIENT_BAR_NONE
PolicyControl.sImmersiveStatusFilter=null
PolicyControl.sImmersiveNavigationFilter=null
PolicyControl.sImmersivePreconfirmationsFilter=null
WakeGestureListener
mTriggerRequested=false
mSensor=null
WindowOrientationListener
mEnabled=false
mCurrentRotation=0
mSensor={Sensor name="Motion Accel", vendor="QTI", version=2, type=499898101, maxRange=1.0, resolution=1.0, power=0.17999268, minDelay=0}
mRate=2
mProposedRotation=-1
mPredictedRotation=-1
mLastFilteredX=-0.4284668
mLastFilteredY=-0.113967896
mLastFilteredZ=10.172745
mLastFilteredTimestampNanos=304736465934 (169108.08ms ago)
mTiltHistory={last: 88.0}
mFlat=false
mSwinging=false
mAccelerating=false
mOverhead=false
mTouched=false
mTiltToleranceConfig=[[-25, 70], [-25, 65], [-25, 60], [-25, 65]]
mMenuLongPressEnabled=true
mRecentKeyLongpressEnabled=true
mHWMenuKeyDB =0
mVolumeKeyShortcutStatus=1
mHotKeyCustomizing=false
mHotKeyLongPressEnabled=false
mHotKeyMode=0
mQuickClipVolumeKeyCombo=false
mAccelSensorNotSupported=false
mSimSwitchingKey=false
mFourthKeySharing=false
mRearSideKeyEnable =true
sVolumeUpKeyShortcutAction=2
sVolumeDownKeyShortcutAction=1
mVolumeKeyLongPressEnabled=true
mVolumeKeyDoublePressEnabled=true
mSupporLightSensor=true
mHomeKeyExceptionInECMMode=false
mScreenOffKey=true
sKeyExceptionWinState=Window{72a9813 u0 com.lge.launcher2/com.lge.launcher2.Launcher}
sPowerKeyScreenOnInCalling=true
mSupportSmartCover=true
mHWKeyControlMode=false
mRestartActionConfigEnabled=false
mPowerVolumeDownReset=false
mSupportForcedPowerOff=true
mDualWindowKeyStatus=1
mDualWindowByBackLongPressed=false
WINDOW MANAGER ANIMATOR STATE (dumpsys window animator)
DisplayContentsAnimator #0:
Window #0: WindowStateAnimator{351ff69 com.android.systemui.ImageWallpaper}
Window #1: WindowStateAnimator{9f1edee com.lge.launcher2/com.lge.launcher2.Launcher}
Window #2: WindowStateAnimator{695028f AssistPreviewPanel}
Window #3: WindowStateAnimator{dd3d91c ClipTray}
Window #4: WindowStateAnimator{7022925 CliptrayCue}
Window #5: WindowStateAnimator{c12fafa }
Window #6: WindowStateAnimator{3e938ab SecondScreen_StatusBar_com.android.systemui (0)}
Window #7: WindowStateAnimator{8d36b08 KeyguardScrim}
Window #8: WindowStateAnimator{cd132a1 SecondScreen_Base_com.lge.signboard (0)}
Window #9: WindowStateAnimator{c05ccc6 SecondScreen_System_com.lge.signboard (0)}
Window #10: WindowStateAnimator{a00b487 SurfaceView}
Window #11: WindowStateAnimator{b82fb4 StatusBar}
Window #12: WindowStateAnimator{62d57dd NavigationBar}
mBulkUpdateParams=0x8 ORIENTATION_CHANGE_COMPLETE
WINDOW MANAGER SESSIONS (dumpsys window sessions)
Session Session{2bd0e76 3364:1000}:
mNumWindow=2 mClientDead=false mSurfaceSession=android.view.SurfaceSession@401ef52
Session Session{31e3c7d 3033:1000}:
mNumWindow=2 mClientDead=false mSurfaceSession=android.view.SurfaceSession@72a1223
Session Session{3aa958d 3020:u0a10059}:
mNumWindow=6 mClientDead=false mSurfaceSession=android.view.SurfaceSession@8829320
Session Session{46037ce 3550:1001}:
mNumWindow=1 mClientDead=false mSurfaceSession=android.view.SurfaceSession@32c94d9
Session Session{c0b43e4 3629:u0a10048}:
mNumWindow=1 mClientDead=false mSurfaceSession=android.view.SurfaceSession@82bae9e
Session Session{cdc7cff 3425:u0a10036}:
mNumWindow=0 mClientDead=false mSurfaceSession=android.view.SurfaceSession@601ad7f
Session Session{d4845c1 1358:1000}:
mNumWindow=1 mClientDead=false mSurfaceSession=android.view.SurfaceSession@cdc14c
WINDOW MANAGER DISPLAY CONTENTS (dumpsys window displays)
Display: mDisplayId=0
init=1440x2720 640dpi cur=1440x2560 app=1440x2392 rng=1440x1344-2232x2136
deferred=false layoutNeeded=false
mStacks[0]0
mStackId=0
mDeferDetach=false
{taskId=13 appTokens=[AppWindowToken{f8f1d7a token=Token{92745a5 ActivityRecord{21979c u0 com.lge.launcher2/.Launcher t13}}}] mdr=false}
mDimLayer:
mDimSurface=Surface(name=DimLayer) mLayer=110999 mAlpha=0.6
mLastBounds=[0,0][1440,2560] mBounds=[0,0][1440,2560]
Last animation: mDuration=200 mStartTime=45813 curTime=473847
mStartAlpha=0.0 mTargetAlpha=0.6
mDimWinAnimator=WindowStateAnimator{c12fafa }
Application tokens in top down Z order:
mStackId=0
mTaskId=13
Activity #0 AppWindowToken{f8f1d7a token=Token{92745a5 ActivityRecord{21979c u0 com.lge.launcher2/.Launcher t13}}}:
windows=[Window{72a9813 u0 com.lge.launcher2/com.lge.launcher2.Launcher}]
windowType=2 hidden=false hasVisible=true
app=true voiceInteraction=false
allAppWindows=[Window{72a9813 u0 com.lge.launcher2/com.lge.launcher2.Launcher}]
task={taskId=13 appTokens=[AppWindowToken{f8f1d7a token=Token{92745a5 ActivityRecord{21979c u0 com.lge.launcher2/.Launcher t13}}}] mdr=false}
appFullscreen=true requestedOrientation=1
hiddenRequested=false clientHidden=false willBeHidden=false reportedDrawn=true reportedVisible=true
numInterestingWindows=1 numDrawnWindows=1 inPendingTransaction=false allDrawn=true (animator=true)
startingData=com.android.server.wm.StartingData@548a595 removed=false firstWindowDrawn=true mIsExiting=false
WINDOW MANAGER TOKENS (dumpsys window tokens)
All tokens:
WindowToken{8a016aa null}
WindowToken{48da29b android.os.BinderProxy@a4c7090}
AppWindowToken{f8f1d7a token=Token{92745a5 ActivityRecord{21979c u0 com.lge.launcher2/.Launcher t13}}}
WindowToken{6bba638 android.os.Binder@46fcd7}
WindowToken{1db0611 android.os.Binder@65da0e8}
Wallpaper tokens:
Wallpaper #0 WindowToken{1db0611 android.os.Binder@65da0e8}
WINDOW MANAGER WINDOWS (dumpsys window windows)
Window #12 Window{4e51dc0 u0 NavigationBar}:
mDisplayId=0 stackId=0 mSession=Session{3aa958d 3020:u0a10059} mClient=android.os.BinderProxy@ceba343
mOwnerUid=10059 mShowToOwnerOnly=false package=com.android.systemui appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#20 ty=2019 fl=#21840068 fmt=-3 clr=0x1}
Requested w=1440 h=2392 mLayoutSeq=54
mHasSurface=false mShownFrame=[0.0,2392.0][1440.0,2560.0] isReadyForDisplay()=false
WindowStateAnimator{62d57dd NavigationBar}:
Window #11 Window{c37fd89 u0 StatusBar}:
mDisplayId=0 stackId=0 mSession=Session{3aa958d 3020:u0a10059} mClient=android.os.BinderProxy@a4c7090
mOwnerUid=10059 mShowToOwnerOnly=false package=com.android.systemui appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) gr=#30 sim=#10 ty=2000 fl=#81860060 pfl=0x400 fmt=-3 or=5 vsysui=0x1600600 if=0x4 userActivityTimeout=10000 clr=0x1}
Requested w=1440 h=2560 mLayoutSeq=100
mHasSurface=true mShownFrame=[0.0,0.0][1440.0,2560.0] isReadyForDisplay()=true
WindowStateAnimator{b82fb4 StatusBar}:
Surface: shown=true layer=161010 alpha=1.0 rect=(0.0,0.0) 1440.0 x 2560.0
mLastFreezeDuration=+5m3s880ms
Window #10 Window{840f376 u0 SurfaceView}:
mDisplayId=0 stackId=0 mSession=Session{3aa958d 3020:u0a10059} mClient=android.os.BinderProxy@9a7f455
mOwnerUid=10059 mShowToOwnerOnly=true package=null appop=NONE
mAttrs=WM.LayoutParams{(0,0)(1440x2560) gr=#800033 ty=1001 fl=#4218 pfl=0x40 fmt=-3 clr=0x1}
Requested w=1440 h=2560 mLayoutSeq=100
mAttachedWindow=Window{c37fd89 u0 StatusBar} mLayoutAttached=true
mHasSurface=true mShownFrame=[0.0,0.0][1440.0,2560.0] isReadyForDisplay()=true
WindowStateAnimator{a00b487 SurfaceView}:
Surface: shown=true layer=161005 alpha=1.0 rect=(0.0,0.0) 1440.0 x 2560.0
Window #9 Window{34c6dfd u0 SecondScreen_System_com.lge.signboard (0)}:
mDisplayId=0 stackId=0 mSession=Session{31e3c7d 3033:1000} mClient=android.os.BinderProxy@46b4a54
mOwnerUid=1000 mShowToOwnerOnly=true package=com.lge.signboard appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) gr=#11 sim=#20 ty=3004 fl=#1840008 wanim=0x1030383 clr=0x1}
Requested w=1440 h=160 mLayoutSeq=93
mHasSurface=false mShownFrame=[0.0,-160.0][1440.0,0.0] isReadyForDisplay()=false
WindowStateAnimator{c05ccc6 SecondScreen_System_com.lge.signboard (0)}:
mLastFreezeDuration=+54s245ms
Window #8 Window{ebb170 u0 SecondScreen_Base_com.lge.signboard (0)}:
mDisplayId=0 stackId=0 mSession=Session{31e3c7d 3033:1000} mClient=android.os.BinderProxy@f4677b3
mOwnerUid=1000 mShowToOwnerOnly=true package=com.lge.signboard appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) gr=#11 sim=#20 ty=3001 fl=#1840008 wanim=0x1030383 clr=0x1 statusbarl=true}
Requested w=1440 h=160 mLayoutSeq=100
mHasSurface=true mShownFrame=[0.0,-160.0][1440.0,0.0] isReadyForDisplay()=true
WindowStateAnimator{cd132a1 SecondScreen_Base_com.lge.signboard (0)}:
Surface: shown=true layer=141005 alpha=1.0 rect=(0.0,-160.0) 1440.0 x 160.0
Window #7 Window{5b859cc u0 KeyguardScrim}:
mDisplayId=0 stackId=0 mSession=Session{d4845c1 1358:1000} mClient=android.view.ViewRootImplAO$WEx@50d57ff
mOwnerUid=1000 mShowToOwnerOnly=false package=android appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#10 ty=2029 fl=#1110900 pfl=0x1 fmt=-3 or=5 vsysui=0x3610000 clr=0x1}
Requested w=1440 h=2392 mLayoutSeq=36
mHasSurface=false mShownFrame=[0.0,0.0][1440.0,2392.0] isReadyForDisplay()=false
WindowStateAnimator{8d36b08 KeyguardScrim}:
mLastFreezeDuration=+26s304ms
Window #6 Window{5083cdd u0 SecondScreen_StatusBar_com.android.systemui (0)}:
mDisplayId=0 stackId=0 mSession=Session{3aa958d 3020:u0a10059} mClient=android.os.BinderProxy@a4b88b4
mOwnerUid=10059 mShowToOwnerOnly=false package=com.android.systemui appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) gr=#11 sim=#20 ty=3002 fl=#1840008 wanim=0x103045b clr=0x1 statusbarl=true}
Requested w=1440 h=2392 mLayoutSeq=100
mHasSurface=true mShownFrame=[0.0,-160.0][1440.0,0.0] isReadyForDisplay()=true
WindowStateAnimator{3e938ab SecondScreen_StatusBar_com.android.systemui (0)}:
Surface: shown=true layer=131000 alpha=1.0 rect=(0.0,-160.0) 1440.0 x 160.0
Window #5 Window{f4c02da u0 com.android.phone}:
mDisplayId=0 stackId=0 mSession=Session{46037ce 3550:1001} mClient=android.os.BinderProxy@79ce485
mOwnerUid=1001 mShowToOwnerOnly=false package=com.android.phone appop=SYSTEM_ALERT_WINDOW
mAttrs=WM.LayoutParams{(0,0)(wrapxwrap) gr=#11 sim=#120 ty=2003 fl=#1820002 pfl=0x10010 fmt=-3 wanim=0x20a01ab surfaceInsets=Rect(96, 96 - 96, 96) needsMenuKey=2 clr=0x1}
Requested w=1368 h=2105 mLayoutSeq=100
mHasSurface=true mShownFrame=[36.0,191.0][1404.0,2296.0] isReadyForDisplay()=true
WindowStateAnimator{c12fafa }:
mAnimating=false mLocalAnimating=false mAnimationIsEntrance=true mAnimation=null
Surface: shown=true layer=111000 alpha=1.0 rect=(-60.0,95.0) 1560.0 x 2297.0
Window #4 Window{6effc81 u0 CliptrayCue}:
mDisplayId=0 stackId=0 mSession=Session{2bd0e76 3364:1000} mClient=android.os.BinderProxy@d29b068
mOwnerUid=1000 mShowToOwnerOnly=false package=com.lge.systemservice appop=NONE
mAttrs=WM.LayoutParams{(0,960)(162x164) gr=#55 sim=#30 ty=2008 fl=#1040228 fmt=1 clr=0x1}
Requested w=0 h=0 mLayoutSeq=14
mHasSurface=false mShownFrame=[0.0,0.0][0.0,0.0] isReadyForDisplay()=false
WindowStateAnimator{7022925 CliptrayCue}:
mShownAlpha=0.0 mAlpha=1.0 mLastAlpha=0.0
Window #3 Window{b544750 u0 ClipTray}:
mDisplayId=0 stackId=0 mSession=Session{2bd0e76 3364:1000} mClient=android.os.BinderProxy@afe3913
mOwnerUid=1000 mShowToOwnerOnly=false package=com.lge.systemservice appop=NONE
mAttrs=WM.LayoutParams{(0,0)(1440x960) gr=#53 sim=#30 ty=2008 fl=#1040228 fmt=1 wanim=0x7f0a0000 clr=0x1}
Requested w=0 h=0 mLayoutSeq=14
mHasSurface=false mShownFrame=[0.0,0.0][0.0,0.0] isReadyForDisplay()=false
WindowStateAnimator{dd3d91c ClipTray}:
mShownAlpha=0.0 mAlpha=1.0 mLastAlpha=0.0
Window #2 Window{9b890f2 u0 AssistPreviewPanel}:
mDisplayId=0 stackId=0 mSession=Session{3aa958d 3020:u0a10059} mClient=android.os.BinderProxy@a38fbfd
mOwnerUid=10059 mShowToOwnerOnly=true package=com.android.systemui appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillx1000) gr=#800053 sim=#31 ty=2033 fl=#1000118 fmt=-3 vsysui=0x700 clr=0x1}
Requested w=0 h=0 mLayoutSeq=30
mHasSurface=false mShownFrame=[0.0,0.0][0.0,0.0] isReadyForDisplay()=false
WindowStateAnimator{695028f AssistPreviewPanel}:
mShownAlpha=0.0 mAlpha=1.0 mLastAlpha=0.0
Window #1 Window{72a9813 u0 com.lge.launcher2/com.lge.launcher2.Launcher}:
mDisplayId=0 stackId=0 mSession=Session{c0b43e4 3629:u0a10048} mClient=android.os.BinderProxy@99a1702
mOwnerUid=10048 mShowToOwnerOnly=true package=com.lge.launcher2 appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#30 ty=1 fl=#81910100 fmt=-2 wanim=0x103045b vsysui=0x600 needsMenuKey=2 clr=0x1}
Requested w=1440 h=2560 mLayoutSeq=100
mHasSurface=true mShownFrame=[0.0,0.0][1440.0,2560.0] isReadyForDisplay()=true
WindowStateAnimator{9f1edee com.lge.launcher2/com.lge.launcher2.Launcher}:
Surface: shown=true layer=21005 alpha=1.0 rect=(0.0,0.0) 1440.0 x 2560.0
mLastFreezeDuration=+5m3s800ms
mWallpaperX=0.5 mWallpaperY=0.0
mWallpaperXStep=0.5 mWallpaperYStep=1.0
Window #0 Window{c533a4c u0 com.android.systemui.ImageWallpaper}:
mDisplayId=0 stackId=0 mSession=Session{3aa958d 3020:u0a10059} mClient=android.os.BinderProxy@8bd6a7f
mOwnerUid=10059 mShowToOwnerOnly=true package=com.android.systemui appop=NONE
mAttrs=WM.LayoutParams{(0,0)(2880x2560) gr=#800033 ty=2013 fl=#318 fmt=2 wanim=0x10302ea clr=0x1}
Requested w=2880 h=2560 mLayoutSeq=100
mIsImWindow=false mIsWallpaper=true mIsFloatingLayer=true mWallpaperVisible=true
Offsets x=-720 y=0
mHasSurface=true mShownFrame=[-720.0,0.0][2160.0,2560.0] isReadyForDisplay()=true
WindowStateAnimator{351ff69 com.android.systemui.ImageWallpaper}:
mAnimating=false mLocalAnimating=false mAnimationIsEntrance=true mAnimation=null
Surface: shown=true layer=21000 alpha=1.0 rect=(-720.0,0.0) 2880.0 x 2560.0
mWallpaperX=0.5 mWallpaperY=0.0
mWallpaperXStep=0.5 mWallpaperYStep=1.0
mCurConfiguration={1.0 ?mcc?mnc en_US ldltr sw360dp w360dp h534dp 640dpi nrml port finger -keyb/v/h -nav/h s.6 fontTypeIndex0 forceEmbolden0}
mHasPermanentDpad=false
mCurrentFocus=Window{c37fd89 u0 StatusBar}
mFocusedApp=AppWindowToken{f8f1d7a token=Token{92745a5 ActivityRecord{21979c u0 com.lge.launcher2/.Launcher t13}}}
mInTouchMode=true mLayoutSeq=100
mLastDisplayFreezeDuration=0 due to Window{c37fd89 u0 StatusBar}
@koral-- Can you post the output from your LG X screen as well? And perhaps @keRin7 from his V20?
That dumpsys actually shows that the 2nd screen is being rendered to a negative offset:
Window #9 Window{34c6dfd u0 SecondScreen_System_com.lge.signboard (0)}:
mDisplayId=0 stackId=0 mSession=Session{31e3c7d 3033:1000} mClient=android.os.BinderProxy@46b4a54
mOwnerUid=1000 mShowToOwnerOnly=true package=com.lge.signboard appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) gr=#11 sim=#20 ty=3004 fl=#1840008 wanim=0x1030383 clr=0x1}
Requested w=1440 h=160 mLayoutSeq=93
mHasSurface=false mShownFrame=[0.0,-160.0][1440.0,0.0] isReadyForDisplay()=false
WindowStateAnimator{c05ccc6 SecondScreen_System_com.lge.signboard (0)}:
mLastFreezeDuration=+54s245ms
Window #8 Window{ebb170 u0 SecondScreen_Base_com.lge.signboard (0)}:
mDisplayId=0 stackId=0 mSession=Session{31e3c7d 3033:1000} mClient=android.os.BinderProxy@f4677b3
mOwnerUid=1000 mShowToOwnerOnly=true package=com.lge.signboard appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) gr=#11 sim=#20 ty=3001 fl=#1840008 wanim=0x1030383 clr=0x1 statusbarl=true}
Requested w=1440 h=160 mLayoutSeq=100
mHasSurface=true mShownFrame=[0.0,-160.0][1440.0,0.0] isReadyForDisplay()=true
WindowStateAnimator{cd132a1 SecondScreen_Base_com.lge.signboard (0)}:
Surface: shown=true layer=141005 alpha=1.0 rect=(0.0,-160.0) 1440.0 x 160.0
Not sure if it can be done yet, but I'm thinking we might be able to show the 2nd screen too, which would then fix the touch coordinates as well.
<no ANR has occurred since boot>
WINDOW MANAGER POLICY STATE (dumpsys window policy)
mSafeMode=false mSystemReady=true mSystemBooted=true
mLidState=-1 mLidOpenRotation=-1 mCameraLensCoverState=-1 mHdmiPlugged=false
mLastSystemUiFlags=0x1608600 mResettingSystemUiFlags=0x0 mForceClearedSystemUiFlags=0x0
mWakeGestureEnabledSetting=true
mSupportAutoRotation=true
mUiMode=1 mDockMode=0 mCarDockRotation=-1 mDeskDockRotation=-1
mUserRotationMode=0 mUserRotation=0 mAllowAllRotations=0
mCurrentAppOrientation=5
mCarDockEnablesAccelerometer=true mDeskDockEnablesAccelerometer=true
mLidKeyboardAccessibility=0 mLidNavigationAccessibility=0 mLidControlsSleep=false
mShortPressOnPowerBehavior=1 mLongPressOnPowerBehavior=1
mDoublePressOnPowerBehavior=0 mTriplePressOnPowerBehavior=0
mHasSoftInput=true
mAwake=true
mScreenOnEarly=true mScreenOnFully=true
mKeyguardDrawComplete=true mWindowManagerDrawComplete=true
mOrientationSensorEnabled=true
mOverscanScreen=(0,0) 720x1280
mRestrictedOverscanScreen=(0,0) 720x1184
mUnrestrictedScreen=(0,0) 720x1280
mRestrictedScreen=(0,0) 720x1184
mStableFullscreen=(0,0)-(720,1184)
mStable=(0,48)-(720,1184)
mSystem=(0,0)-(720,1280)
mCur=(0,48)-(720,1184)
mContent=(0,48)-(720,1184)
mVoiceContent=(0,48)-(720,1184)
mDock=(0,48)-(720,1184)
mDockLayer=268435456 mStatusBarLayer=161010
mShowingLockscreen=true mShowingDream=false mDreamingLockscreen=true mDreamingSleepToken=null
mStatusBar=Window{b78ce30 u0 StatusBar} isStatusBarKeyguard=true
mNavigationBar=Window{d766f06 u0 NavigationBar}
mFocusedWindow=Window{b78ce30 u0 StatusBar}
mTopFullscreenOpaqueWindowState=Window{8f89a30 u0 com.lge.launcher3/com.lge.launcher3.LauncherExtension}
mTopFullscreenOpaqueOrDimmingWindowState=Window{8f89a30 u0 com.lge.launcher3/com.lge.launcher3.LauncherExtension}
mTopIsFullscreen=false mHideLockScreen=false
mForceStatusBar=false mForceStatusBarFromKeyguard=true
mDismissKeyguard=0 mWinDismissingKeyguard=null mHomePressed=false
mAllowLockscreenWhenOn=false mLockScreenTimeout=120000 mLockScreenTimerActive=false
mEndcallBehavior=2 mIncallPowerBehavior=1 mLongPressOnHomeBehavior=2
mLandscapeRotation=1 mSeascapeRotation=3
mPortraitRotation=0 mUpsideDownRotation=2
mDemoHdmiRotation=1 mDemoHdmiRotationLock=false
mUndockedHdmiRotation=-1
mKeyMapping.size=0
BarController.StatusBar
mState=WINDOW_STATE_SHOWING
mTransientBar=TRANSIENT_BAR_NONE
BarController.NavigationBar
mState=WINDOW_STATE_HIDDEN
mTransientBar=TRANSIENT_BAR_NONE
PolicyControl.sImmersiveStatusFilter=null
PolicyControl.sImmersiveNavigationFilter=null
PolicyControl.sImmersivePreconfirmationsFilter=null
WakeGestureListener
mTriggerRequested=false
mSensor=null
WindowOrientationListener
mEnabled=true
mCurrentRotation=0
mSensorType=@0
mSensor={Sensor name="LGE 3-axis Accelerometer", vendor="STMicroelectronics", version=1, type=1, maxRange=78.4532, resolution=0.0, power=0.033, minDelay=10000}
mRate=2
AccelSensorJudge
mProposedRotation=-1
mPredictedRotation=-1
mLastFilteredX=-0.14915289
mLastFilteredY=-0.17744154
mLastFilteredZ=9.7459955
mLastFilteredTimestampNanos=734680207344490 (13.105729ms ago)
mTiltHistory={last: 89.0}
mFlat=true
mSwinging=false
mAccelerating=false
mOverhead=false
mTouched=false
mTiltToleranceConfig=[[-25, 70], [-25, 65], [-25, 60], [-25, 65]]
KeyguardServiceDelegate
showing=true
showingAndNotOccluded=false
inputRestricted=true
occluded=false
secure=false
dreaming=false
systemIsReady=true
deviceHasKeyguard=true
enabled=false
offReason=3
currentUser=0
bootCompleted=true
screenState=2
interactiveState=2
KeyguardStateMonitor
mIsShowing=true
mSimSecure=false
mInputRestricted=true
mCurrentUserId=0
mMenuLongPressEnabled=true
mRecentKeyLongpressEnabled=true
mRearSideKeyEnable =false
mHWMenuKeyDB =0
sSupporLightSensor=true
mVolumeKeyShortcutStatus=1
mVolumeKeyUpDownComboEnabled=false
sVolumeUpKeyShortcutAction=2
sVolumeDownKeyShortcutAction=1
mVolumeKeyLongPressEnabled=true
mVolumeKeyDoublePressEnabled=true
mSimSwitchingKey=false
mFourthKeySharing=false
mAccelSensorNotSupported=false
mSupportQuickMemo=true
mQuickMemoInstalled=true
mHotKeyCustomizing=false
mHotKeyLongPressEnabled=false
mHotKeyMode=0
mHomeKeyExceptionInECMMode=false
mScreenOffKey=true
sKeyExceptionWinState=Window{8f89a30 u0 com.lge.launcher3/com.lge.launcher3.LauncherExtension}
sPowerKeyScreenOnInCalling=true
mHWKeyControlMode=false
mRestartActionConfigEnabled=false
mPowerVolumeDownReset=true
mSupportForcedPowerOff=false
mDualWindowKeyStatus=0
mDualWindowByBackLongPressed=false
WINDOW MANAGER ANIMATOR STATE (dumpsys window animator)
DisplayContentsAnimator #0:
Window #0: WindowStateAnimator{a388439 com.android.systemui.ImageWallpaper}
Window #1: WindowStateAnimator{f6fda7e com.android.settings/com.android.settings.applications.InstalledAppDetails}
Window #2: WindowStateAnimator{2a69bdf com.android.settings/com.android.settings.SubSettings}
Window #3: WindowStateAnimator{1e8802c com.android.settings/com.lge.settings.easy.EasySettings}
Window #4: WindowStateAnimator{5142af5 com.android.settings/com.android.settings.Settings$ManageApplicationsActivity}
Window #5: WindowStateAnimator{d2b208a com.ohmibod.remote2/com.ohmibod.remote2.PlayActivity}
Window #6: WindowStateAnimator{40316fb com.ohmibod.remote2/com.ohmibod.remote2.MainActivity}
Window #7: WindowStateAnimator{7737318 com.android.systemui/com.android.systemui.recents.RecentsActivity}
Window #8: WindowStateAnimator{5c98171 com.lge.launcher3/com.lge.launcher3.LauncherExtension}
Window #9: WindowStateAnimator{aa2bb56 InputMethod}
Window #10: WindowStateAnimator{6e227d7 AssistPreviewPanel}
Window #11: WindowStateAnimator{db8a8c4 ClipTray}
Window #12: WindowStateAnimator{6a3c3ad CliptrayCue}
Window #13: WindowStateAnimator{e2736e2 SecondScreen_StatusBar_com.android.systemui (0)}
Window #14: WindowStateAnimator{e376a73 KeyguardScrim}
Window #15: WindowStateAnimator{7f98d30 SecondScreen_Base_com.lge.signboard (0)}
Window #16: WindowStateAnimator{165eda9 SecondScreen_System_com.lge.signboard (0)}
Window #17: WindowStateAnimator{85df2e SurfaceView}
Window #18: WindowStateAnimator{e943acf StatusBar}
Window #19: WindowStateAnimator{a224c5c NavigationBar}
mBulkUpdateParams=0x8 ORIENTATION_CHANGE_COMPLETE
WINDOW MANAGER SESSIONS (dumpsys window sessions)
Session Session{18d8d22 906:u0a10125}:
mNumWindow=2 mClientDead=false mSurfaceSession=android.view.SurfaceSession@f06bb65
Session Session{2cf7056 4465:u0a10033}:
mNumWindow=1 mClientDead=false mSurfaceSession=android.view.SurfaceSession@814c03a
Session Session{325dc41 4253:u0a10025}:
mNumWindow=1 mClientDead=false mSurfaceSession=android.view.SurfaceSession@a43b4eb
Session Session{3523da1 1659:1000}:
mNumWindow=1 mClientDead=false mSurfaceSession=android.view.SurfaceSession@8b5d248
Session Session{44cc373 13259:1000}:
mNumWindow=4 mClientDead=false mSurfaceSession=android.view.SurfaceSession@72ca8e1
Session Session{53fa0ad 3610:u0a10040}:
mNumWindow=7 mClientDead=false mSurfaceSession=android.view.SurfaceSession@87ea606
Session Session{a2f0b84 4404:1001}:
mNumWindow=0 mClientDead=false mSurfaceSession=android.view.SurfaceSession@326b4c7
Session Session{bca7e8a 3616:1000}:
mNumWindow=2 mClientDead=false mSurfaceSession=android.view.SurfaceSession@b79caf4
Session Session{e1a8528 4292:1000}:
mNumWindow=2 mClientDead=false mSurfaceSession=android.view.SurfaceSession@b69f21d
WINDOW MANAGER DISPLAY CONTENTS (dumpsys window displays)
Display: mDisplayId=0
init=720x1360 320dpi cur=720x1280 app=720x1184 rng=720x672-1104x1056
deferred=false layoutNeeded=false
mStacks[1]0
mStackId=0
mDeferDetach=false
{taskId=60 appTokens=[AppWindowToken{1029184 token=Token{e733b97 ActivityRecord{9c0c616 u0 com.android.systemui/.recents.RecentsActivity t60}}}] mdr=false}
{taskId=55 appTokens=[AppWindowToken{769d636 token=Token{1e2bbd1 ActivityRecord{55d9af8 u0 com.lge.launcher3/.LauncherExtension t55}}}] mdr=false}
mStacks[0]11
mStackId=11
mDeferDetach=false
{taskId=146 appTokens=[AppWindowToken{6b909da token=Token{265aaf7 ActivityRecord{103d6f6 u0 com.android.settings/.Settings$ManageApplicationsActivity t146}}}, AppWindowToken{337f383 token=Token{1befa32 ActivityRecord{2a13fe7 u0 com.android.settings/.applications.InstalledAppDetails t146}}}, AppWindowToken{bef7992 token=Token{d0da31d ActivityRecord{d899ff4 u0 com.android.settings/.SubSettings t146}}}] mdr=false}
{taskId=149 appTokens=[AppWindowToken{8957f27 token=Token{bf04f28 ActivityRecord{ed8994b u0 com.android.settings/com.lge.settings.easy.EasySettings t149}}}, AppWindowToken{9c35839 token=Token{7b6c800 ActivityRecord{92c8e83 u0 com.android.settings/.Settings$ManageApplicationsActivity t149}}}] mdr=false}
{taskId=150 appTokens=[AppWindowToken{1164d1d token=Token{302b1f4 ActivityRecord{736d7c7 u0 com.android.vending/com.google.android.finsky.activities.MainActivity t150}}}] mdr=false}
{taskId=152 appTokens=[AppWindowToken{521d2ff token=Token{41712a0 ActivityRecord{d4adfa3 u0 com.ohmibod.remote2/.PlayActivity t152}}}, AppWindowToken{3ecef01 token=Token{e10dce8 ActivityRecord{78fc60b u0 com.ohmibod.remote2/.MainActivity t152}}}] mdr=false}
Application tokens in top down Z order:
mStackId=0
mTaskId=55
Activity #0 AppWindowToken{769d636 token=Token{1e2bbd1 ActivityRecord{55d9af8 u0 com.lge.launcher3/.LauncherExtension t55}}}:
windows=[Window{8f89a30 u0 com.lge.launcher3/com.lge.launcher3.LauncherExtension}]
windowType=2 hidden=false hasVisible=true
app=true voiceInteraction=false
allAppWindows=[Window{8f89a30 u0 com.lge.launcher3/com.lge.launcher3.LauncherExtension}]
task={taskId=55 appTokens=[AppWindowToken{769d636 token=Token{1e2bbd1 ActivityRecord{55d9af8 u0 com.lge.launcher3/.LauncherExtension t55}}}] mdr=false}
appFullscreen=true requestedOrientation=5
hiddenRequested=false clientHidden=false willBeHidden=false reportedDrawn=true reportedVisible=true
numInterestingWindows=1 numDrawnWindows=1 inPendingTransaction=false allDrawn=true (animator=true)
startingData=null removed=false firstWindowDrawn=true mIsExiting=false
mTaskId=60
Activity #0 AppWindowToken{1029184 token=Token{e733b97 ActivityRecord{9c0c616 u0 com.android.systemui/.recents.RecentsActivity t60}}}:
windows=[Window{6f63b4 u0 com.android.systemui/com.android.systemui.recents.RecentsActivity}]
windowType=2 hidden=true hasVisible=true
app=true voiceInteraction=false
allAppWindows=[Window{6f63b4 u0 com.android.systemui/com.android.systemui.recents.RecentsActivity}]
task={taskId=60 appTokens=[AppWindowToken{1029184 token=Token{e733b97 ActivityRecord{9c0c616 u0 com.android.systemui/.recents.RecentsActivity t60}}}] mdr=false}
appFullscreen=true requestedOrientation=3
hiddenRequested=true clientHidden=true willBeHidden=false reportedDrawn=false reportedVisible=false
numInterestingWindows=1 numDrawnWindows=1 inPendingTransaction=false allDrawn=true (animator=true)
startingData=com.android.server.wm.StartingData@19faedb removed=false firstWindowDrawn=true mIsExiting=false
mStackId=11
mTaskId=152
Activity #1 AppWindowToken{3ecef01 token=Token{e10dce8 ActivityRecord{78fc60b u0 com.ohmibod.remote2/.MainActivity t152}}}:
windows=[Window{a8eb83 u0 com.ohmibod.remote2/com.ohmibod.remote2.MainActivity}]
windowType=2 hidden=true hasVisible=true
app=true voiceInteraction=false
allAppWindows=[Window{a8eb83 u0 com.ohmibod.remote2/com.ohmibod.remote2.MainActivity}]
task={taskId=152 appTokens=[AppWindowToken{521d2ff token=Token{41712a0 ActivityRecord{d4adfa3 u0 com.ohmibod.remote2/.PlayActivity t152}}}, AppWindowToken{3ecef01 token=Token{e10dce8 ActivityRecord{78fc60b u0 com.ohmibod.remote2/.MainActivity t152}}}] mdr=false}
appFullscreen=true requestedOrientation=1
hiddenRequested=true clientHidden=true willBeHidden=false reportedDrawn=false reportedVisible=false
numInterestingWindows=2 numDrawnWindows=2 inPendingTransaction=false allDrawn=true (animator=true)
startingData=null removed=false firstWindowDrawn=true mIsExiting=false
Activity #0 AppWindowToken{521d2ff token=Token{41712a0 ActivityRecord{d4adfa3 u0 com.ohmibod.remote2/.PlayActivity t152}}}:
windows=[Window{8880fc9 u0 com.ohmibod.remote2/com.ohmibod.remote2.PlayActivity}]
windowType=2 hidden=true hasVisible=true
app=true voiceInteraction=false
allAppWindows=[Window{8880fc9 u0 com.ohmibod.remote2/com.ohmibod.remote2.PlayActivity}]
task={taskId=152 appTokens=[AppWindowToken{521d2ff token=Token{41712a0 ActivityRecord{d4adfa3 u0 com.ohmibod.remote2/.PlayActivity t152}}}, AppWindowToken{3ecef01 token=Token{e10dce8 ActivityRecord{78fc60b u0 com.ohmibod.remote2/.MainActivity t152}}}] mdr=false}
appFullscreen=true requestedOrientation=1
hiddenRequested=true clientHidden=true willBeHidden=false reportedDrawn=false reportedVisible=false
numInterestingWindows=2 numDrawnWindows=2 inPendingTransaction=false allDrawn=true (animator=true)
startingData=null removed=false firstWindowDrawn=true mIsExiting=false
mTaskId=150
Activity #0 AppWindowToken{1164d1d token=Token{302b1f4 ActivityRecord{736d7c7 u0 com.android.vending/com.google.android.finsky.activities.MainActivity t150}}}:
windows=[]
windowType=2 hidden=true hasVisible=true
app=true voiceInteraction=false
task={taskId=150 appTokens=[AppWindowToken{1164d1d token=Token{302b1f4 ActivityRecord{736d7c7 u0 com.android.vending/com.google.android.finsky.activities.MainActivity t150}}}] mdr=false}
appFullscreen=true requestedOrientation=-1
hiddenRequested=true clientHidden=true willBeHidden=false reportedDrawn=false reportedVisible=false
numInterestingWindows=1 numDrawnWindows=1 inPendingTransaction=false allDrawn=true (animator=true)
mTaskId=149
Activity #1 AppWindowToken{9c35839 token=Token{7b6c800 ActivityRecord{92c8e83 u0 com.android.settings/.Settings$ManageApplicationsActivity t149}}}:
windows=[Window{6bb305c u0 com.android.settings/com.android.settings.Settings$ManageApplicationsActivity}]
windowType=2 hidden=true hasVisible=true
app=true voiceInteraction=false
allAppWindows=[Window{6bb305c u0 com.android.settings/com.android.settings.Settings$ManageApplicationsActivity}]
task={taskId=149 appTokens=[AppWindowToken{8957f27 token=Token{bf04f28 ActivityRecord{ed8994b u0 com.android.settings/com.lge.settings.easy.EasySettings t149}}}, AppWindowToken{9c35839 token=Token{7b6c800 ActivityRecord{92c8e83 u0 com.android.settings/.Settings$ManageApplicationsActivity t149}}}] mdr=false}
appFullscreen=true requestedOrientation=-1
hiddenRequested=true clientHidden=true willBeHidden=false reportedDrawn=false reportedVisible=false
numInterestingWindows=1 numDrawnWindows=1 inPendingTransaction=false allDrawn=true (animator=true)
startingData=null removed=false firstWindowDrawn=true mIsExiting=false
Activity #0 AppWindowToken{8957f27 token=Token{bf04f28 ActivityRecord{ed8994b u0 com.android.settings/com.lge.settings.easy.EasySettings t149}}}:
windows=[Window{8fd83e9 u0 com.android.settings/com.lge.settings.easy.EasySettings}]
windowType=2 hidden=true hasVisible=true
app=true voiceInteraction=false
allAppWindows=[Window{8fd83e9 u0 com.android.settings/com.lge.settings.easy.EasySettings}]
task={taskId=149 appTokens=[AppWindowToken{8957f27 token=Token{bf04f28 ActivityRecord{ed8994b u0 com.android.settings/com.lge.settings.easy.EasySettings t149}}}, AppWindowToken{9c35839 token=Token{7b6c800 ActivityRecord{92c8e83 u0 com.android.settings/.Settings$ManageApplicationsActivity t149}}}] mdr=false}
appFullscreen=true requestedOrientation=-1
hiddenRequested=true clientHidden=true willBeHidden=false reportedDrawn=false reportedVisible=false
numInterestingWindows=2 numDrawnWindows=2 inPendingTransaction=false allDrawn=true (animator=true)
startingData=null removed=false firstWindowDrawn=true mIsExiting=false
mTaskId=146
Activity #2 AppWindowToken{bef7992 token=Token{d0da31d ActivityRecord{d899ff4 u0 com.android.settings/.SubSettings t146}}}:
windows=[Window{8977589 u0 com.android.settings/com.android.settings.SubSettings}]
windowType=2 hidden=true hasVisible=true
app=true voiceInteraction=false
allAppWindows=[Window{8977589 u0 com.android.settings/com.android.settings.SubSettings}]
task={taskId=146 appTokens=[AppWindowToken{6b909da token=Token{265aaf7 ActivityRecord{103d6f6 u0 com.android.settings/.Settings$ManageApplicationsActivity t146}}}, AppWindowToken{337f383 token=Token{1befa32 ActivityRecord{2a13fe7 u0 com.android.settings/.applications.InstalledAppDetails t146}}}, AppWindowToken{bef7992 token=Token{d0da31d ActivityRecord{d899ff4 u0 com.android.settings/.SubSettings t146}}}] mdr=false}
appFullscreen=true requestedOrientation=-1
hiddenRequested=true clientHidden=true willBeHidden=false reportedDrawn=false reportedVisible=false
numInterestingWindows=2 numDrawnWindows=2 inPendingTransaction=false allDrawn=true (animator=true)
startingData=null removed=false firstWindowDrawn=true mIsExiting=false
Activity #1 AppWindowToken{337f383 token=Token{1befa32 ActivityRecord{2a13fe7 u0 com.android.settings/.applications.InstalledAppDetails t146}}}:
windows=[Window{32623cf u0 com.android.settings/com.android.settings.applications.InstalledAppDetails}]
windowType=2 hidden=true hasVisible=true
app=true voiceInteraction=false
allAppWindows=[Window{32623cf u0 com.android.settings/com.android.settings.applications.InstalledAppDetails}]
task={taskId=146 appTokens=[AppWindowToken{6b909da token=Token{265aaf7 ActivityRecord{103d6f6 u0 com.android.settings/.Settings$ManageApplicationsActivity t146}}}, AppWindowToken{337f383 token=Token{1befa32 ActivityRecord{2a13fe7 u0 com.android.settings/.applications.InstalledAppDetails t146}}}, AppWindowToken{bef7992 token=Token{d0da31d ActivityRecord{d899ff4 u0 com.android.settings/.SubSettings t146}}}] mdr=false}
appFullscreen=true requestedOrientation=-1
hiddenRequested=true clientHidden=true willBeHidden=false reportedDrawn=false reportedVisible=false
numInterestingWindows=1 numDrawnWindows=1 inPendingTransaction=false allDrawn=true (animator=true)
startingData=null removed=false firstWindowDrawn=true mIsExiting=false
Activity #0 AppWindowToken{6b909da token=Token{265aaf7 ActivityRecord{103d6f6 u0 com.android.settings/.Settings$ManageApplicationsActivity t146}}}:
windows=[]
windowType=2 hidden=true hasVisible=true
app=true voiceInteraction=false
task={taskId=146 appTokens=[AppWindowToken{6b909da token=Token{265aaf7 ActivityRecord{103d6f6 u0 com.android.settings/.Settings$ManageApplicationsActivity t146}}}, AppWindowToken{337f383 token=Token{1befa32 ActivityRecord{2a13fe7 u0 com.android.settings/.applications.InstalledAppDetails t146}}}, AppWindowToken{bef7992 token=Token{d0da31d ActivityRecord{d899ff4 u0 com.android.settings/.SubSettings t146}}}] mdr=false}
appFullscreen=true requestedOrientation=-1
hiddenRequested=true clientHidden=true willBeHidden=false reportedDrawn=false reportedVisible=false
numInterestingWindows=0 numDrawnWindows=0 inPendingTransaction=false allDrawn=true (animator=true)
WINDOW MANAGER TOKENS (dumpsys window tokens)
All tokens:
WindowToken{a65d78 null}
AppWindowToken{3ecef01 token=Token{e10dce8 ActivityRecord{78fc60b u0 com.ohmibod.remote2/.MainActivity t152}}}
AppWindowToken{bef7992 token=Token{d0da31d ActivityRecord{d899ff4 u0 com.android.settings/.SubSettings t146}}}
AppWindowToken{6b909da token=Token{265aaf7 ActivityRecord{103d6f6 u0 com.android.settings/.Settings$ManageApplicationsActivity t146}}}
AppWindowToken{769d636 token=Token{1e2bbd1 ActivityRecord{55d9af8 u0 com.lge.launcher3/.LauncherExtension t55}}}
WindowToken{a208c51 android.os.Binder@a4f60da}
AppWindowToken{521d2ff token=Token{41712a0 ActivityRecord{d4adfa3 u0 com.ohmibod.remote2/.PlayActivity t152}}}
AppWindowToken{8957f27 token=Token{bf04f28 ActivityRecord{ed8994b u0 com.android.settings/com.lge.settings.easy.EasySettings t149}}}
AppWindowToken{9c35839 token=Token{7b6c800 ActivityRecord{92c8e83 u0 com.android.settings/.Settings$ManageApplicationsActivity t149}}}
AppWindowToken{1029184 token=Token{e733b97 ActivityRecord{9c0c616 u0 com.android.systemui/.recents.RecentsActivity t60}}}
AppWindowToken{1164d1d token=Token{302b1f4 ActivityRecord{736d7c7 u0 com.android.vending/com.google.android.finsky.activities.MainActivity t150}}}
AppWindowToken{337f383 token=Token{1befa32 ActivityRecord{2a13fe7 u0 com.android.settings/.applications.InstalledAppDetails t146}}}
WindowToken{2429cb6 android.os.Binder@96af31b}
WindowToken{ce05db7 android.os.BinderProxy@9170f73}
Wallpaper tokens:
Wallpaper #0 WindowToken{2429cb6 android.os.Binder@96af31b}
WINDOW MANAGER WINDOWS (dumpsys window windows)
Window #19 Window{d766f06 u0 NavigationBar}:
mDisplayId=0 stackId=0 mSession=Session{53fa0ad 3610:u0a10040} mClient=android.os.BinderProxy@371f5e1
mOwnerUid=10040 mShowToOwnerOnly=false package=com.android.systemui appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#20 ty=2019 fl=#21840068 fmt=-3 clr=0x1}
Requested w=720 h=96 mLayoutSeq=6957
mHasSurface=false mShownFrame=[0.0,1184.0][720.0,1280.0] isReadyForDisplay()=false
WindowStateAnimator{a224c5c NavigationBar}:
mAnimating=false mLocalAnimating=false mAnimationIsEntrance=true mAnimation=null
Window #18 Window{b78ce30 u0 StatusBar}:
mDisplayId=0 stackId=0 mSession=Session{53fa0ad 3610:u0a10040} mClient=android.os.BinderProxy@9170f73
mOwnerUid=10040 mShowToOwnerOnly=false package=com.android.systemui appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) gr=#30 sim=#10 ty=2000 fl=#81860060 pfl=0x400 fmt=-3 or=5 vsysui=0x1600600 if=0x4 userActivityTimeout=10000 clr=0x1}
Requested w=720 h=48 mLayoutSeq=6974
mHasSurface=true mShownFrame=[0.0,0.0][720.0,1280.0] isReadyForDisplay()=true
WindowStateAnimator{e943acf StatusBar}:
mAnimating=false mLocalAnimating=false mAnimationIsEntrance=true mAnimation=null
Surface: shown=true layer=161010 alpha=1.0 rect=(0.0,0.0) 720.0 x 1280.0
mLastFreezeDuration=+2d13h21m29s428ms
Window #17 Window{a9fd924 u0 SurfaceView}:
mDisplayId=0 stackId=0 mSession=Session{53fa0ad 3610:u0a10040} mClient=android.os.BinderProxy@4fc64f3
mOwnerUid=10040 mShowToOwnerOnly=true package=null appop=NONE
mAttrs=WM.LayoutParams{(0,0)(720x1280) gr=#800033 ty=1001 fl=#4218 pfl=0x40 fmt=-3 clr=0x1}
Requested w=720 h=1280 mLayoutSeq=6974
mAttachedWindow=Window{b78ce30 u0 StatusBar} mLayoutAttached=true
mHasSurface=true mShownFrame=[0.0,0.0][720.0,1280.0] isReadyForDisplay()=true
WindowStateAnimator{85df2e SurfaceView}:
Surface: shown=true layer=161005 alpha=1.0 rect=(0.0,0.0) 720.0 x 1280.0
mLastFreezeDuration=+1h52m3s855ms
Window #16 Window{9c16423 u0 SecondScreen_System_com.lge.signboard (0)}:
mDisplayId=0 stackId=0 mSession=Session{bca7e8a 3616:1000} mClient=android.os.BinderProxy@3fb4952
mOwnerUid=1000 mShowToOwnerOnly=true package=com.lge.signboard appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) gr=#11 sim=#20 ty=3004 fl=#1840008 wanim=0x1030383 clr=0x1}
Requested w=720 h=80 mLayoutSeq=6935
mHasSurface=false mShownFrame=[0.0,-80.0][720.0,0.0] isReadyForDisplay()=false
WindowStateAnimator{165eda9 SecondScreen_System_com.lge.signboard (0)}:
Window #15 Window{6d9f956 u0 SecondScreen_Base_com.lge.signboard (0)}:
mDisplayId=0 stackId=0 mSession=Session{bca7e8a 3616:1000} mClient=android.os.BinderProxy@b7ef771
mOwnerUid=1000 mShowToOwnerOnly=true package=com.lge.signboard appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) gr=#11 sim=#20 ty=3001 fl=#1840008 wanim=0x1030383 clr=0x1 statusbarl=true}
Requested w=720 h=80 mLayoutSeq=6974
mHasSurface=true mShownFrame=[0.0,-80.0][720.0,0.0] isReadyForDisplay()=true
WindowStateAnimator{7f98d30 SecondScreen_Base_com.lge.signboard (0)}:
Surface: shown=true layer=141005 alpha=1.0 rect=(0.0,-80.0) 720.0 x 80.0
mLastFreezeDuration=+143ms
Window #14 Window{d08f6b4 u0 KeyguardScrim}:
mDisplayId=0 stackId=0 mSession=Session{3523da1 1659:1000} mClient=android.view.ViewRootImplAO$WEx@b8c3787
mOwnerUid=1000 mShowToOwnerOnly=false package=android appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#10 ty=2029 fl=#1110900 pfl=0x1 fmt=-3 or=5 vsysui=0x3610000 clr=0x1}
Requested w=720 h=1184 mLayoutSeq=35
mHasSurface=false mShownFrame=[0.0,0.0][720.0,1184.0] isReadyForDisplay()=false
WindowStateAnimator{e376a73 KeyguardScrim}:
Window #13 Window{e35b98b u0 SecondScreen_StatusBar_com.android.systemui (0)}:
mDisplayId=0 stackId=0 mSession=Session{53fa0ad 3610:u0a10040} mClient=android.os.BinderProxy@86f735a
mOwnerUid=10040 mShowToOwnerOnly=false package=com.android.systemui appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) gr=#11 sim=#20 ty=3002 fl=#1840008 wanim=0x103045b clr=0x1 statusbarl=true}
Requested w=720 h=80 mLayoutSeq=6974
mHasSurface=true mShownFrame=[0.0,-80.0][720.0,0.0] isReadyForDisplay()=true
WindowStateAnimator{e2736e2 SecondScreen_StatusBar_com.android.systemui (0)}:
Surface: shown=true layer=131000 alpha=1.0 rect=(0.0,-80.0) 720.0 x 80.0
mLastFreezeDuration=+289ms
Window #12 Window{94c7335 u0 CliptrayCue}:
mDisplayId=0 stackId=0 mSession=Session{e1a8528 4292:1000} mClient=android.os.BinderProxy@cafc16c
mOwnerUid=1000 mShowToOwnerOnly=false package=com.lge.systemservice appop=NONE
mAttrs=WM.LayoutParams{(0,580)(37x114) gr=#55 sim=#30 ty=2008 fl=#1040228 fmt=1 clr=0x1}
Requested w=0 h=0 mLayoutSeq=4638
mPolicyVisibility=false mPolicyVisibilityAfterAnim=false mAppOpVisibility=true mAttachedHidden=false
mHasSurface=false mShownFrame=[0.0,0.0][0.0,0.0] isReadyForDisplay()=false
WindowStateAnimator{6a3c3ad CliptrayCue}:
mShownAlpha=0.0 mAlpha=1.0 mLastAlpha=0.0
Window #11 Window{597917d u0 ClipTray}:
mDisplayId=0 stackId=0 mSession=Session{e1a8528 4292:1000} mClient=android.os.BinderProxy@d26cbd4
mOwnerUid=1000 mShowToOwnerOnly=false package=com.lge.systemservice appop=NONE
mAttrs=WM.LayoutParams{(0,0)(720x580) gr=#53 sim=#30 ty=2008 fl=#1040228 fmt=1 wanim=0x7f0a0001 clr=0x1}
Requested w=0 h=0 mLayoutSeq=4636
mPolicyVisibility=false mPolicyVisibilityAfterAnim=false mAppOpVisibility=true mAttachedHidden=false
mHasSurface=false mShownFrame=[0.0,0.0][0.0,0.0] isReadyForDisplay()=false
WindowStateAnimator{db8a8c4 ClipTray}:
mShownAlpha=0.0 mAlpha=1.0 mLastAlpha=0.0
Window #10 Window{e1e5c63 u0 AssistPreviewPanel}:
mDisplayId=0 stackId=0 mSession=Session{53fa0ad 3610:u0a10040} mClient=android.os.BinderProxy@acbfa92
mOwnerUid=10040 mShowToOwnerOnly=true package=com.android.systemui appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillx500) gr=#800053 sim=#31 ty=2033 fl=#1000118 fmt=-3 vsysui=0x700 clr=0x1}
Requested w=0 h=0 mLayoutSeq=4645
mPolicyVisibility=false mPolicyVisibilityAfterAnim=false mAppOpVisibility=true mAttachedHidden=false
mHasSurface=false mShownFrame=[0.0,0.0][0.0,0.0] isReadyForDisplay()=false
WindowStateAnimator{6e227d7 AssistPreviewPanel}:
mShownAlpha=0.0 mAlpha=1.0 mLastAlpha=0.0
Window #9 Window{a459dd4 u0 InputMethod}:
mDisplayId=0 stackId=0 mSession=Session{325dc41 4253:u0a10025} mClient=android.os.BinderProxy@8048727
mOwnerUid=10025 mShowToOwnerOnly=true package=com.lge.ime appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxwrap) gr=#50 sim=#20 ty=2011 fl=#1800108 pfl=0x10000 fmt=-2 wanim=0x1030056 vsysui=0x300 needsMenuKey=2 clr=0x1}
Requested w=720 h=1151 mLayoutSeq=6890
mIsImWindow=true mIsWallpaper=false mIsFloatingLayer=true mWallpaperVisible=false
mPolicyVisibility=false mPolicyVisibilityAfterAnim=false mAppOpVisibility=true mAttachedHidden=false
mHasSurface=false mShownFrame=[0.0,129.0][720.0,1280.0] isReadyForDisplay()=false
WindowStateAnimator{aa2bb56 InputMethod}:
mShownAlpha=1.0 mAlpha=1.0 mLastAlpha=0.0
Window #8 Window{8f89a30 u0 com.lge.launcher3/com.lge.launcher3.LauncherExtension}:
mDisplayId=0 stackId=0 mSession=Session{2cf7056 4465:u0a10033} mClient=android.os.BinderProxy@8c68b73
mOwnerUid=10033 mShowToOwnerOnly=true package=com.lge.launcher3 appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#120 ty=1 fl=#81910100 fmt=-3 wanim=0x103045b vsysui=0x700 needsMenuKey=2 clr=0x1}
Requested w=720 h=1280 mLayoutSeq=6974
mPolicyVisibility=false mPolicyVisibilityAfterAnim=false mAppOpVisibility=true mAttachedHidden=false
mHasSurface=true mShownFrame=[0.0,0.0][720.0,1280.0] isReadyForDisplay()=false
WindowStateAnimator{5c98171 com.lge.launcher3/com.lge.launcher3.LauncherExtension}:
Surface: shown=false layer=21040 alpha=1.0 rect=(0.0,0.0) 720.0 x 1280.0
mWallpaperX=0.0 mWallpaperY=0.5
mWallpaperXStep=0.33333334 mWallpaperYStep=1.0
Window #7 Window{6f63b4 u0 com.android.systemui/com.android.systemui.recents.RecentsActivity}:
mDisplayId=0 stackId=0 mSession=Session{53fa0ad 3610:u0a10040} mClient=android.os.BinderProxy@e043887
mOwnerUid=10040 mShowToOwnerOnly=true package=com.android.systemui appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#120 ty=1 fl=#81910100 fmt=-2 wanim=0x7f0f0005 vsysui=0x700 needsMenuKey=2 clr=0x1}
Requested w=720 h=1280 mLayoutSeq=5926
mPolicyVisibility=false mPolicyVisibilityAfterAnim=false mAppOpVisibility=true mAttachedHidden=false
mHasSurface=false mShownFrame=[0.0,0.0][720.0,1280.0] isReadyForDisplay()=false
WindowStateAnimator{7737318 com.android.systemui/com.android.systemui.recents.RecentsActivity}:
Window #6 Window{a8eb83 u0 com.ohmibod.remote2/com.ohmibod.remote2.MainActivity}:
mDisplayId=0 stackId=11 mSession=Session{18d8d22 906:u0a10125} mClient=android.os.BinderProxy@af8d232
mOwnerUid=10125 mShowToOwnerOnly=true package=com.ohmibod.remote2 appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#23 ty=1 fl=#81810580 wanim=0x103045b vsysui=0x700 needsMenuKey=2 clr=0x1}
Requested w=720 h=1280 mLayoutSeq=6936
mPolicyVisibility=false mPolicyVisibilityAfterAnim=false mAppOpVisibility=true mAttachedHidden=false
mHasSurface=false mShownFrame=[0.0,0.0][720.0,1280.0] isReadyForDisplay()=false
WindowStateAnimator{40316fb com.ohmibod.remote2/com.ohmibod.remote2.MainActivity}:
mShownAlpha=1.0 mAlpha=1.0 mLastAlpha=0.0
Window #5 Window{8880fc9 u0 com.ohmibod.remote2/com.ohmibod.remote2.PlayActivity}:
mDisplayId=0 stackId=11 mSession=Session{18d8d22 906:u0a10125} mClient=android.os.BinderProxy@6e463d0
mOwnerUid=10125 mShowToOwnerOnly=true package=com.ohmibod.remote2 appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#120 ty=1 fl=#81810500 wanim=0x103045b vsysui=0x600 needsMenuKey=2 clr=0x1}
Requested w=720 h=1184 mLayoutSeq=6841
mPolicyVisibility=false mPolicyVisibilityAfterAnim=false mAppOpVisibility=true mAttachedHidden=false
mHasSurface=false mShownFrame=[0.0,0.0][720.0,1280.0] isReadyForDisplay()=false
WindowStateAnimator{d2b208a com.ohmibod.remote2/com.ohmibod.remote2.PlayActivity}:
mShownAlpha=1.0 mAlpha=1.0 mLastAlpha=0.7
Window #4 Window{6bb305c u0 com.android.settings/com.android.settings.Settings$ManageApplicationsActivity}:
mDisplayId=0 stackId=11 mSession=Session{44cc373 13259:1000} mClient=android.os.BinderProxy@4322ecf
mOwnerUid=1000 mShowToOwnerOnly=true package=com.android.settings appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#20 ty=1 fl=#81810100 wanim=0x103045b vsysui=0x2600 needsMenuKey=2 clr=0x1}
Requested w=720 h=1280 mLayoutSeq=6759
mPolicyVisibility=false mPolicyVisibilityAfterAnim=false mAppOpVisibility=true mAttachedHidden=false
mHasSurface=false mShownFrame=[0.0,0.0][720.0,1280.0] isReadyForDisplay()=false
WindowStateAnimator{5142af5 com.android.settings/com.android.settings.Settings$ManageApplicationsActivity}:
mShownAlpha=1.0 mAlpha=1.0 mLastAlpha=0.0
Window #3 Window{8fd83e9 u0 com.android.settings/com.lge.settings.easy.EasySettings}:
mDisplayId=0 stackId=11 mSession=Session{44cc373 13259:1000} mClient=android.os.BinderProxy@1f49470
mOwnerUid=1000 mShowToOwnerOnly=true package=com.android.settings appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#20 ty=1 fl=#81810100 wanim=0x103045b vsysui=0x2600 needsMenuKey=2 clr=0x1}
Requested w=720 h=1184 mLayoutSeq=6699
mPolicyVisibility=false mPolicyVisibilityAfterAnim=false mAppOpVisibility=true mAttachedHidden=false
mHasSurface=false mShownFrame=[0.0,0.0][720.0,1280.0] isReadyForDisplay()=false
WindowStateAnimator{1e8802c com.android.settings/com.lge.settings.easy.EasySettings}:
mShownAlpha=1.0 mAlpha=1.0 mLastAlpha=0.7
Window #2 Window{8977589 u0 com.android.settings/com.android.settings.SubSettings}:
mDisplayId=0 stackId=11 mSession=Session{44cc373 13259:1000} mClient=android.os.BinderProxy@71ec890
mOwnerUid=1000 mShowToOwnerOnly=true package=com.android.settings appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#20 ty=1 fl=#81810100 wanim=0x103045b vsysui=0x2600 needsMenuKey=2 clr=0x1}
Requested w=720 h=1280 mLayoutSeq=5952
mPolicyVisibility=false mPolicyVisibilityAfterAnim=false mAppOpVisibility=true mAttachedHidden=false
mHasSurface=false mShownFrame=[0.0,0.0][720.0,1280.0] isReadyForDisplay()=false
WindowStateAnimator{2a69bdf com.android.settings/com.android.settings.SubSettings}:
mShownAlpha=1.0 mAlpha=1.0 mLastAlpha=0.0
Window #1 Window{32623cf u0 com.android.settings/com.android.settings.applications.InstalledAppDetails}:
mDisplayId=0 stackId=11 mSession=Session{44cc373 13259:1000} mClient=android.os.BinderProxy@ff9cc2e
mOwnerUid=1000 mShowToOwnerOnly=true package=com.android.settings appop=NONE
mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#20 ty=1 fl=#81810100 wanim=0x103045b vsysui=0x2600 needsMenuKey=2 clr=0x1}
Requested w=720 h=1184 mLayoutSeq=5935
mPolicyVisibility=false mPolicyVisibilityAfterAnim=false mAppOpVisibility=true mAttachedHidden=false
mHasSurface=false mShownFrame=[0.0,0.0][720.0,1280.0] isReadyForDisplay()=false
WindowStateAnimator{f6fda7e com.android.settings/com.android.settings.applications.InstalledAppDetails}:
mShownAlpha=1.0 mAlpha=1.0 mLastAlpha=0.7
Window #0 Window{82eaa2a u0 com.android.systemui.ImageWallpaper}:
mDisplayId=0 stackId=0 mSession=Session{53fa0ad 3610:u0a10040} mClient=android.os.BinderProxy@16f5715
mOwnerUid=10040 mShowToOwnerOnly=true package=com.android.systemui appop=NONE
mAttrs=WM.LayoutParams{(0,0)(1440x1280) gr=#800033 ty=2013 fl=#318 fmt=2 wanim=0x10302ea clr=0x1}
Requested w=1440 h=1280 mLayoutSeq=6952
mIsImWindow=false mIsWallpaper=true mIsFloatingLayer=true mWallpaperVisible=false
mHasSurface=true mShownFrame=[0.0,0.0][1440.0,1280.0] isReadyForDisplay()=false
WindowStateAnimator{a388439 com.android.systemui.ImageWallpaper}:
Surface: shown=false layer=21000 alpha=1.0 rect=(0.0,0.0) 1440.0 x 1280.0
mLastFreezeDuration=+18m17s363ms
mWallpaperX=0.0 mWallpaperY=0.5
mWallpaperXStep=0.33333334 mWallpaperYStep=1.0
mCurConfiguration={1.0 ?mcc?mnc en_US ldltr sw360dp w360dp h528dp 320dpi nrml port finger -keyb/v/h -nav/h s.8 fontTypeIndex0 forceEmbolden0}
mHasPermanentDpad=false
mCurrentFocus=Window{b78ce30 u0 StatusBar}
mFocusedApp=AppWindowToken{769d636 token=Token{1e2bbd1 ActivityRecord{55d9af8 u0 com.lge.launcher3/.LauncherExtension t55}}}
mInputMethodTarget=Window{a8eb83 u0 com.ohmibod.remote2/com.ohmibod.remote2.MainActivity}
mInTouchMode=true mLayoutSeq=6974
mLastDisplayFreezeDuration=+405ms due to Window{b78ce30 u0 StatusBar}```
What is the issue or idea you have? Touch event is performed at unexpected point on LG V10 device.
There is an un-match resolution value between device data
1440x2560
and minitouch1439x2719
in log messagesDoes it only happen on a specific device? Please run
adb devices -l
and paste the corresponding row.Please provide the steps to reproduce the issue.
rethinkdb --bind all
stf local
What is the expected behavior? It should perform at correct touched point.
Do you see errors or warnings in the
stf local
output? If so, please paste them or the full log here. N/APlease run
stf doctor
and paste the output here.Feel free to contact with me. Thanks