Lines Matching defs:mView

133     View mView;
445 if (mView == null) {
446 mView = view;
457 Resources resources = mView.getContext().getResources();
502 mView = null;
520 mView = null;
579 return mView;
673 if (child != mView) {
699 return mAppVisible ? mView.getVisibility() : View.GONE;
703 // cache mView since it is used so much below...
704 final View host = mView;
748 mView.getContext().getResources().getDisplayMetrics();
826 mView.getContext().getResources().getDisplayMetrics();
1218 if (DEBUG_INPUT_RESIZE) Log.v(TAG, "First: mView.hasFocus()="
1219 + mView.hasFocus());
1220 if (mView != null) {
1221 if (!mView.hasFocus()) {
1222 mView.requestFocus(View.FOCUS_FORWARD);
1223 mFocusedView = mRealFocusedView = mView.findFocus();
1227 mRealFocusedView = mView.findFocus();
1246 imm.startGettingWindowFocus(mView);
1247 imm.onWindowFocus(mView, mView.findFocus(),
1300 if (mView == child) {
1301 mView.mPrivateFlags |= View.REQUEST_TRANSPARENT_REGIONS;
1396 mView.mPrivateFlags |= View.DRAWN;
1406 mView.draw(canvas);
1408 mView.dispatchConsistencyCheck(ViewDebug.CONSISTENCY_DRAWING);
1441 Log.v(TAG, "Draw " + mView + "/"
1506 mView.mPrivateFlags |= View.DRAWN;
1509 Context cxt = mView.getContext();
1522 mView.draw(canvas);
1529 mView.dispatchConsistencyCheck(ViewDebug.CONSISTENCY_DRAWING);
1616 + mView.getWidth() + " h=" + mView.getHeight()
1623 if (mView instanceof ViewGroup) {
1624 ((ViewGroup) mView).offsetDescendantRectToMyCoords(
1643 (mView.getHeight()-vi.top-vi.bottom)) {
1653 > (mView.getHeight()-vi.bottom)) {
1655 - (mView.getHeight()-vi.bottom);
1670 mScroller = new Scroller(mView.getContext());
1700 if (mView != null && !mView.hasFocus()) {
1702 if (!mView.requestFocus(View.FOCUS_FORWARD)) {
1714 if (mView != null && !mView.hasFocus()) {
1720 mFocusedView = mView.findFocus();
1734 if (mView == child) {
1745 if (mView != null) {
1746 mView.dispatchDetachedFromWindow();
1749 mView = null;
1790 if (mView != null) {
1794 if (mView != null) {
1795 config = mView.getResources().getConfiguration();
1799 mView.dispatchConfigurationChanged(config);
1872 + msg.obj + " to " + mView);
1930 if (mView != null) {
1931 forceLayout(mView);
1963 if (mView != null) {
1965 imm.startGettingWindowFocus(mView);
1968 mView.dispatchWindowFocusChanged(hasWindowFocus);
1975 imm.onWindowFocus(mView, mView.findFocus(),
1983 ((WindowManager.LayoutParams)mView.getLayoutParams())
1989 if (hasWindowFocus && mView != null) {
2000 + msg.obj + " from IME to " + mView);
2023 if (mView != null) {
2024 mView.onCloseSystemDialogs((String)msg.obj);
2095 if (mView != null) {
2096 if (mView.hasFocus()) {
2100 final View focused = mView.findFocus();
2111 mView.unFocus();
2147 if (mView != null) {
2148 if (mView.hasFocus()) {
2150 mFocusedView = mView.findFocus();
2178 if (mView != null && mAdded) {
2194 handled = mView.dispatchTouchEvent(event);
2231 if (edgeFlags != 0 && mView instanceof ViewGroup) {
2233 ((ViewGroup) mView), x, y, direction, deltas);
2237 mView.dispatchTouchEvent(event);
2248 if (mView != null && mAdded) {
2249 handled = mView.dispatchTrackballEvent(event);
2251 // If we reach this, we delivered a trackball event to mView and
2252 // mView consumed it. Because we will not translate the trackball
2413 if (isKeyboardKey(event) && mView != null && mView.hasFocus()) {
2414 mFocusedView = mView.findFocus();
2501 // If mView is null, we just consume the key event because it doesn't
2503 boolean handled = mView != null
2504 ? mView.dispatchKeyEventPreIme(event) : true;
2516 if (imm != null && mView != null) {
2520 imm.dispatchKeyEvent(mView.getContext(), seq, event,
2549 if (mView != null && mAdded) {
2560 boolean keyHandled = mView.dispatchKeyEvent(event);
2581 View focused = mView != null ? mView.findFocus() : null;
2590 if (mView instanceof ViewGroup) {
2591 ((ViewGroup) mView).offsetDescendantRectToMyCoords(
2593 ((ViewGroup) mView).offsetRectIntoDescendantCoords(
2600 mView.dispatchUnhandledMove(focused, direction);
2619 if (mView == null) {
2620 throw new IllegalStateException("getAudioManager called when there is no mView");
2623 mAudioManager = (AudioManager) mView.getContext().getSystemService(Context.AUDIO_SERVICE);
2645 (int) (mView.mMeasuredWidth * appScale + 0.5f),
2646 (int) (mView.mMeasuredHeight * appScale + 0.5f),
2693 // Exception thrown by getAudioManager() when mView is null
2715 if (!(mView instanceof ViewGroup)) {
2718 return FocusFinder.getInstance().findNextFocus((ViewGroup) mView, focused, direction);
2722 mView.debug();
2738 int viewVisibility = mView.getVisibility();
2829 TAG, "sending key " + event + " to " + mView);
2906 if (!AccessibilityManager.getInstance(mView.getContext()).isEnabled()) {
2909 mView.sendAccessibilityEvent(AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED);
2910 View focusedView = mView.findFocus();
2911 if (focusedView != null && focusedView != mView) {
2958 ((RootViewSurfaceTaker)mView).setSurfaceFormat(format);
2962 ((RootViewSurfaceTaker)mView).setSurfaceType(type);
2982 ((RootViewSurfaceTaker)mView).setSurfaceKeepScreenOn(screenOn);
3058 final View view = viewRoot.mView;