Searched defs:mView (Results 1 - 25 of 75) sorted by relevance

123

/packages/apps/Launcher3/src/com/android/launcher3/
H A DSimpleOnStylusPressListener.java12 private View mView; field in class:SimpleOnStylusPressListener
15 mView = view;
19 return mView.isLongClickable() && mView.performLongClick();
H A DCheckLongPressHelper.java27 @Thunk View mView; field in class:CheckLongPressHelper
35 if ((mView.getParent() != null) && mView.hasWindowFocus()
39 handled = mListener.onLongClick(mView);
41 handled = mView.performLongClick();
44 mView.setPressed(false);
52 mView = v;
56 mView = v;
73 mView.postDelayed(mPendingCheckForLongPress, mLongPressTimeout);
79 mView
[all...]
H A DStylusEventHelper.java36 private View mView; field in class:StylusEventHelper
50 mView = view;
51 if (mView != null) {
52 mSlop = ViewConfiguration.get(mView.getContext()).getScaledTouchSlop();
68 if (!Utilities.pointInView(mView, event.getX(), event.getY(), mSlop)) {
/packages/apps/Settings/tests/robotests/src/com/android/settings/fingerprint/
H A DFingerprintLocationAnimationVideoViewTest.java45 private FingerprintLocationAnimationVideoView mView; field in class:FingerprintLocationAnimationVideoViewTest
51 mView = spy(new FingerprintLocationAnimationVideoView(mContext, null));
56 mView.onFinishInflate();
57 final SurfaceTextureListener listener = mView.getSurfaceTextureListener();
58 when(mView.createMediaPlayer(any(Context.class), any(Uri.class))).thenReturn(null);
/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/
H A DPressAndHoldTouchListener.java35 private View mView; field in class:PressAndHoldTouchListener
46 mView = view;
47 mView.setPressed(true);
53 mView.setPressed(false);
54 mView = null;
65 clickListener.onClick(mView); //
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DViewSelectedFilter.java28 private View mView; //the view we don't want TYPE_VIEW_SELECTED event to fire. field in class:ViewSelectedFilter
32 mView = view;
48 if (child == mView && event.getEventType() == AccessibilityEvent.TYPE_VIEW_SELECTED) {
/packages/apps/Dialer/java/com/android/dialer/app/list/
H A DContentChangedFilter.java33 private View mView; field in class:ContentChangedFilter
37 mView = view;
49 if (child == mView) {
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
H A DFocusManagerTest.java41 private TestRecyclerView mView; field in class:FocusManagerTest
47 mView = TestRecyclerView.create(ITEMS);
51 .reset(mView, new TestModel(TEST_AUTHORITY, mFeatures));
56 mView.assertItemViewFocused(3);
62 mView.setItems(mutableItems);
65 mView.assertItemViewFocused(10);
69 mView = TestRecyclerView.create(new ArrayList<>());
72 .reset(mView, new TestModel(TEST_AUTHORITY, mFeatures));
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
H A DAccessibilityTest.java35 private TestRecyclerView mView; field in class:AccessibilityTest
41 mView = TestRecyclerView.create(ITEMS);
42 mAccessibilityDelegate = new AccessibilityEventRouter(mView, (View v) -> {
46 mView.setAccessibilityDelegateCompat(mAccessibilityDelegate);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DCheckLongPressHelper.java22 private View mView; field in class:CheckLongPressHelper
28 if ((mView.getParent() != null) && mView.hasWindowFocus()
30 if (mView.performLongClick()) {
31 mView.setPressed(false);
39 mView = v;
48 mView.postDelayed(mPendingCheckForLongPress, LauncherApplication.getLongPressTimeout());
54 mView.removeCallbacks(mPendingCheckForLongPress);
H A DDrawableStateProxyView.java30 private View mView; field in class:DrawableStateProxyView
57 if (mView == null) {
59 mView = parent.findViewById(mViewId);
61 mView.setPressed(isPressed());
62 mView.setHovered(isHovered());
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DSnackBarInteraction.java50 private final View mView; field in class:SnackBarInteraction.BasicSnackBarInteraction
53 mView = Preconditions.checkNotNull(view);
59 return mView.animate().translationY(-rootView.getMeasuredHeight());
64 return mView.animate().translationY(0);
H A DBasePagerViewHolder.java33 protected View mView; field in class:BasePagerViewHolder
62 if (mView != null && (mView instanceof PersistentInstanceState)) {
63 ((PersistentInstanceState) mView).resetState();
75 final View retView = mView;
76 mView = null;
82 if (mView == null) {
83 mView = createView(container);
87 return mView;
91 if (mView !
[all...]
/packages/apps/Messaging/tests/src/com/android/messaging/ui/
H A DViewTest.java31 protected T mView; field in class:ViewTest
47 if (mView == null) {
50 mView = (T) getActivity().getLayoutInflater().inflate(getLayoutIdForView(), null);
52 return mView;
/packages/apps/Settings/tests/robotests/src/com/android/settings/search2/
H A DSavedQueryViewHolderTest.java47 private View mView; field in class:SavedQueryViewHolderTest
55 mView = LayoutInflater.from(mContext)
57 mTitleView = mView.findViewById(android.R.id.title);
58 mRemoveButton = mView.findViewById(android.R.id.icon);
59 mHolder = new SavedQueryViewHolder(mView);
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
H A DLinkablePreferenceTest.java50 private View mView; field in class:LinkablePreferenceTest
63 mView = inflater.inflate(
65 mHolder = PreferenceViewHolder.createInstanceForTests(mView);
72 TextView textView = mView.findViewById(android.R.id.title);
/packages/apps/TV/src/com/android/tv/ui/
H A DHardwareLayerAnimatorListenerAdapter.java28 private final View mView; field in class:HardwareLayerAnimatorListenerAdapter
32 mView = view;
37 if (mView.hasOverlappingRendering() && mView.getLayerType() == View.LAYER_TYPE_NONE) {
39 mView.setLayerType(View.LAYER_TYPE_HARDWARE, null);
47 mView.setLayerType(View.LAYER_TYPE_NONE, null);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DSwipeableItemView.java45 private final View mView; field in class:SwipeableItemView.SwipeableView
47 mView = view;
51 return mView;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DViewOutlineProviderCompatUtilsLXX.java42 private final View mView; field in class:ViewOutlineProviderCompatUtilsLXX.InsetsOutlineProvider
47 mView = view;
56 mView.invalidateOutline();
/packages/apps/CertInstaller/src/com/android/certinstaller/
H A DViewHelper.java26 private View mView; field in class:ViewHelper
30 mView = view;
34 TextView v = (TextView) mView.findViewById(R.id.error);
40 return ((TextView) mView.findViewById(viewId)).getText().toString();
45 TextView v = (TextView) mView.findViewById(viewId);
50 TextView v = (TextView) mView.findViewById(viewId);
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
H A DConversationListAdapter.java52 final ConversationListItemView conversationListItemView = holder.mView;
70 final ConversationListItemView mView; field in class:ConversationListAdapter.ConversationListViewHolder
74 mView = itemView;
/packages/apps/Settings/src/com/android/settings/
H A DOwnerInfoSettings.java40 private View mView; field in class:OwnerInfoSettings
54 mView = LayoutInflater.from(getActivity()).inflate(R.layout.ownerinfo, null);
58 .setView(mView)
67 mOwnerInfo = (EditText) mView.findViewById(R.id.owner_info_edit_text);
/packages/apps/Camera2/src/com/android/camera/
H A DOnScreenHint.java47 View mView; field in class:OnScreenHint
138 if (mView != mNextView) {
141 mView = mNextView;
142 if (mView.getParent() != null) {
143 mWM.removeView(mView);
146 mWM.addView(mView, mParams);
151 if (mView != null) {
155 if (mView.getParent() != null) {
156 mWM.removeView(mView);
158 mView
[all...]
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactsUnavailableFragment.java47 private View mView; field in class:ContactsUnavailableFragment
60 mView = inflater.inflate(R.layout.contacts_unavailable_fragment, null);
62 mImageView = (ImageView) mView.findViewById(R.id.empty_image);
75 mMessageView = (TextView) mView.findViewById(R.id.message);
76 mAddAccountButton = (Button) mView.findViewById(R.id.add_account_button);
80 mImportContactsButton = (Button) mView.findViewById(R.id.import_contacts_button);
84 mProgress = (ProgressBar) mView.findViewById(R.id.progress);
87 mButtonsContainer = mView.findViewById(R.id.buttons_container);
94 return mView;
99 if (mView
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
H A DDragPreviewProvider.java42 protected final View mView; field in class:DragPreviewProvider
56 mView = view;
60 if (mView instanceof TextView) {
61 Drawable d = Workspace.getTextViewIcon((TextView) mView);
70 * Draws the {@link #mView} into the given {@param destCanvas}.
74 if (mView instanceof TextView) {
75 Drawable d = Workspace.getTextViewIcon((TextView) mView);
82 mView.getDrawingRect(clipRect);
85 if (mView instanceof FolderIcon) {
88 if (((FolderIcon) mView)
[all...]

Completed in 564 milliseconds

123