Searched defs:mRow (Results 1 - 20 of 20) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
H A DExpandHelperTest.java41 private ExpandableNotificationRow mRow; field in class:ExpandHelperTest
48 mRow = new NotificationTestHelper(context).createRow();
59 mExpandHelper.startExpanding(mRow, 0);
61 mExpandHelper.startExpanding(mRow, 0);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DNotificationCustomViewWrapperTest.java39 private ExpandableNotificationRow mRow; field in class:NotificationCustomViewWrapperTest
44 mRow = new ExpandableNotificationRow(mContext, null);
51 NotificationViewWrapper wrap = NotificationCustomViewWrapper.wrap(mContext, v, mRow);
52 wrap.onContentUpdated(mRow);
57 wrap.onContentUpdated(mRow);
H A DNotificationTestHelper.java47 private ExpandableNotificationRow mRow; field in class:NotificationTestHelper
76 mRow = (ExpandableNotificationRow) inflater.inflate(
80 ExpandableNotificationRow row = mRow;
H A DNotificationDataTest.java57 private ExpandableNotificationRow mRow; field in class:NotificationDataTest
76 mRow = new NotificationTestHelper(getContext()).createRow();
116 mNotificationData.add(mRow.getEntry());
117 Assert.assertTrue(mRow.getEntry().channel != null);
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
H A DWeightTest.java34 private View mRow; field in class:WeightTest
48 mRow = activity.findViewById(R.id.row);
56 assertNotNull(mRow);
61 assertEquals(mCell1.getWidth() + mCell2.getWidth() + mCell3.getWidth(), mRow.getWidth());
/frameworks/base/core/java/android/util/
H A DDayOfMonthCursor.java37 private int mRow; field in class:DayOfMonthCursor
50 mRow = getRowOf(dayOfMonth);
56 return mRow;
64 mRow = row;
69 return getDayAt(mRow, mColumn);
77 if (isWithinCurrentMonth(mRow, mColumn)) {
80 if (mRow == 0) {
87 mRow = getRowOf(dayOfMonth);
92 return (mRow == row) && (mColumn == column);
101 if (isWithinCurrentMonth(mRow
[all...]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DVisualStabilityManagerTest.java46 private ExpandableNotificationRow mRow = mock(ExpandableNotificationRow.class); field in class:VisualStabilityManagerTest
53 mEntry.row = mRow;
60 assertEquals(mVisualStabilityManager.canReorderNotification(mRow), false);
62 assertEquals(mVisualStabilityManager.canReorderNotification(mRow), true);
69 assertEquals(mVisualStabilityManager.canReorderNotification(mRow), false);
71 assertEquals(mVisualStabilityManager.canReorderNotification(mRow), true);
125 mVisualStabilityManager.notifyViewAddition(mRow);
126 assertEquals(mVisualStabilityManager.canReorderNotification(mRow), true);
135 assertEquals(mVisualStabilityManager.canReorderNotification(mRow), false);
144 assertEquals(mVisualStabilityManager.canReorderNotification(mRow), tru
[all...]
H A DNotificationInflaterTest.java63 private ExpandableNotificationRow mRow; field in class:NotificationInflaterTest
74 mRow = spy(row);
75 mNotificationInflater = new NotificationInflater(mRow);
110 verify(mRow).onNotificationUpdated();
115 mRow.getPrivateLayout().removeAllViews();
116 mRow.getEntry().cachedBigContentView = null;
119 Assert.assertTrue(mRow.getPrivateLayout().getChildCount() == 1);
120 Assert.assertTrue(mRow.getPrivateLayout().getChildAt(0)
121 == mRow.getPrivateLayout().getExpandedChild());
122 verify(mRow)
[all...]
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/media/
H A DPlaybackGlueHostImpl.java27 protected Row mRow; field in class:PlaybackGlueHostImpl
68 mRow = row;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationHeaderUtil.java89 private final ExpandableNotificationRow mRow; field in class:NotificationHeaderUtil
94 mRow = row;
96 mComparators.add(new HeaderProcessor(mRow,
102 mComparators.add(new HeaderProcessor(mRow,
107 mComparators.add(new HeaderProcessor(mRow,
126 mComparators.add(HeaderProcessor.forTextView(mRow,
128 mComparators.add(HeaderProcessor.forTextView(mRow,
135 List<ExpandableNotificationRow> notificationChildren = mRow.getNotificationChildren();
201 || mRow.getStatusBarNotification().getNotification().showsTime()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationViewWrapper.java38 protected final ExpandableNotificationRow mRow; field in class:NotificationViewWrapper
67 mRow = row;
171 return mRow.isSummaryWithChildren() ? 0 : mBackgroundColor;
H A DNotificationInflater.java62 private final ExpandableNotificationRow mRow; field in class:NotificationInflater
72 mRow = row;
109 if (mRow.getEntry() == null) {
133 if (mRow.isRemoved()) {
139 StatusBarNotification sbn = mRow.getEntry().notification;
140 new AsyncInflationTask(sbn, reInflateFlags, mRow, mIsLowPriority,
151 apply(result, reInflateFlags, mRow, mRedactAmbient, mRemoteViewClickHandler, null);
516 NotificationData.Entry entry = mRow.getEntry();
543 private ExpandableNotificationRow mRow; field in class:NotificationInflater.AsyncInflationTask
554 mRow
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DRowPresenter.java147 Row mRow; field in class:RowPresenter.ViewHolder
176 return mRow;
610 vh.mRow = item instanceof Row ? (Row) item : null;
630 vh.mRow = null;
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
H A DListRowPresenterTest.java82 ListRow mRow; field in class:ListRowPresenterTest
90 mRow = new ListRow(adapter);
99 mListRowPresenter.onBindViewHolder(mListVh, mRow);
153 mRow = new ListRow(arrayAdapter);
162 mListRowPresenter.onBindViewHolder(mListVh, mRow);
H A DObjectAdapterTest.java71 private ListRow mRow; field in class:ObjectAdapterTest
288 mRow = new ListRow(new ArrayObjectAdapter(mAdapterItemPresenter));
1020 ((ArrayObjectAdapter) mRow.getAdapter()).addAll(0, dataSetOne);
1035 mRowsAdapter.add(mRow);
1041 mListRowPresenter.onBindRowViewHolder(mListVh, mRow);
1051 ((ArrayObjectAdapter) mRow.getAdapter()).setItems(dataSetTwo,
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DPlaybackFragment.java134 Row mRow; field in class:PlaybackFragment
969 this.mRow = row;
1039 if (mAdapter instanceof ArrayObjectAdapter && mRow != null) {
1042 adapter.add(mRow);
1044 adapter.replace(0, mRow);
1046 } else if (mAdapter instanceof SparseArrayObjectAdapter && mRow != null) {
1048 adapter.set(0, mRow);
1053 if (mAdapter != null && mRow != null && mPresenter != null) {
1057 ((ClassPresenterSelector) selector).addClassPresenter(mRow.getClass(), mPresenter);
1060 ((ClassPresenterSelector) selector).addClassPresenter(mRow
[all...]
H A DPlaybackSupportFragment.java131 Row mRow; field in class:PlaybackSupportFragment
966 this.mRow = row;
1036 if (mAdapter instanceof ArrayObjectAdapter && mRow != null) {
1039 adapter.add(mRow);
1041 adapter.replace(0, mRow);
1043 } else if (mAdapter instanceof SparseArrayObjectAdapter && mRow != null) {
1045 adapter.set(0, mRow);
1050 if (mAdapter != null && mRow != null && mPresenter != null) {
1054 ((ClassPresenterSelector) selector).addClassPresenter(mRow.getClass(), mPresenter);
1057 ((ClassPresenterSelector) selector).addClassPresenter(mRow
[all...]
/frameworks/base/media/java/android/media/
H A DClosedCaptionRenderer.java575 final int mRow; field in class:Cea608CCParser.PAC
604 mRow = row;
613 return mRow;
623 mRow, mCol, super.toString());
761 private int mRow; field in class:Cea608CCParser.CCMemory
775 mRow = MAX_ROWS;
780 if (mLines[mRow] != null) {
782 if (mLines[mRow].charAt(i) != TS) {
783 for (int j = mCol; j < mLines[mRow].length(); j++) {
789 mLines[mRow]
[all...]
H A DCea708CaptionRenderer.java1686 private int mRow = -1; field in class:Cea708CCWidget.CCWindowLayout
1789 if (mRow >= 0) {
1790 for (int r = mRow; r < row; ++r) {
1794 mRow = row;
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeDialogImpl.java1209 private final VolumeRow mRow; field in class:VolumeDialogImpl.VolumeSeekBarChangeListener
1212 mRow = row;
1217 if (mRow.ss == null) return;
1218 if (D.BUG) Log.d(TAG, AudioSystem.streamToString(mRow.stream)
1221 if (mRow.ss.levelMin > 0) {
1222 final int minProgress = mRow.ss.levelMin * 100;
1229 if (mRow.ss.level != userLevel || mRow.ss.muted && userLevel > 0) {
1230 mRow.userAttempt = SystemClock.uptimeMillis();
1231 if (mRow
[all...]

Completed in 282 milliseconds