/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/bubbles/ |
D | BubbleControllerTest.java | 161 private ExpandableNotificationRow mRow; field in BubbleControllerTest 214 mRow = mNotificationTestHelper.createBubble(mDeleteIntent); in setUp() 221 .getActiveNotificationUnfiltered(mRow.getEntry().getKey())).thenReturn( in setUp() 222 mRow.getEntry()); in setUp() 281 mBubbleController.updateBubble(mRow.getEntry()); in testAddBubble() 290 mBubbleController.updateBubble(mRow.getEntry()); in testHasBubbles() 297 mBubbleController.updateBubble(mRow.getEntry()); in testRemoveBubble() 298 assertNotNull(mBubbleData.getBubbleInStackWithKey(mRow.getEntry().getKey())); in testRemoveBubble() 303 mRow.getEntry().getKey(), BubbleController.DISMISS_USER_GESTURE); in testRemoveBubble() 304 assertNull(mBubbleData.getBubbleInStackWithKey(mRow.getEntry().getKey())); in testRemoveBubble() [all …]
|
D | NewNotifPipelineBubbleControllerTest.java | 154 private ExpandableNotificationRow mRow; field in NewNotifPipelineBubbleControllerTest 210 mRow = mNotificationTestHelper.createBubble(mDeleteIntent); in setUp() 263 mBubbleController.updateBubble(mRow.getEntry()); in testAddBubble() 270 mBubbleController.updateBubble(mRow.getEntry()); in testHasBubbles() 276 mBubbleController.updateBubble(mRow.getEntry()); in testRemoveBubble() 277 assertNotNull(mBubbleData.getBubbleInStackWithKey(mRow.getEntry().getKey())); in testRemoveBubble() 282 mRow.getEntry().getKey(), BubbleController.DISMISS_USER_GESTURE); in testRemoveBubble() 283 assertNull(mBubbleData.getBubbleInStackWithKey(mRow.getEntry().getKey())); in testRemoveBubble() 289 mEntryListener.onEntryAdded(mRow.getEntry()); in testRemoveBubble_withDismissedNotif_inOverflow() 290 mBubbleController.updateBubble(mRow.getEntry()); in testRemoveBubble_withDismissedNotif_inOverflow() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationContentInflaterTest.java | 85 private ExpandableNotificationRow mRow; field in NotificationContentInflaterTest 103 mRow = spy(row); in setUp() 121 mNotificationInflater.inflateNotificationViews(mRow.getEntry(), in testIncreasedHeadsUpBeingUsed() 122 mRow, in testIncreasedHeadsUpBeingUsed() local 136 mNotificationInflater.inflateNotificationViews(mRow.getEntry(), in testIncreasedHeightBeingUsed() 137 mRow, in testIncreasedHeightBeingUsed() local 148 inflateAndWait(mNotificationInflater, FLAG_CONTENT_VIEW_ALL, mRow); in testInflationCallsUpdated() 149 verify(mRow).onNotificationUpdated(); in testInflationCallsUpdated() 154 inflateAndWait(mNotificationInflater, FLAG_CONTENT_VIEW_HEADS_UP, mRow); in testInflationOnlyInflatesSetFlags() 156 assertNotNull(mRow.getPrivateLayout().getHeadsUpChild()); in testInflationOnlyInflatesSetFlags() [all …]
|
D | RowContentBindStageTest.java | 57 @Mock private ExpandableNotificationRow mRow; field in RowContentBindStageTest 76 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testRequireContentViews() 97 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testFreeContentViews() 113 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testRebindAllContentViews() 134 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSetUseLowPriority() 158 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSetUseIncreasedHeight() 182 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSetUseIncreasedHeadsUpHeight() 206 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSetNeedsReinflation() 224 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSupersedesPreviousContentViews() 228 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSupersedesPreviousContentViews()
|
D | NotificationMenuRowTest.java | 57 private ExpandableNotificationRow mRow; field in NotificationMenuRowTest 63 mRow = mock(ExpandableNotificationRow.class); in setup() 66 when(mRow.getEntry()).thenReturn(entry); in setup() 79 row.createMenu(mRow, null); in testAttachDetach() 90 row.createMenu(mRow, null); in testRecreateMenu() 92 row.createMenu(mRow, null); in testRecreateMenu() 109 row.createMenu(mRow, null); in testNoAppOpsInSlowSwipe() 121 row.createMenu(mRow, null); in testNoSnoozeInSlowSwipe() 133 row.createMenu(mRow, null); in testSnoozeInSlowSwipe()
|
D | NotifBindPipelineTest.java | 55 @Mock private ExpandableNotificationRow mRow; field in NotifBindPipelineTest 79 mBindPipeline.manageRow(mEntry, mRow); in testCallbackCalled() 96 mBindPipeline.manageRow(mEntry, mRow); in testCallbackCancelled() 116 mBindPipeline.manageRow(mEntry, mRow); in testMultipleCallbacks()
|
D | NotificationTestHelper.java | 99 private ExpandableNotificationRow mRow; field in NotificationTestHelper 380 mRow = (ExpandableNotificationRow) inflater.inflate( in generateRow() 384 ExpandableNotificationRow row = mRow; in generateRow()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | VisualStabilityManagerTest.java | 54 private ExpandableNotificationRow mRow = mock(ExpandableNotificationRow.class); field in VisualStabilityManagerTest 67 mEntry.setRow(mRow); in setUp() 69 when(mRow.getEntry()).thenReturn(mEntry); in setUp() 76 assertFalse(mVisualStabilityManager.canReorderNotification(mRow)); in testPanelExpansion() 78 assertTrue(mVisualStabilityManager.canReorderNotification(mRow)); in testPanelExpansion() 85 assertFalse(mVisualStabilityManager.canReorderNotification(mRow)); in testScreenOn() 87 assertTrue(mVisualStabilityManager.canReorderNotification(mRow)); in testScreenOn() 152 mVisualStabilityManager.notifyViewAddition(mRow); in testAddedCanReorder() 153 assertTrue(mVisualStabilityManager.canReorderNotification(mRow)); in testAddedCanReorder() 162 assertFalse(mVisualStabilityManager.canReorderNotification(mRow)); in testReorderingVisibleHeadsUpNotAllowed() [all …]
|
D | NotificationFilterTest.java | 87 private ExpandableNotificationRow mRow; field in NotificationFilterTest 125 mRow = testHelper.createRow(); in setUp() 173 StatusBarNotification sbn = mRow.getEntry().getSbn(); in testSuppressSystemAlertNotification() 178 assertTrue(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testSuppressSystemAlertNotification() 183 StatusBarNotification sbn = mRow.getEntry().getSbn(); in testDoNotSuppressSystemAlertNotification() 191 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressSystemAlertNotification() 196 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressSystemAlertNotification() 201 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressSystemAlertNotification() 209 assertFalse(mNotificationFilter.shouldFilterOut(mRow.getEntry())); in testDoNotSuppressMalformedSystemAlertNotification() 211 StatusBarNotification sbn = mRow.getEntry().getSbn(); in testDoNotSuppressMalformedSystemAlertNotification() [all …]
|
D | ActivityLaunchAnimatorTest.java | 67 private ExpandableNotificationRow mRow; field in ActivityLaunchAnimatorTest 93 RemoteAnimationAdapter launchAnimation = mLaunchAnimator.getLaunchAnimation(mRow, in testReturnsNullIfNotEnabled() 102 RemoteAnimationAdapter launchAnimation = mLaunchAnimator.getLaunchAnimation(mRow, in testNotWorkingWhenOccluded() 110 RemoteAnimationAdapter launchAnimation = mLaunchAnimator.getLaunchAnimation(mRow, in testTimeoutCalled()
|
D | NotificationEntryManagerTest.java | 115 @Mock private ExpandableNotificationRow mRow; field in NotificationEntryManagerTest 274 mEntry.setRow(mRow); in testRemoveNotification() 282 verify(mRow).setRemoved(); in testRemoveNotification() 324 mEntry.setRow(mRow); in testUpdateNotificationRanking() 340 mEntry.setRow(mRow); in testUpdateNotificationRanking_noChange() 345 verify(mRow, never()).setEntry(eq(mEntry)); in testUpdateNotificationRanking_noChange() 359 verify(mRow, never()).setEntry(eq(mEntry)); in testUpdateNotificationRanking_rowNotInflatedYet() 374 verify(mRow, never()).setEntry(eq(mEntry)); in testUpdateNotificationRanking_pendingNotification()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationCustomViewWrapperTest.java | 42 private ExpandableNotificationRow mRow; field in NotificationCustomViewWrapperTest 51 mRow = helper.createRow(); in setUp() 58 NotificationViewWrapper wrap = NotificationCustomViewWrapper.wrap(mContext, v, mRow); in testBackgroundPersists() 59 wrap.onContentUpdated(mRow); in testBackgroundPersists() 64 wrap.onContentUpdated(mRow); in testBackgroundPersists()
|
D | NotificationViewWrapperTest.java | 45 private ExpandableNotificationRow mRow; field in NotificationViewWrapperTest 56 mRow = helper.createRow(); in setup() 57 mNotificationViewWrapper = new TestableNotificationViewWrapper(mContext, mView, mRow); in setup()
|
D | NotificationMediaTemplateViewWrapperTest.java | 57 private ExpandableNotificationRow mRow; field in NotificationMediaTemplateViewWrapperTest 105 mRow = helper.createRow(mNotif); in makeTestNotification() 111 mView, mRow); in makeTestNotification() 112 mWrapper.onContentUpdated(mRow); in makeTestNotification()
|
/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/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 …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ExpandHelperTest.java | 46 private ExpandableNotificationRow mRow; field in ExpandHelperTest 60 mRow = helper.createRow(); in setUp() 69 mExpandHelper.startExpanding(mRow, 0); in testAnimationDoesntClearViewIfNewExpansionStarted() 71 mExpandHelper.startExpanding(mRow, 0); in testAnimationDoesntClearViewIfNewExpansionStarted()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSliceView.java | 100 private Row mRow; field in KeyguardSliceView 148 mRow = findViewById(R.id.row); in onFinishInflate() 205 mRow.setVisibility(GONE); in showSlice() 245 mRow.setVisibility(subItemsCount > 0 ? VISIBLE : GONE); in showSlice() 246 LinearLayout.LayoutParams layoutParams = (LayoutParams) mRow.getLayoutParams(); in showSlice() 248 mRow.setLayoutParams(layoutParams); in showSlice() 255 KeyguardSliceTextView button = mRow.findViewWithTag(itemTag); in showSlice() 261 mRow.addView(button, viewIndex); in showSlice() 294 for (int i = 0; i < mRow.getChildCount(); i++) { in showSlice() 295 View child = mRow.getChildAt(i); in showSlice() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationHeaderUtil.java | 100 private final ExpandableNotificationRow mRow; field in NotificationHeaderUtil 105 mRow = row; in NotificationHeaderUtil() 107 mComparators.add(new HeaderProcessor(mRow, in NotificationHeaderUtil() 113 mComparators.add(new HeaderProcessor(mRow, in NotificationHeaderUtil() 118 mComparators.add(new HeaderProcessor(mRow, in NotificationHeaderUtil() 138 mRow, in NotificationHeaderUtil() 143 mComparators.add(HeaderProcessor.forTextView(mRow, in NotificationHeaderUtil() 151 List<ExpandableNotificationRow> notificationChildren = mRow.getAttachedChildren(); in updateChildrenHeaderAppearance() 217 || mRow.getEntry().getSbn().getNotification().showsTime() in sanitizeHeader()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationContentInflater.java | 709 private ExpandableNotificationRow mRow; field in NotificationContentInflater.AsyncInflationTask 731 mRow = row; in AsyncInflationTask() 738 mContext = mRow.getContext(); in AsyncInflationTask() 780 mRow.getContext(), packageContext, mRow.getHeadsUpManager(), in doInBackground() 782 mRow.getExistingSmartRepliesAndActions()); in doInBackground() 799 mRow, in onPostExecute() 814 mCallback.handleInflationException(mRow.getEntry(), in handleError() 835 mRow.onNotificationUpdated(); in onAsyncInflationFinished() 842 mRow.getImageResolver().purgeCache(); in onAsyncInflationFinished()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationViewWrapper.java | 54 protected final ExpandableNotificationRow mRow; field in NotificationViewWrapper 88 mRow = row; in NotificationViewWrapper() 131 if (mRow.getEntry().targetSdk >= Build.VERSION_CODES.Q) { in needsInversion() 311 return mRow.isSummaryWithChildren() ? 0 : mBackgroundColor; in getCustomBackgroundColor()
|
D | NotificationMediaTemplateViewWrapper.java | 178 final MediaSession.Token token = mRow.getEntry().getSbn().getNotification().extras in resolveViews() 417 String packageName = mRow.getEntry().getSbn().getPackageName(); in newLog() 429 String packageName = mRow.getEntry().getSbn().getPackageName(); in newLog()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | AlertingNotificationManagerTest.java | 78 @Mock protected ExpandableNotificationRow mRow; field in AlertingNotificationManagerTest 136 mEntry.setRow(mRow); in setUp() 191 entry.setRow(mRow); in testReleaseAllImmediately()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/ |
D | NotificationLoggerTest.java | 80 @Mock private ExpandableNotificationRow mRow; field in NotificationLoggerTest 109 mEntry.setRow(mRow); in setUp() 232 entry.setRow(mRow); in testLogPanelShownHandlesNullInstanceIds()
|