/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | TableLayoutBindingAdapterTest.java | 28 TableLayout mView; field in TableLayoutBindingAdapterTest 38 mView = mBinder.view; in setUp() 44 ((ColorDrawable) mView.getDividerDrawable()).getColor()); in testDivider() 47 ((ColorDrawable) mView.getDividerDrawable()).getColor()); in testDivider() 52 assertFalse(mView.isColumnCollapsed(0)); in testColumns() 53 assertTrue(mView.isColumnCollapsed(1)); in testColumns() 54 assertFalse(mView.isColumnCollapsed(2)); in testColumns() 56 assertFalse(mView.isColumnShrinkable(0)); in testColumns() 57 assertTrue(mView.isColumnShrinkable(1)); in testColumns() 58 assertFalse(mView.isColumnShrinkable(2)); in testColumns() [all …]
|
D | ViewGroupBindingAdapterTest.java | 27 ViewGroup mView; field in ViewGroupBindingAdapterTest 37 mView = mBinder.view; in setUp() 42 mView.isAlwaysDrawnWithCacheEnabled()); in testDrawnWithCache() 47 mView.isAlwaysDrawnWithCacheEnabled()); in testDrawnWithCache() 51 assertEquals(mBindingObject.isAnimationCache(), mView.isAnimationCacheEnabled()); in testAnimationCache() 55 assertEquals(mBindingObject.isAnimationCache(), mView.isAnimationCacheEnabled()); in testAnimationCache() 61 mView.isMotionEventSplittingEnabled()); in testSplitMotionEvents() 66 mView.isMotionEventSplittingEnabled()); in testSplitMotionEvents() 73 mView.getLayoutTransition() != null); in testAnimateLayoutChanges() 78 mView.getLayoutTransition() != null); in testAnimateLayoutChanges()
|
D | ProgressBarBindingAdapterTest.java | 27 ProgressBar mView; field in ProgressBarBindingAdapterTest 37 mView = mBinder.view; in setUp() 43 mView.getIndeterminateTintList().getDefaultColor()); in testTint() 45 mView.getProgressTintList().getDefaultColor()); in testTint() 47 mView.getSecondaryProgressTintList().getDefaultColor()); in testTint() 52 mView.getIndeterminateTintList().getDefaultColor()); in testTint() 54 mView.getProgressTintList().getDefaultColor()); in testTint() 56 mView.getSecondaryProgressTintList().getDefaultColor()); in testTint()
|
D | AbsListViewBindingAdapterTest.java | 29 ListView mView; field in AbsListViewBindingAdapterTest 39 mView = getBinder().view; in setUp() 45 ((ColorDrawable) mView.getSelector()).getColor()); in testListSelector() 50 ((ColorDrawable) mView.getSelector()).getColor()); in testListSelector() 55 assertEquals(mBindingObject.isScrollingCache(), mView.isScrollingCacheEnabled()); in testScrollingCache() 59 assertEquals(mBindingObject.isScrollingCache(), mView.isScrollingCacheEnabled()); in testScrollingCache() 63 assertEquals(mBindingObject.isSmoothScrollbar(), mView.isSmoothScrollbarEnabled()); in testSmoothScrollbar() 67 assertEquals(mBindingObject.isSmoothScrollbar(), mView.isSmoothScrollbarEnabled()); in testSmoothScrollbar()
|
/frameworks/support/design/ics/android/support/design/widget/ |
D | FloatingActionButtonIcs.java | 41 updateFromViewRotation(mView.getRotation()); in onPreDraw() 46 if (mIsHiding || mView.getVisibility() != View.VISIBLE) { in hide() 54 if (!ViewCompat.isLaidOut(mView) || mView.isInEditMode()) { in hide() 56 mView.internalSetVisibility(View.GONE, fromUser); in hide() 61 mView.animate().cancel(); in hide() 62 mView.animate() in hide() 75 mView.internalSetVisibility(View.VISIBLE, fromUser); in hide() 88 mView.internalSetVisibility(View.GONE, fromUser); in hide() 100 if (mIsHiding || mView.getVisibility() != View.VISIBLE) { in show() 101 if (ViewCompat.isLaidOut(mView) && !mView.isInEditMode()) { in show() [all …]
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | NestedScrollingChildHelper.java | 38 private final View mView; field in NestedScrollingChildHelper 47 mView = view; in NestedScrollingChildHelper() 61 ViewCompat.stopNestedScroll(mView); in setNestedScrollingEnabled() 110 ViewParent p = mView.getParent(); in startNestedScroll() 111 View child = mView; in startNestedScroll() 113 if (ViewParentCompat.onStartNestedScroll(p, child, mView, axes)) { in startNestedScroll() 115 ViewParentCompat.onNestedScrollAccepted(p, child, mView, axes); in startNestedScroll() 136 ViewParentCompat.onStopNestedScroll(mNestedScrollingParent, mView); in stopNestedScroll() 157 mView.getLocationInWindow(offsetInWindow); in dispatchNestedScroll() 162 ViewParentCompat.onNestedScroll(mNestedScrollingParent, mView, dxConsumed, in dispatchNestedScroll() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | Divider.java | 41 private DividerView mView; field in Divider 67 return mView; in getView() 71 mView = (DividerView) in addDivider() 73 mView.setVisibility(mVisible ? View.VISIBLE : View.INVISIBLE); in addDivider() 79 mWindowManager.add(mView, width, height); in addDivider() 80 mView.injectDependencies(mWindowManager, mDividerState); in addDivider() 91 mView.setMinimizedDockStack(true); in update() 97 mView.post(new Runnable() { in updateVisibility() 102 mView.setVisibility(visible ? View.VISIBLE : View.INVISIBLE); in updateVisibility() 105 mView.setMinimizedDockStack(mMinimized); in updateVisibility() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | SetTagsTest.java | 29 private Button mView; field in SetTagsTest 39 mView = (Button) getActivity().findViewById(R.id.disabledButton); in setUp() 44 assertNotNull(mView); in testSetUpConditions() 49 mView.setTag("1"); in testSetTag() 55 mView.setTag(o); in testGetTag() 57 final Object stored = mView.getTag(); in testGetTag() 64 mView.setTag(R.id.a, "2"); in testSetTagWithKey() 70 mView.setTag(R.id.a, o); in testGetTagWithKey() 72 final Object stored = mView.getTag(R.id.a); in testGetTagWithKey() 81 mView.setTag(android.R.id.list, "2"); in testSetTagWithFrameworkId() [all …]
|
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/ |
D | TestActivity.java | 25 TestView mView; field in TestActivity 34 mView.onResume(); 37 mView.onPause(); 40 mView.postDelayed(mRunnable, PAUSE_DELAY); 47 mView = new TestView(getApplication()); in onCreate() 48 mView.setFocusableInTouchMode(true); in onCreate() 49 setContentView(mView); in onCreate() 50 mView.postDelayed(mRunnable, PAUSE_DELAY); in onCreate() 56 mView.onPause(); in onPause() 62 mView.onResume(); in onResume()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | AppCompatSeekBarHelper.java | 32 private final SeekBar mView; field in AppCompatSeekBarHelper 42 mView = view; in AppCompatSeekBarHelper() 48 TintTypedArray a = TintTypedArray.obtainStyledAttributes(mView.getContext(), attrs, in loadFromAttributes() 52 mView.setThumb(drawable); in loadFromAttributes() 82 tickMark.setCallback(mView); in setTickMark() 83 DrawableCompat.setLayoutDirection(tickMark, ViewCompat.getLayoutDirection(mView)); in setTickMark() 85 tickMark.setState(mView.getDrawableState()); in setTickMark() 90 mView.invalidate(); in setTickMark() 137 mTickMark.setState(mView.getDrawableState()); in applyTickMarkTint() 151 && tickMark.setState(mView.getDrawableState())) { in drawableStateChanged() [all …]
|
D | AppCompatImageHelper.java | 31 private final ImageView mView; field in AppCompatImageHelper 35 mView = view; in AppCompatImageHelper() 42 Drawable drawable = mView.getDrawable(); in loadFromAttributes() 45 a = TintTypedArray.obtainStyledAttributes(mView.getContext(), attrs, in loadFromAttributes() 52 drawable = mDrawableManager.getDrawable(mView.getContext(), id); in loadFromAttributes() 54 mView.setImageDrawable(drawable); in loadFromAttributes() 72 ? mDrawableManager.getDrawable(mView.getContext(), resId) in setImageResource() 73 : ContextCompat.getDrawable(mView.getContext(), resId); in setImageResource() 77 mView.setImageDrawable(d); in setImageResource() 79 mView.setImageDrawable(null); in setImageResource() [all …]
|
D | AppCompatBackgroundHelper.java | 31 private final View mView; field in AppCompatBackgroundHelper 39 mView = view; in AppCompatBackgroundHelper() 44 TintTypedArray a = TintTypedArray.obtainStyledAttributes(mView.getContext(), attrs, in loadFromAttributes() 48 ColorStateList tint = mDrawableManager.getTintList(mView.getContext(), in loadFromAttributes() 55 ViewCompat.setBackgroundTintList(mView, in loadFromAttributes() 59 ViewCompat.setBackgroundTintMode(mView, in loadFromAttributes() 72 ? mDrawableManager.getTintList(mView.getContext(), resId) in onSetBackgroundResource() 110 final Drawable background = mView.getBackground(); in applySupportBackgroundTint() 122 mView.getDrawableState()); in applySupportBackgroundTint() 125 mView.getDrawableState()); in applySupportBackgroundTint() [all …]
|
D | AppCompatCompoundButtonHelper.java | 33 private final CompoundButton mView; field in AppCompatCompoundButtonHelper 51 mView = view; in AppCompatCompoundButtonHelper() 56 TypedArray a = mView.getContext().obtainStyledAttributes(attrs, R.styleable.CompoundButton, in loadFromAttributes() 63 mView.setButtonDrawable( in loadFromAttributes() 64 mDrawableManager.getDrawable(mView.getContext(), resourceId)); in loadFromAttributes() 68 CompoundButtonCompat.setButtonTintList(mView, in loadFromAttributes() 72 CompoundButtonCompat.setButtonTintMode(mView, in loadFromAttributes() 115 Drawable buttonDrawable = CompoundButtonCompat.getButtonDrawable(mView); in applyButtonTint() 129 buttonDrawable.setState(mView.getDrawableState()); in applyButtonTint() 131 mView.setButtonDrawable(buttonDrawable); in applyButtonTint() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | MockView.java | 34 private final TextView mView; field in MockView 50 mView = new TextView(context, attrs); in MockView() 51 mView.setTextColor(0xFF000000); in MockView() 54 addView(mView); in MockView() 61 if (child == mView) { in addView() 68 if (child == mView) { in addView() 75 if (child == mView) { in addView() 82 if (child == mView) { in addView() 89 if (child == mView) { in addView() 100 mView.setText(text); in setText() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | Toast.java | 354 View mView; field in Toast.TN 397 if (localLOGV) Log.v(TAG, "HANDLE SHOW: " + this + " mView=" + mView in handleShow() 399 if (mView != mNextView) { in handleShow() 402 mView = mNextView; in handleShow() 403 Context context = mView.getContext().getApplicationContext(); in handleShow() 404 String packageName = mView.getContext().getOpPackageName(); in handleShow() 406 context = mView.getContext(); in handleShow() 411 final Configuration config = mView.getContext().getResources().getConfiguration(); in handleShow() 427 if (mView.getParent() != null) { in handleShow() 428 if (localLOGV) Log.v(TAG, "REMOVE! " + mView + " in " + this); in handleShow() [all …]
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | MessageBar.java | 35 private View mView; field in MessageBar 57 View infoContainer = mView.findViewById(R.id.container_info); in setInfo() 59 TextView infoText = (TextView) mView.findViewById(R.id.textview_info); in setInfo() 72 View errorView = mView.findViewById(R.id.container_error); in setError() 74 TextView errorText = (TextView) mView.findViewById(R.id.textview_error); in setError() 86 mView = inflater.inflate(R.layout.fragment_message_bar, container, false); in onCreateView() 88 ImageView infoIcon = (ImageView) mView.findViewById(R.id.icon_info); in onCreateView() 91 ImageView errorIcon = (ImageView) mView.findViewById(R.id.icon_error); in onCreateView() 94 Button dismiss = (Button) mView.findViewById(R.id.button_dismiss); in onCreateView() 105 return mView; in onCreateView() [all …]
|
/frameworks/support/design/src/android/support/design/widget/ |
D | ViewOffsetHelper.java | 32 private final View mView; field in ViewOffsetHelper 40 mView = view; in ViewOffsetHelper() 45 mLayoutTop = mView.getTop(); in onViewLayout() 46 mLayoutLeft = mView.getLeft(); in onViewLayout() 53 ViewCompat.offsetTopAndBottom(mView, mOffsetTop - (mView.getTop() - mLayoutTop)); in updateOffsets() 54 ViewCompat.offsetLeftAndRight(mView, mOffsetLeft - (mView.getLeft() - mLayoutLeft)); in updateOffsets()
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZonePickerDialog.java | 42 private TimeZonePickerView mView; field in TimeZonePickerDialog 72 mView = new TimeZonePickerView(getActivity(), null, timeZone, timeMillis, this, in onCreateView() 75 mView.showFilterResults(savedInstanceState.getInt(KEY_LAST_FILTER_TYPE), in onCreateView() 79 return mView; in onCreateView() 85 outState.putBoolean(KEY_HAS_RESULTS, mView != null && mView.hasResults()); in onSaveInstanceState() 86 if (mView != null) { in onSaveInstanceState() 87 outState.putInt(KEY_LAST_FILTER_TYPE, mView.getLastFilterType()); in onSaveInstanceState() 88 outState.putString(KEY_LAST_FILTER_STRING, mView.getLastFilterString()); in onSaveInstanceState() 89 outState.putInt(KEY_LAST_FILTER_TIME, mView.getLastFilterTime()); in onSaveInstanceState() 90 outState.putBoolean(KEY_HIDE_FILTER_SEARCH, mView.getHideFilterSearchOnStart()); in onSaveInstanceState()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ExploreByTouchHelper.java | 77 private final View mView; field in ExploreByTouchHelper 101 mView = forView; in ExploreByTouchHelper() 183 final ViewParent parent = mView.getParent(); in sendEventForVirtualView() 189 return parent.requestSendAccessibilityEvent(mView, event); in sendEventForVirtualView() 239 final ViewParent parent = mView.getParent(); in invalidateVirtualView() 244 parent.requestSendAccessibilityEvent(mView, event); in invalidateVirtualView() 309 mView.onInitializeAccessibilityEvent(event); in createEventForHost() 342 event.setPackageName(mView.getContext().getPackageName()); in createEventForChild() 343 event.setSource(mView, virtualViewId); in createEventForChild() 374 final AccessibilityNodeInfo node = AccessibilityNodeInfo.obtain(mView); in createNodeForHost() [all …]
|
/frameworks/base/core/java/android/view/ |
D | ViewPropertyAnimator.java | 53 final View mView; field in ViewPropertyAnimator 252 mView = view; in ViewPropertyAnimator() 414 mView.removeCallbacks(mAnimationStarter); in start() 435 mView.removeCallbacks(mAnimationStarter); in cancel() 777 mView.setLayerType(View.LAYER_TYPE_HARDWARE, null); in withLayer() 778 if (mView.isAttachedToWindow()) { in withLayer() 779 mView.buildLayer(); in withLayer() 783 final int currentLayerType = mView.getLayerType(); in withLayer() 787 mView.setLayerType(currentLayerType, null); in withLayer() 864 mView.setHasTransientState(true); in startAnimation() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | AssistManager.java | 52 private AssistOrbContainer mView; field in AssistManager 61 mView.post(mHideRunnable); 66 mView.post(mHideRunnable); 73 mView.removeCallbacks(this); 74 mView.show(false /* show */, true /* animate */); 88 if (mView != null) { in onConfigurationChanged() 89 visible = mView.isShowing(); in onConfigurationChanged() 90 mWindowManager.removeView(mView); in onConfigurationChanged() 93 mView = (AssistOrbContainer) LayoutInflater.from(mContext).inflate( in onConfigurationChanged() 95 mView.setVisibility(View.GONE); in onConfigurationChanged() [all …]
|
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/ |
D | GLJNIActivity.java | 24 GLJNIView mView; field in GLJNIActivity 29 mView = new GLJNIView(getApplication()); in onCreate() 30 mView.setFocusableInTouchMode(true); in onCreate() 31 setContentView(mView); in onCreate() 37 mView.onPause(); in onPause() 43 mView.onResume(); in onResume()
|
/frameworks/native/opengl/tests/testViewport/src/com/android/test/ |
D | TestActivity.java | 25 TestView mView; field in TestActivity 30 mView = new TestView(getApplication()); in onCreate() 31 mView.setFocusableInTouchMode(true); in onCreate() 32 setContentView(mView); in onCreate() 38 mView.onPause(); in onPause() 44 mView.onResume(); in onResume()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DessertCaseDream.java | 22 private DessertCaseView mView; field in DessertCaseDream 30 mView = new DessertCaseView(this); in onAttachedToWindow() 34 mContainer.setView(mView); in onAttachedToWindow() 42 mView.postDelayed(new Runnable() { in onDreamingStarted() 44 mView.start(); in onDreamingStarted() 52 mView.stop(); in onDreamingStopped()
|
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/ |
D | TestLatencyActivity.java | 29 TestLatencyView mView; field in TestLatencyActivity 33 mView = new TestLatencyView(getApplication()); in onCreate() 34 setContentView(mView); in onCreate() 35 mView.setFocusableInTouchMode(true); in onCreate() 40 mView.onPause(); in onPause() 45 mView.onResume(); in onResume()
|