/frameworks/base/core/java/android/util/ |
D | DayOfMonthCursor.java | 37 private int mRow; field in DayOfMonthCursor 50 mRow = getRowOf(dayOfMonth); in DayOfMonthCursor() 56 return mRow; in getSelectedRow() 64 mRow = row; in setSelectedRowColumn() 69 return getDayAt(mRow, mColumn); in getSelectedDayOfMonth() 77 if (isWithinCurrentMonth(mRow, mColumn)) { in getSelectedMonthOffset() 80 if (mRow == 0) { in getSelectedMonthOffset() 87 mRow = getRowOf(dayOfMonth); in setSelectedDayOfMonth() 92 return (mRow == row) && (mColumn == column); in isSelected() 101 if (isWithinCurrentMonth(mRow - 1, mColumn)) { in up() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | NotificationInflaterTest.java | 63 private ExpandableNotificationRow mRow; field in NotificationInflaterTest 74 mRow = spy(row); in setUp() 75 mNotificationInflater = new NotificationInflater(mRow); in setUp() 110 verify(mRow).onNotificationUpdated(); in testInflationCallsUpdated() 115 mRow.getPrivateLayout().removeAllViews(); in testInflationCallsOnlyRightMethod() 116 mRow.getEntry().cachedBigContentView = null; in testInflationCallsOnlyRightMethod() 119 Assert.assertTrue(mRow.getPrivateLayout().getChildCount() == 1); in testInflationCallsOnlyRightMethod() 120 Assert.assertTrue(mRow.getPrivateLayout().getChildAt(0) in testInflationCallsOnlyRightMethod() 121 == mRow.getPrivateLayout().getExpandedChild()); in testInflationCallsOnlyRightMethod() 122 verify(mRow).onNotificationUpdated(); in testInflationCallsOnlyRightMethod() [all …]
|
D | VisualStabilityManagerTest.java | 46 private ExpandableNotificationRow mRow = mock(ExpandableNotificationRow.class); field in VisualStabilityManagerTest 53 mEntry.row = mRow; in setUp() 60 assertEquals(mVisualStabilityManager.canReorderNotification(mRow), false); in testPanelExpansion() 62 assertEquals(mVisualStabilityManager.canReorderNotification(mRow), true); in testPanelExpansion() 69 assertEquals(mVisualStabilityManager.canReorderNotification(mRow), false); in testScreenOn() 71 assertEquals(mVisualStabilityManager.canReorderNotification(mRow), true); in testScreenOn() 125 mVisualStabilityManager.notifyViewAddition(mRow); in testAddedCanReorder() 126 assertEquals(mVisualStabilityManager.canReorderNotification(mRow), true); in testAddedCanReorder() 135 assertEquals(mVisualStabilityManager.canReorderNotification(mRow), false); in testReorderingVisibleHeadsUpNotAllowed() 144 assertEquals(mVisualStabilityManager.canReorderNotification(mRow), true); in testReorderingVisibleHeadsUpAllowed() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationCustomViewWrapperTest.java | 43 private ExpandableNotificationRow mRow; field in NotificationCustomViewWrapperTest 48 mRow = new ExpandableNotificationRow(mContext, null); in setUp() 55 NotificationViewWrapper wrap = NotificationCustomViewWrapper.wrap(mContext, v, mRow); in testBackgroundPersists() 56 wrap.onContentUpdated(mRow); in testBackgroundPersists() 61 wrap.onContentUpdated(mRow); in testBackgroundPersists()
|
D | NotificationDataTest.java | 57 private ExpandableNotificationRow mRow; field in NotificationDataTest 76 mRow = new NotificationTestHelper(getContext()).createRow(); in setUp() 116 mNotificationData.add(mRow.getEntry()); in testChannelSetWhenAdded() 117 Assert.assertTrue(mRow.getEntry().channel != null); in testChannelSetWhenAdded()
|
D | NotificationTestHelper.java | 43 private ExpandableNotificationRow mRow; field in NotificationTestHelper 70 mRow = (ExpandableNotificationRow) inflater.inflate( in createRow() 74 ExpandableNotificationRow row = mRow; in createRow()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/ |
D | WeightTest.java | 34 private View mRow; field in WeightTest 48 mRow = activity.findViewById(R.id.row); in setUp() 56 assertNotNull(mRow); in testSetUpConditions() 61 assertEquals(mCell1.getWidth() + mCell2.getWidth() + mCell3.getWidth(), mRow.getWidth()); in testAllCellsFillParent()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ExpandHelperTest.java | 41 private ExpandableNotificationRow mRow; field in ExpandHelperTest 48 mRow = new NotificationTestHelper(context).createRow(); in setUp() 59 mExpandHelper.startExpanding(mRow, 0); in testAnimationDoesntClearViewIfNewExpansionStarted() 61 mExpandHelper.startExpanding(mRow, 0); in testAnimationDoesntClearViewIfNewExpansionStarted()
|
/frameworks/base/media/java/android/media/ |
D | ClosedCaptionRenderer.java | 575 final int mRow; field in Cea608CCParser.PAC 604 mRow = row; in PAC() 613 return mRow; in getRow() 623 mRow, mCol, super.toString()); in toString() 761 private int mRow; field in Cea608CCParser.CCMemory 775 mRow = MAX_ROWS; in erase() 780 if (mLines[mRow] != null) { in der() 782 if (mLines[mRow].charAt(i) != TS) { in der() 783 for (int j = mCol; j < mLines[mRow].length(); j++) { in der() 789 mLines[mRow] = null; in der() [all …]
|
D | Cea708CaptionRenderer.java | 1686 private int mRow = -1; field in Cea708CCWidget.CCWindowLayout 1789 if (mRow >= 0) { in setPenLocation() 1790 for (int r = mRow; r < row; ++r) { in setPenLocation() 1794 mRow = row; in setPenLocation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationInflater.java | 62 private final ExpandableNotificationRow mRow; field in NotificationInflater 72 mRow = row; in NotificationInflater() 109 if (mRow.getEntry() == null) { in setRedactAmbient() 133 if (mRow.isRemoved()) { in inflateNotificationViews() 139 StatusBarNotification sbn = mRow.getEntry().notification; in inflateNotificationViews() 140 new AsyncInflationTask(sbn, reInflateFlags, mRow, mIsLowPriority, in inflateNotificationViews() 151 apply(result, reInflateFlags, mRow, mRedactAmbient, mRemoteViewClickHandler, null); in inflateNotificationViews() 509 NotificationData.Entry entry = mRow.getEntry(); in onDensityOrFontScaleChanged() 536 private ExpandableNotificationRow mRow; field in NotificationInflater.AsyncInflationTask 547 mRow = row; in AsyncInflationTask() [all …]
|
D | NotificationViewWrapper.java | 38 protected final ExpandableNotificationRow mRow; field in NotificationViewWrapper 67 mRow = row; in NotificationViewWrapper() 171 return mRow.isSummaryWithChildren() ? 0 : mBackgroundColor; in getCustomBackgroundColor()
|
D | NotificationHeaderViewWrapper.java | 113 mExpandButton.setLabeledBy(mRow); in resolveHeaderViews() 220 if (mIcon != null && !mRow.isChildInGroup()) { in setDark()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationHeaderUtil.java | 89 private final ExpandableNotificationRow mRow; field in NotificationHeaderUtil 94 mRow = row; in NotificationHeaderUtil() 96 mComparators.add(new HeaderProcessor(mRow, in NotificationHeaderUtil() 102 mComparators.add(new HeaderProcessor(mRow, in NotificationHeaderUtil() 107 mComparators.add(new HeaderProcessor(mRow, in NotificationHeaderUtil() 126 mComparators.add(HeaderProcessor.forTextView(mRow, in NotificationHeaderUtil() 128 mComparators.add(HeaderProcessor.forTextView(mRow, in NotificationHeaderUtil() 135 List<ExpandableNotificationRow> notificationChildren = mRow.getNotificationChildren(); in updateChildrenHeaderAppearance() 201 || mRow.getStatusBarNotification().getNotification().showsTime() in sanitizeHeader()
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/ |
D | PlaybackGlueHostImplWithViewHolder.java | 56 if (mViewHolder == null && mPlaybackRowPresenter != null && mRow != null) { in createViewHolderIfNeeded() 64 mPlaybackRowPresenter.onBindViewHolder(mViewHolder, mRow); in createViewHolderIfNeeded() 75 mPlaybackRowPresenter.onBindViewHolder(mViewHolder, mRow); in notifyPlaybackRowChanged()
|
D | ListRowPresenterTest.java | 70 ListRow mRow; field in ListRowPresenterTest 78 mRow = new ListRow(adapter); in setup() 87 mListRowPresenter.onBindViewHolder(mListVh, mRow); in setup()
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/media/ |
D | PlaybackControlGlueTest.java | 110 assertTrue(host.mRow instanceof PlaybackControlsRow); in usingDefaultRowAndPresenter() 136 assertTrue(host.mRow instanceof PlaybackControlsRow); in customRowPresenter() 158 assertSame(host.mRow, row); in customControlsRow() 187 assertSame(host.mRow, row); in customRowAndPresenter()
|
D | PlaybackGlueHostImpl.java | 27 protected Row mRow; field in PlaybackGlueHostImpl 68 mRow = row; in setPlaybackRow()
|
D | PlaybackBannerControlGlueTest.java | 86 assertTrue(host.mRow instanceof PlaybackControlsRow); in usingDefaultRowAndPresenter() 111 assertTrue(host.mRow instanceof PlaybackControlsRow); in customRowPresenter() 132 assertSame(host.mRow, row); in customControlsRow() 160 assertSame(host.mRow, row); in customRowAndPresenter()
|
D | PlaybackTransportControlGlueTest.java | 86 assertTrue(host.mRow instanceof PlaybackControlsRow); in usingDefaultRowAndPresenter() 111 assertTrue(host.mRow instanceof PlaybackControlsRow); in customRowPresenter() 132 assertSame(host.mRow, row); in customControlsRow() 160 assertSame(host.mRow, row); in customRowAndPresenter()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogImpl.java | 1172 private final VolumeRow mRow; 1175 mRow = row; 1180 if (mRow.ss == null) return; 1181 if (D.BUG) Log.d(TAG, AudioSystem.streamToString(mRow.stream) 1184 if (mRow.ss.levelMin > 0) { 1185 final int minProgress = mRow.ss.levelMin * 100; 1192 if (mRow.ss.level != userLevel || mRow.ss.muted && userLevel > 0) { 1193 mRow.userAttempt = SystemClock.uptimeMillis(); 1194 if (mRow.requestedLevel != userLevel) { 1195 mController.setStreamVolume(mRow.stream, userLevel); [all …]
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | PlaybackSupportFragment.java | 134 Row mRow; field in PlaybackSupportFragment 969 this.mRow = row; in setPlaybackRow() 1039 if (mAdapter instanceof ArrayObjectAdapter && mRow != null) { in setupRow() 1042 adapter.add(mRow); in setupRow() 1044 adapter.replace(0, mRow); in setupRow() 1046 } else if (mAdapter instanceof SparseArrayObjectAdapter && mRow != null) { in setupRow() 1048 adapter.set(0, mRow); in setupRow() 1053 if (mAdapter != null && mRow != null && mPresenter != null) { in setupPresenter() 1057 ((ClassPresenterSelector) selector).addClassPresenter(mRow.getClass(), mPresenter); in setupPresenter() 1060 ((ClassPresenterSelector) selector).addClassPresenter(mRow.getClass(), mPresenter); in setupPresenter()
|
D | PlaybackFragment.java | 131 Row mRow; field in PlaybackFragment 966 this.mRow = row; in setPlaybackRow() 1036 if (mAdapter instanceof ArrayObjectAdapter && mRow != null) { in setupRow() 1039 adapter.add(mRow); in setupRow() 1041 adapter.replace(0, mRow); in setupRow() 1043 } else if (mAdapter instanceof SparseArrayObjectAdapter && mRow != null) { in setupRow() 1045 adapter.set(0, mRow); in setupRow() 1050 if (mAdapter != null && mRow != null && mPresenter != null) { in setupPresenter() 1054 ((ClassPresenterSelector) selector).addClassPresenter(mRow.getClass(), mPresenter); in setupPresenter() 1057 ((ClassPresenterSelector) selector).addClassPresenter(mRow.getClass(), mPresenter); in setupPresenter()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | RowPresenter.java | 147 Row mRow; field in RowPresenter.ViewHolder 176 return mRow; in getRow() 610 vh.mRow = item instanceof Row ? (Row) item : null; in onBindRowViewHolder() 630 vh.mRow = null; in onUnbindRowViewHolder()
|
D | ListRowPresenter.java | 257 ibh.mItem, mRowViewHolder, (ListRow) mRowViewHolder.mRow); in onBind() 508 ibh.mHolder, ibh.mItem, rowViewHolder, rowViewHolder.mRow); in selectChildView() 517 null, null, rowViewHolder, rowViewHolder.mRow); in selectChildView()
|