/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | MessagingLinearLayoutTest.java | 44 private MessagingLinearLayout mView; field in MessagingLinearLayoutTest 51 mView = (MessagingLinearLayout) LayoutInflater.from(mContext).inflate( in setup() 59 mView.setNumIndentLines(2); in testSingleChild() 60 mView.addView(child); in testSingleChild() 62 mView.measure(WIDTH_SPEC, HEIGHT_SPEC); in testSingleChild() 63 mView.layout(0, 0, mView.getMeasuredWidth(), mView.getMeasuredHeight()); in testSingleChild() 67 assertEquals(150, mView.getMeasuredHeight()); in testSingleChild() 75 mView.setNumIndentLines(2); in testLargeSmall() 76 mView.addView(child1); in testLargeSmall() 77 mView.addView(child2); in testLargeSmall() [all …]
|
/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 | 33 mRotation = mView.getRotation(); in FloatingActionButtonIcs() 43 final float rotation = mView.getRotation(); in onPreDraw() 57 mView.animate().cancel(); in hide() 62 mView.animate() in hide() 73 mView.internalSetVisibility(View.VISIBLE, fromUser); in hide() 87 mView.internalSetVisibility(View.GONE, fromUser); in hide() 96 mView.internalSetVisibility(View.GONE, fromUser); in hide() 110 mView.animate().cancel(); in show() 115 if (mView.getVisibility() != View.VISIBLE) { in show() 117 mView.setAlpha(0f); in show() [all …]
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
D | NestedScrollingChildHelper.java | 39 private final View mView; field in NestedScrollingChildHelper 48 mView = view; in NestedScrollingChildHelper() 62 ViewCompat.stopNestedScroll(mView); in setNestedScrollingEnabled() 111 ViewParent p = mView.getParent(); in startNestedScroll() 112 View child = mView; in startNestedScroll() 114 if (ViewParentCompat.onStartNestedScroll(p, child, mView, axes)) { in startNestedScroll() 116 ViewParentCompat.onNestedScrollAccepted(p, child, mView, axes); in startNestedScroll() 137 ViewParentCompat.onStopNestedScroll(mNestedScrollingParent, mView); in stopNestedScroll() 158 mView.getLocationInWindow(offsetInWindow); in dispatchNestedScroll() 163 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() 49 TintTypedArray a = TintTypedArray.obtainStyledAttributes(mView.getContext(), attrs, in loadFromAttributes() 53 mView.setThumb(drawable); in loadFromAttributes() 83 tickMark.setCallback(mView); in setTickMark() 84 DrawableCompat.setLayoutDirection(tickMark, ViewCompat.getLayoutDirection(mView)); in setTickMark() 86 tickMark.setState(mView.getDrawableState()); in setTickMark() 91 mView.invalidate(); in setTickMark() 138 mTickMark.setState(mView.getDrawableState()); in applyTickMarkTint() 152 && tickMark.setState(mView.getDrawableState())) { in drawableStateChanged() [all …]
|
D | AppCompatImageHelper.java | 35 private final ImageView mView; field in AppCompatImageHelper 38 mView = view; in AppCompatImageHelper() 44 Drawable drawable = mView.getDrawable(); in loadFromAttributes() 47 a = TintTypedArray.obtainStyledAttributes(mView.getContext(), attrs, in loadFromAttributes() 54 drawable = AppCompatResources.getDrawable(mView.getContext(), id); in loadFromAttributes() 56 mView.setImageDrawable(drawable); in loadFromAttributes() 73 final Drawable d = AppCompatResources.getDrawable(mView.getContext(), resId); in setImageResource() 77 mView.setImageDrawable(d); in setImageResource() 79 mView.setImageDrawable(null); in setImageResource() 84 final Drawable background = mView.getBackground(); in hasOverlappingRendering()
|
D | AppCompatBackgroundHelper.java | 31 private final View mView; field in AppCompatBackgroundHelper 41 mView = view; in AppCompatBackgroundHelper() 46 TintTypedArray a = TintTypedArray.obtainStyledAttributes(mView.getContext(), attrs, in loadFromAttributes() 53 .getTintList(mView.getContext(), mBackgroundResId); in loadFromAttributes() 59 ViewCompat.setBackgroundTintList(mView, in loadFromAttributes() 63 ViewCompat.setBackgroundTintMode(mView, in loadFromAttributes() 77 ? mDrawableManager.getTintList(mView.getContext(), resId) in onSetBackgroundResource() 121 mView.getContext(), mBackgroundResId, mBackgroundTint.mOriginalTintList); in updateBackgroundTint() 156 final Drawable background = mView.getBackground(); in applySupportBackgroundTint() 167 mView.getDrawableState()); in applySupportBackgroundTint() [all …]
|
D | AppCompatCompoundButtonHelper.java | 34 private final CompoundButton mView; field in AppCompatCompoundButtonHelper 51 mView = view; in AppCompatCompoundButtonHelper() 55 TypedArray a = mView.getContext().obtainStyledAttributes(attrs, R.styleable.CompoundButton, in loadFromAttributes() 62 mView.setButtonDrawable( in loadFromAttributes() 63 AppCompatResources.getDrawable(mView.getContext(), resourceId)); in loadFromAttributes() 67 CompoundButtonCompat.setButtonTintList(mView, in loadFromAttributes() 71 CompoundButtonCompat.setButtonTintMode(mView, in loadFromAttributes() 114 Drawable buttonDrawable = CompoundButtonCompat.getButtonDrawable(mView); in applyButtonTint() 128 buttonDrawable.setState(mView.getDrawableState()); in applyButtonTint() 130 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/support/transition/tests/src/android/support/transition/ |
D | FadeTest.java | 37 private View mView; field in FadeTest 46 mView = new View(rule.getActivity()); in setUp() 47 mRoot.addView(mView, new ViewGroup.LayoutParams(100, 100)); in setUp() 57 startValues.view = mView; in testDisappear() 59 mView.setVisibility(View.INVISIBLE); in testDisappear() 61 endValues.view = mView; in testDisappear() 70 mView.setVisibility(View.INVISIBLE); in testAppear() 73 startValues.view = mView; in testAppear() 75 mView.setVisibility(View.VISIBLE); in testAppear() 77 endValues.view = mView; in testAppear() [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/android/widget/ |
D | Toast.java | 371 View mView; field in Toast.TN 423 if (localLOGV) Log.v(TAG, "HANDLE SHOW: " + this + " mView=" + mView in handleShow() 425 if (mView != mNextView) { in handleShow() 428 mView = mNextView; in handleShow() 429 Context context = mView.getContext().getApplicationContext(); in handleShow() 430 String packageName = mView.getContext().getOpPackageName(); in handleShow() 432 context = mView.getContext(); in handleShow() 437 final Configuration config = mView.getContext().getResources().getConfiguration(); in handleShow() 454 if (mView.getParent() != null) { in handleShow() 455 if (localLOGV) Log.v(TAG, "REMOVE! " + mView + " in " + this); in handleShow() [all …]
|
/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/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()
|