/aosp14/frameworks/base/core/java/android/util/ |
H A D | DayOfMonthCursor.java | 37 private int mRow; field in DayOfMonthCursor 56 return mRow; in getSelectedRow() 64 mRow = row; in setSelectedRowColumn() 103 mRow--; in up() 108 mRow = 5; in up() 110 mRow--; in up() 123 mRow++; in down() 128 mRow = 0; in down() 130 mRow++; in down() 142 mRow--; in left() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
H A D | NotificationContentInflaterTest.java | 126 mRow = spy(row); in setUp() 145 mRow.getEntry(), in testIncreasedHeadsUpBeingUsed() 146 mRow, in testIncreasedHeadsUpBeingUsed() local 162 mRow.getEntry(), in testIncreasedHeightBeingUsed() 163 mRow, in testIncreasedHeightBeingUsed() local 193 mRow); in testInflationThrowsErrorDoesntCallUpdated() 207 mRow.setRemoved(); in testRemovedNotInflated() 210 mRow.getEntry(), in testRemovedNotInflated() 211 mRow, in testRemovedNotInflated() local 233 mRow.getEntry(), in testInflationIsRetriedIfAsyncFails() [all …]
|
H A D | ExpandableNotificationRowDragControllerTest.java | 56 private ExpandableNotificationRow mRow; field in ExpandableNotificationRowDragControllerTest 93 mRow.setDragController(controller); in testDoStartDragHeadsUpNotif_startDragAndDrop() 94 mRow.setHeadsUp(true); in testDoStartDragHeadsUpNotif_startDragAndDrop() 95 mRow.setPinned(true); in testDoStartDragHeadsUpNotif_startDragAndDrop() 97 mRow.doLongClickCallback(0, 0); in testDoStartDragHeadsUpNotif_startDragAndDrop() 98 mRow.doDragCallback(0, 0); in testDoStartDragHeadsUpNotif_startDragAndDrop() 99 verify(controller).startDragAndDrop(mRow); in testDoStartDragHeadsUpNotif_startDragAndDrop() 107 mRow.setDragController(controller); in testDoStartDragNotif() 109 mRow.doDragCallback(0, 0); in testDoStartDragNotif() 119 mRow.setDragController(controller); in testDoStartDrag_noLaunchIntent() [all …]
|
H A 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()
|
H A 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() 106 row.createMenu(mRow, null); in testNoAppOpsInSlowSwipe() 119 row.createMenu(mRow, null); in testNoSnoozeInSlowSwipe() 132 row.createMenu(mRow, null); in testSnoozeInSlowSwipe() 145 row.createMenu(mRow, null); in testSlowSwipe_newDismiss() [all …]
|
H A D | NotifBindPipelineTest.java | 57 @Mock private ExpandableNotificationRow mRow; field in NotifBindPipelineTest 81 mBindPipeline.manageRow(mEntry, mRow); in testCallbackCalled() 98 mBindPipeline.manageRow(mEntry, mRow); in testCallbackCancelled() 118 mBindPipeline.manageRow(mEntry, mRow); in testMultipleCallbacks()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | HeadsUpAppearanceControllerTest.java | 93 mEntry = mRow.getEntry(); in setUp() 127 mRow.setPinned(true); in testShowinEntryUpdated() 133 mRow.setPinned(false); in testShowinEntryUpdated() 141 mRow.setPinned(true); in testShownUpdated() 147 mRow.setPinned(false); in testShownUpdated() 155 mRow.setPinned(true); in testHeaderUpdated() 161 mRow.setPinned(false); in testHeaderUpdated() 171 mRow.setPinned(true); in testOperatorNameViewUpdated() 177 mRow.setPinned(false); in testOperatorNameViewUpdated() 234 mRow.setHeadsUp(true); in testPulsingRoundness_onUpdateHeadsUpAndPulsingRoundness() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/ |
H A D | BubblesTest.java | 555 when(mCommonNotifCollection.getEntry(mRow.getKey())).thenReturn(mRow); in testRemoveBubble_withDismissedNotif_notInOverflow() 648 mRow.getKey())); in testCollapseAfterChangingExpandedBubble() 805 setMetadataFlags(mRow, in testAutoExpand_fails_noFlag() 814 mRow.getKey()); in testAutoExpand_fails_noFlag() 821 setMetadataFlags(mRow, in testAutoExpand_succeeds_withFlag() 830 mRow.getKey()); in testAutoExpand_succeeds_withFlag() 837 setMetadataFlags(mRow, in testSuppressNotif_onInitialNotif() 862 setMetadataFlags(mRow, in testSuppressNotif_onUpdateNotif() 1196 when(mCommonNotifCollection.getEntry(mRow.getKey())).thenReturn(mRow); in testOverflowLoadedOnce() 1626 setMetadataFlags(mRow, in testNonInterruptiveUpdate_doesntBubbleFromOverflow() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/ |
H A D | NotificationBigPictureTemplateViewWrapperTest.java | 51 private ExpandableNotificationRow mRow; field in NotificationBigPictureTemplateViewWrapperTest 63 mRow = helper.createRow(); in setup() 69 mContext, mView, mRow); in invalidLargeIconBig_noCrash() 71 mRow.getEntry().getSbn().getNotification().setSmallIcon( in invalidLargeIconBig_noCrash() 73 mRow.getEntry().getSbn().getNotification().extras.putParcelable( in invalidLargeIconBig_noCrash() 75 wrapper.onContentUpdated(mRow); in invalidLargeIconBig_noCrash() 87 mView, mRow); in setAnimationsRunning_Run() 89 wrapper.onContentUpdated(mRow); in setAnimationsRunning_Run() 104 mView, mRow); in setAnimationsRunning_Stop() 106 wrapper.onContentUpdated(mRow); in setAnimationsRunning_Stop()
|
H A 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()
|
H A D | NotificationConversationTemplateViewWrapperTest.kt | 47 private lateinit var mRow: ExpandableNotificationRow 54 mRow = helper.createRow() 67 NotificationConversationTemplateViewWrapper(mContext, mockLayoutView, mRow) 68 wrapper.onContentUpdated(mRow) 86 NotificationConversationTemplateViewWrapper(mContext, mockLayoutView, mRow) 87 wrapper.onContentUpdated(mRow)
|
H A D | NotificationMessagingTemplateViewWrapperTest.kt | 45 private lateinit var mRow: ExpandableNotificationRow 52 mRow = helper.createRow() 63 NotificationMessagingTemplateViewWrapper(mContext, mockLayoutView, mRow) 78 NotificationMessagingTemplateViewWrapper(mContext, mockLayoutView, mRow)
|
H A D | NotificationViewWrapperTest.java | 46 private ExpandableNotificationRow mRow; field in NotificationViewWrapperTest 58 mRow = helper.createRow(); in setup() 59 mNotificationViewWrapper = new TestableNotificationViewWrapper(mContext, mView, mRow); in setup()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | KeyguardSliceView.java | 72 private Row mRow; field in KeyguardSliceView 105 mRow = findViewById(R.id.row); in onFinishInflate() 127 mRow.setVisibility(GONE); in hideSlice() 159 mRow.setLayoutParams(layoutParams); in showSlice() 209 View child = mRow.getChildAt(i); in showSlice() 211 mRow.removeView(child); in showSlice() 226 mRow.setDarkAmount(darkAmount); in setDarkAmount() 235 View v = mRow.getChildAt(i); in updateTextColors() 266 View child = mRow.getChildAt(i); in onDensityOrFontScaleChanged() 275 View child = mRow.getChildAt(i); in onOverlayChanged() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/layout/table/ |
H A 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()
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | ClosedCaptionRenderer.java | 575 final int mRow; field in Cea608CCParser.PAC 604 mRow = row; in PAC() 613 return mRow; in getRow() 761 private int mRow; field in Cea608CCParser.CCMemory 775 mRow = MAX_ROWS; in erase() 780 if (mLines[mRow] != null) { in der() 789 mLines[mRow] = null; in der() 799 if (mLines[mRow] != null) { in bs() 811 moveCursorTo(mRow + 1, 1); in cr() 882 if (mRow == baseRow) { in moveBaselineTo() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
H A D | ExpandHelperTest.java | 54 private ExpandableNotificationRow mRow; field in ExpandHelperTest 70 mRow = helper.createRow(); in setUp() 79 mExpandHelper.startExpanding(mRow, 0); in testAnimationDoesntClearViewIfNewExpansionStarted() 81 mExpandHelper.startExpanding(mRow, 0); in testAnimationDoesntClearViewIfNewExpansionStarted()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationGroupingUtil.java | 85 private final ExpandableNotificationRow mRow; field in NotificationGroupingUtil 90 mRow = row; in NotificationGroupingUtil() 92 mProcessors.add(new Processor(mRow, in NotificationGroupingUtil() 98 mProcessors.add(new Processor(mRow, in NotificationGroupingUtil() 103 mProcessors.add(new Processor(mRow, in NotificationGroupingUtil() 108 mProcessors.add(new Processor(mRow, in NotificationGroupingUtil() 113 mProcessors.add(new Processor(mRow, in NotificationGroupingUtil() 118 mProcessors.add(Processor.forTextView(mRow, com.android.internal.R.id.header_text)); in NotificationGroupingUtil() 128 List<ExpandableNotificationRow> notificationChildren = mRow.getAttachedChildren(); in updateChildrenAppearance() 129 if (notificationChildren == null || !mRow.isSummaryWithChildren()) { in updateChildrenAppearance()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
H A D | NotificationContentInflater.java | 858 private ExpandableNotificationRow mRow; field in NotificationContentInflater.AsyncInflationTask 886 mRow = row; in AsyncInflationTask() 892 mContext = mRow.getContext(); in AsyncInflationTask() 945 mUsesIncreasedHeadsUpHeight, packageContext, mRow, in doInBackground() 963 final NotificationInlineImageResolver imageResolver = mRow.getImageResolver(); in doInBackground() 987 mRow, in onPostExecute() 1003 mCallback.handleInflationException(mRow.getEntry(), in handleError() 1008 mRow.getImageResolver().cancelRunningTasks(); in handleError() 1030 mRow.onNotificationUpdated(); in onAsyncInflationFinished() 1037 mRow.getImageResolver().purgeCache(); in onAsyncInflationFinished() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
H A D | NotificationViewWrapper.java | 56 protected final ExpandableNotificationRow mRow; field in NotificationViewWrapper 93 mRow = row; in NotificationViewWrapper() 132 if (mRow.getEntry().targetSdk >= Build.VERSION_CODES.Q) { in needsInversion() 321 return mRow.isSummaryWithChildren() ? 0 : mBackgroundColor; in getCustomBackgroundColor()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumeDialogImpl.java | 2479 private final VolumeRow mRow; 2482 mRow = row; 2487 if (mRow.ss == null) return; 2491 if (mRow.ss.levelMin > 0) { 2499 if (mRow.ss.level != userLevel || mRow.ss.muted && userLevel > 0) { 2501 if (mRow.requestedLevel != userLevel) { 2504 mRow.requestedLevel = userLevel; 2514 mController.setActiveStream(mRow.stream); 2515 mRow.tracking = true; 2521 mRow.tracking = false; [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | NotificationRemoteInputManagerTest.java | 65 @Mock private ExpandableNotificationRow mRow; field in NotificationRemoteInputManagerTest 98 mEntry.setRow(mRow); in setUp()
|
H A D | RemoteInputNotificationRebuilderTest.java | 53 private ExpandableNotificationRow mRow; field in RemoteInputNotificationRebuilderTest 70 mEntry.setRow(mRow); in setUp()
|
H A D | AlertingNotificationManagerTest.java | 79 @Mock protected ExpandableNotificationRow mRow; field in AlertingNotificationManagerTest 241 entry.setRow(mRow); in testReleaseAllImmediately()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/ |
H A D | NotificationLoggerTest.java | 83 @Mock private ExpandableNotificationRow mRow; field in NotificationLoggerTest 114 mEntry.setRow(mRow); in setUp() 250 entry.setRow(mRow); in testLogPanelShownHandlesNullInstanceIds()
|