/frameworks/base/core/java/android/util/ |
D | DayOfMonthCursor.java | 38 private int mRow; field in DayOfMonthCursor 51 mRow = getRowOf(dayOfMonth); in DayOfMonthCursor() 57 return mRow; in getSelectedRow() 65 mRow = row; in setSelectedRowColumn() 70 return getDayAt(mRow, mColumn); in getSelectedDayOfMonth() 78 if (isWithinCurrentMonth(mRow, mColumn)) { in getSelectedMonthOffset() 81 if (mRow == 0) { in getSelectedMonthOffset() 88 mRow = getRowOf(dayOfMonth); in setSelectedDayOfMonth() 93 return (mRow == row) && (mColumn == column); in isSelected() 102 if (isWithinCurrentMonth(mRow - 1, mColumn)) { in up() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationRowContentBinderImplTest.kt | 70 private lateinit var mRow: ExpandableNotificationRow in <lambda>() variable in com.android.systemui.statusbar.notification.row.NotificationRowContentBinderImplTest 108 mRow = spy(row) in <lambda>() 130 mRow.entry, in <lambda>() 131 mRow, in <lambda>() 148 mRow.entry, in <lambda>() 149 mRow, in <lambda>() 165 mRow in <lambda>() 167 verify(mRow).onNotificationUpdated() in <lambda>() 175 mRow in <lambda>() 177 Assert.assertNotNull(mRow.privateLayout.headsUpChild) in <lambda>() [all …]
|
D | NotificationContentInflaterTest.java | 91 private ExpandableNotificationRow mRow; field in NotificationContentInflaterTest 132 mRow = spy(row); in setUp() 154 mRow.getEntry(), in testIncreasedHeadsUpBeingUsed() 155 mRow, in testIncreasedHeadsUpBeingUsed() local 171 mRow.getEntry(), in testIncreasedHeightBeingUsed() 172 mRow, in testIncreasedHeightBeingUsed() local 184 inflateAndWait(mNotificationInflater, FLAG_CONTENT_VIEW_ALL, mRow); in testInflationCallsUpdated() 185 verify(mRow).onNotificationUpdated(); in testInflationCallsUpdated() 190 inflateAndWait(mNotificationInflater, FLAG_CONTENT_VIEW_HEADS_UP, mRow); in testInflationOnlyInflatesSetFlags() 192 assertNotNull(mRow.getPrivateLayout().getHeadsUpChild()); in testInflationOnlyInflatesSetFlags() [all …]
|
D | ExpandableNotificationRowDragControllerTest.java | 55 private ExpandableNotificationRow mRow; field in ExpandableNotificationRowDragControllerTest 78 mRow = spy(mNotificationTestHelper.createRow()); in setUp() 79 Notification notification = mRow.getEntry().getSbn().getNotification(); in setUp() 81 doReturn(true).when(mRow).startDragAndDrop(any(), any(), any(), anyInt()); in setUp() 92 mRow.setDragController(controller); in testDoStartDragHeadsUpNotif_startDragAndDrop() 93 mRow.setHeadsUp(true); in testDoStartDragHeadsUpNotif_startDragAndDrop() 94 mRow.setPinned(true); in testDoStartDragHeadsUpNotif_startDragAndDrop() 96 mRow.doLongClickCallback(0, 0); in testDoStartDragHeadsUpNotif_startDragAndDrop() 97 mRow.doDragCallback(0, 0); in testDoStartDragHeadsUpNotif_startDragAndDrop() 98 verify(controller).startDragAndDrop(mRow); in testDoStartDragHeadsUpNotif_startDragAndDrop() [all …]
|
D | RowContentBindStageTest.java | 63 @Mock private ExpandableNotificationRow mRow; field in RowContentBindStageTest 82 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testRequireContentViews() 103 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testFreeContentViews() 180 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testRebindAllContentViews() 201 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSetUseLowPriority() 225 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSetUseIncreasedHeight() 249 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSetUseIncreasedHeadsUpHeight() 273 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSetNeedsReinflation() 291 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSupersedesPreviousContentViews() 295 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSupersedesPreviousContentViews()
|
D | NotificationMenuRowTest.java | 57 private ExpandableNotificationRow mRow; field in NotificationMenuRowTest 64 mRow = mock(ExpandableNotificationRow.class); in setup() 68 when(mRow.getEntry()).thenReturn(entry); in setup() 75 row.createMenu(mRow, null); in testAttachDetach() 86 row.createMenu(mRow, null); in testRecreateMenu() 88 row.createMenu(mRow, null); in testRecreateMenu() 102 when(mRow.getShowSnooze()).thenReturn(false); in testNoAppOpsInSlowSwipe() 106 row.createMenu(mRow, null); in testNoAppOpsInSlowSwipe() 115 when(mRow.getShowSnooze()).thenReturn(false); in testNoSnoozeInSlowSwipe() 119 row.createMenu(mRow, null); in testNoSnoozeInSlowSwipe() [all …]
|
D | NotifBindPipelineTest.java | 60 @Mock private ExpandableNotificationRow mRow; field in NotifBindPipelineTest 84 mBindPipeline.manageRow(mEntry, mRow); in testCallbackCalled() 101 mBindPipeline.manageRow(mEntry, mRow); in testCallbackCancelled() 121 mBindPipeline.manageRow(mEntry, mRow); in testMultipleCallbacks()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | HeadsUpAppearanceControllerTest.java | 77 private ExpandableNotificationRow mRow; field in HeadsUpAppearanceControllerTest 98 mRow = mTestHelper.createRow(); in setUp() 99 mEntry = mRow.getEntry(); in setUp() 135 mRow.setPinned(true); in testShowinEntryUpdated() 139 assertEquals(mRow.getEntry(), mHeadsUpStatusBarView.getShowingEntry()); in testShowinEntryUpdated() 141 mRow.setPinned(false); in testShowinEntryUpdated() 149 mRow.setPinned(true); in testShownUpdated() 155 mRow.setPinned(false); in testShownUpdated() 164 mRow.setPinned(true); in testHeaderUpdated() 168 assertEquals(mRow.getHeaderVisibleAmount(), 0.0f, 0.0f); in testHeaderUpdated() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationBigPictureTemplateViewWrapperTest.java | 48 private ExpandableNotificationRow mRow; field in NotificationBigPictureTemplateViewWrapperTest 56 mRow = helper.createRow(); in setup() 62 mContext, mView, mRow); in invalidLargeIconBig_noCrash() 64 mRow.getEntry().getSbn().getNotification().setSmallIcon( in invalidLargeIconBig_noCrash() 66 mRow.getEntry().getSbn().getNotification().extras.putParcelable( in invalidLargeIconBig_noCrash() 68 wrapper.onContentUpdated(mRow); in invalidLargeIconBig_noCrash() 80 mView, mRow); in setAnimationsRunning_Run() 82 wrapper.onContentUpdated(mRow); in setAnimationsRunning_Run() 97 mView, mRow); in setAnimationsRunning_Stop() 99 wrapper.onContentUpdated(mRow); in setAnimationsRunning_Stop()
|
D | NotificationCustomViewWrapperTest.java | 39 private ExpandableNotificationRow mRow; field in NotificationCustomViewWrapperTest 44 mRow = helper.createRow(); in setUp() 51 NotificationViewWrapper wrap = NotificationCustomViewWrapper.wrap(mContext, v, mRow); in testBackgroundPersists() 52 wrap.onContentUpdated(mRow); in testBackgroundPersists() 57 wrap.onContentUpdated(mRow); in testBackgroundPersists()
|
D | NotificationConversationTemplateViewWrapperTest.kt | 44 private lateinit var mRow: ExpandableNotificationRow variable in com.android.systemui.statusbar.notification.row.wrapper.NotificationConversationTemplateViewWrapperTest 50 mRow = helper.createRow() in setUp() 63 NotificationConversationTemplateViewWrapper(mContext, mockLayoutView, mRow) in setAnimationsRunning_Run() 64 wrapper.onContentUpdated(mRow) in setAnimationsRunning_Run() 82 NotificationConversationTemplateViewWrapper(mContext, mockLayoutView, mRow) in setAnimationsRunning_Stop() 83 wrapper.onContentUpdated(mRow) in setAnimationsRunning_Stop()
|
D | NotificationMessagingTemplateViewWrapperTest.kt | 42 private lateinit var mRow: ExpandableNotificationRow variable in com.android.systemui.statusbar.notification.row.wrapper.NotificationMessagingTemplateViewWrapperTest 48 mRow = helper.createRow() in setUp() 59 NotificationMessagingTemplateViewWrapper(mContext, mockLayoutView, mRow) in setAnimationsRunning_Run() 74 NotificationMessagingTemplateViewWrapper(mContext, mockLayoutView, mRow) in setAnimationsRunning_Stop()
|
D | NotificationViewWrapperTest.java | 43 private ExpandableNotificationRow mRow; field in NotificationViewWrapperTest 51 mRow = helper.createRow(); in setup() 52 mNotificationViewWrapper = new TestableNotificationViewWrapper(mContext, mView, mRow); in setup()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/ |
D | BubblesTest.java | 272 private NotificationEntry mRow; field in BubblesTest 544 mRow = mNotificationTestHelper.createBubble(mDeleteIntent); in setUp() 547 mBubbleEntry = mBubblesManager.notifToBubbleEntry(mRow); in setUp() 634 assertNotNull(mBubbleData.getBubbleInStackWithKey(mRow.getKey())); in testRemoveBubble() 639 mRow.getKey(), Bubbles.DISMISS_USER_GESTURE); in testRemoveBubble() 640 assertNull(mBubbleData.getBubbleInStackWithKey(mRow.getKey())); in testRemoveBubble() 648 mEntryListener.onEntryAdded(mRow); in testRemoveBubble_withDismissedNotif_inOverflow() 655 mBubbleData.getBubbleInStackWithKey(mRow.getKey()).setSuppressNotification(true); in testRemoveBubble_withDismissedNotif_inOverflow() 659 mRow.getKey(), Bubbles.DISMISS_USER_GESTURE); in testRemoveBubble_withDismissedNotif_inOverflow() 660 assertTrue(mBubbleData.hasOverflowBubbleWithKey(mRow.getKey())); in testRemoveBubble_withDismissedNotif_inOverflow() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSliceView.java | 72 private Row mRow; field in KeyguardSliceView 105 mRow = findViewById(R.id.row); in onFinishInflate() 127 mRow.setVisibility(GONE); in hideSlice() 156 mRow.setVisibility(subItemsCount > 0 ? VISIBLE : GONE); in showSlice() 157 LinearLayout.LayoutParams layoutParams = (LayoutParams) mRow.getLayoutParams(); in showSlice() 159 mRow.setLayoutParams(layoutParams); in showSlice() 166 KeyguardSliceTextView button = mRow.findViewWithTag(itemTag); in showSlice() 172 mRow.addView(button, viewIndex); in showSlice() 208 for (int i = 0; i < mRow.getChildCount(); i++) { in showSlice() 209 View child = mRow.getChildAt(i); in showSlice() [all …]
|
/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 | 53 private ExpandableNotificationRow mRow; field in ExpandHelperTest 68 mRow = helper.createRow(); in setUp() 77 mExpandHelper.startExpanding(mRow, 0); in testAnimationDoesntClearViewIfNewExpansionStarted() 79 mExpandHelper.startExpanding(mRow, 0); in testAnimationDoesntClearViewIfNewExpansionStarted()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationGroupingUtil.java | 87 private final ExpandableNotificationRow mRow; field in NotificationGroupingUtil 92 mRow = row; in NotificationGroupingUtil() 94 mProcessors.add(new Processor(mRow, in NotificationGroupingUtil() 100 mProcessors.add(new Processor(mRow, in NotificationGroupingUtil() 105 mProcessors.add(new Processor(mRow, in NotificationGroupingUtil() 110 mProcessors.add(new Processor(mRow, in NotificationGroupingUtil() 115 mProcessors.add(new Processor(mRow, in NotificationGroupingUtil() 120 mProcessors.add(Processor.forTextView(mRow, com.android.internal.R.id.header_text)); in NotificationGroupingUtil() 130 List<ExpandableNotificationRow> notificationChildren = mRow.getAttachedChildren(); in updateChildrenAppearance() 131 if (notificationChildren == null || !mRow.isSummaryWithChildren()) { in updateChildrenAppearance()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogImpl.java | 2534 private final VolumeRow mRow; 2537 mRow = row; 2542 if (mRow.ss == null) return; 2543 if (getActiveRow().equals(mRow) && mRow.slider.getVisibility() == VISIBLE) { 2544 if (fromUser || mRow.animTargetProgress == progress) { 2547 mRow.deliverOnProgressChangedHaptics(fromUser, progress); 2550 if (D.BUG) Log.d(TAG, AudioSystem.streamToString(mRow.stream) 2553 if (mRow.ss.levelMin > 0) { 2554 final int minProgress = getProgressFromVolume(mRow.ss, seekBar, mRow.ss.levelMin); 2560 final int userLevel = getVolumeFromProgress(mRow.ss, seekBar, progress); [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationViewWrapper.java | 56 protected final ExpandableNotificationRow mRow; field in NotificationViewWrapper 98 mRow = row; in NotificationViewWrapper() 137 if (mRow.getEntry().targetSdk >= Build.VERSION_CODES.Q) { in needsInversion() 337 return mRow.isSummaryWithChildren() ? 0 : mBackgroundColor; in getCustomBackgroundColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationContentInflater.java | 1076 private ExpandableNotificationRow mRow; 1106 mRow = row; 1112 mContext = mRow.getContext(); 1185 mUsesIncreasedHeadsUpHeight, packageContext, mRow, 1191 mRow.getExistingSmartReplyState(); 1226 final NotificationInlineImageResolver imageResolver = mRow.getImageResolver(); 1248 mRow, 1269 mCallback.handleInflationException(mRow.getEntry(), 1274 mRow.getImageResolver().cancelRunningTasks(); 1296 mRow.onNotificationUpdated(); [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationRemoteInputManagerTest.java | 66 @Mock private ExpandableNotificationRow mRow; field in NotificationRemoteInputManagerTest 100 mEntry.setRow(mRow); in setUp()
|
D | RemoteInputNotificationRebuilderTest.java | 53 private ExpandableNotificationRow mRow; field in RemoteInputNotificationRebuilderTest 70 mEntry.setRow(mRow); in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
D | HeadsUpViewBinderTest.java | 59 @Mock private ExpandableNotificationRow mRow; field in HeadsUpViewBinderTest 66 when(mEntry.getRow()).thenReturn(mRow); in setup()
|