Searched refs:mTargetViewContainer (Results 1 – 2 of 2) sorted by relevance
70 private ViewGroup mTargetViewContainer; field in PipDismissTargetHandler121 mTargetViewContainer = new FrameLayout(mContext); in init()122 mTargetViewContainer.setBackgroundDrawable( in init()124 mTargetViewContainer.setClipChildren(false); in init()125 mTargetViewContainer.addView(mTargetView); in init()177 mTargetViewContainer.getViewTreeObserver().removeOnPreDrawListener(this); in onPreDraw()235 t.setRelativeLayer(mTargetViewContainer.getViewRootImpl().getSurfaceControl(), in updateDismissTargetLayer()242 if (!mTargetViewContainer.isAttachedToWindow()) { in createOrUpdateDismissTarget()245 mTargetViewContainer.setVisibility(View.INVISIBLE); in createOrUpdateDismissTarget()246 mTargetViewContainer.getViewTreeObserver().removeOnPreDrawListener(this); in createOrUpdateDismissTarget()[all …]
75 private @Nullable ViewGroup mTargetViewContainer; field in OneHandedTutorialHandler156 mTargetViewContainer = new FrameLayout(context); in createViewAndAttachToWindow()157 mTargetViewContainer.setClipChildren(false); in createViewAndAttachToWindow()158 mTargetViewContainer.setAlpha(mCurrentState == STATE_ACTIVE ? 1.0f : 0.0f); in createViewAndAttachToWindow()159 mTargetViewContainer.addView(mTutorialView); in createViewAndAttachToWindow()160 mTargetViewContainer.setLayerType(LAYER_TYPE_HARDWARE, null); in createViewAndAttachToWindow()170 mWindowManager.addView(mTargetViewContainer, getTutorialTargetLayoutParams()); in attachTargetToWindow()174 mWindowManager.updateViewLayout(mTargetViewContainer, getTutorialTargetLayoutParams()); in attachTargetToWindow()183 mTargetViewContainer.setLayerType(LAYER_TYPE_NONE, null); in removeTutorialFromWindowManager()184 mWindowManager.removeViewImmediate(mTargetViewContainer); in removeTutorialFromWindowManager()[all …]