Home
last modified time | relevance | path

Searched refs:getPrivateLayout (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationContentInflaterTest.java192 assertNotNull(mRow.getPrivateLayout().getHeadsUpChild()); in testInflationOnlyInflatesSetFlags()
198 mRow.getPrivateLayout().removeAllViews(); in testInflationThrowsErrorDoesntCallUpdated()
203 assertTrue(mRow.getPrivateLayout().getChildCount() == 0); in testInflationThrowsErrorDoesntCallUpdated()
258 }, mRow.getPrivateLayout(), null, null, new HashMap<>(), in testInflationIsRetriedIfAsyncFails()
298 mRow.getPrivateLayout().setContractedChild(view); in testUsesSameViewWhenCachedPossibleToReuse()
305 view, mRow.getPrivateLayout().getContractedChild()); in testUsesSameViewWhenCachedPossibleToReuse()
319 mRow.getPrivateLayout().setContractedChild(view); in testInflatesNewViewWhenCachedNotPossibleToReuse()
326 view, mRow.getPrivateLayout().getContractedChild()); in testInflatesNewViewWhenCachedNotPossibleToReuse()
377 mRow.getPrivateLayout().removeAllViews(); in testInvalidNotificationDoesNotInvokeCallback()
381 assertEquals(0, mRow.getPrivateLayout().getChildCount()); in testInvalidNotificationDoesNotInvokeCallback()
DExpandableNotificationRowTest.java206 assertThat(row.getShowingLayout()).isSameInstanceAs(row.getPrivateLayout()); in testSetSensitiveOnNotifRowNotifiesOfHeightChange()
229 assertThat(group.getShowingLayout()).isSameInstanceAs(group.getPrivateLayout()); in testSetSensitiveOnGroupRowNotifiesOfHeightChange()
256 assertThat(publicRow.getShowingLayout()).isSameInstanceAs(publicRow.getPrivateLayout()); in testSetSensitiveOnPublicRowDoesNotNotifyOfHeightChange()
258 assertThat(publicRow.getPrivateLayout().getMinHeight()) in testSetSensitiveOnPublicRowDoesNotNotifyOfHeightChange()
313 assertEquals(row.getPrivateLayout(), row.getContentView()); in setHideSensitive_shouldNotDisturbAnimation()
323 assertEquals(row.getPrivateLayout(), row.getContentView()); in setHideSensitive_shouldNotDisturbAnimation()
326 assertEquals(0.5f, row.getPrivateLayout().getAlpha(), 0); in setHideSensitive_shouldNotDisturbAnimation()
341 assertEquals(0.5f, row.getPrivateLayout().getAlpha(), 0); in setHideSensitive_changeContent_shouldNotDisturbAnimation()
342 assertEquals(View.VISIBLE, row.getPrivateLayout().getVisibility()); in setHideSensitive_changeContent_shouldNotDisturbAnimation()
356 assertEquals(View.INVISIBLE, row.getPrivateLayout().getVisibility()); in setHideSensitive_changeContent_shouldNotDisturbAnimation()
[all …]
DExpandableNotificationRowControllerTest.kt249 verify(view, never()).getPrivateLayout() in settingsListener_invalidUri()
257 verify(view, never()).getPrivateLayout() in settingsListener_invalidUserId()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DDynamicChildBindControllerTest.java103 lastChild.getRow().getPrivateLayout().setContractedChild(null); in testContentViewsBeforeCutoffAreBound()
104 lastChild.getRow().getPrivateLayout().setExpandedChild(null); in testContentViewsBeforeCutoffAreBound()
139 row.getPrivateLayout().setContractedChild(new View(mContext)); in createRow()
140 row.getPrivateLayout().setExpandedChild(new View(mContext)); in createRow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentInflater.java276 row.getPrivateLayout().performWhenContentInactive(VISIBLE_TYPE_CONTRACTED, () -> { in freeNotificationView()
277 row.getPrivateLayout().setContractedChild(null); in freeNotificationView()
282 row.getPrivateLayout().performWhenContentInactive(VISIBLE_TYPE_EXPANDED, () -> { in freeNotificationView()
283 row.getPrivateLayout().setExpandedChild(null); in freeNotificationView()
288 row.getPrivateLayout().performWhenContentInactive(VISIBLE_TYPE_HEADSUP, () -> { in freeNotificationView()
289 row.getPrivateLayout().setHeadsUpChild(null); in freeNotificationView()
291 row.getPrivateLayout().setHeadsUpInflatedSmartReplies(null); in freeNotificationView()
302 row.getPrivateLayout().performWhenContentInactive( in freeNotificationView()
304 () -> row.getPrivateLayout().setSingleLineView(null) in freeNotificationView()
325 row.getPrivateLayout().removeContentInactiveRunnable(VISIBLE_TYPE_CONTRACTED); in cancelContentViewFrees()
[all …]
DExpandableNotificationRowController.java126 mView.getPrivateLayout().setBubblesEnabledForUser(
DExpandableNotificationRow.java445 public NotificationContentView getPrivateLayout() { in getPrivateLayout() method in ExpandableNotificationRow
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DDynamicChildBindController.java100 return row.getPrivateLayout().getContractedChild() != null in hasContent()
101 || row.getPrivateLayout().getExpandedChild() != null; in hasContent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationGroupingUtil.java163 final NotificationContentView layout = row.getPrivateLayout(); in sanitizeTopLineViews()
268 View contractedChild = row.getPrivateLayout().getContractedChild(); in compareToGroupParent()
293 applyToView(apply, reset, row.getPrivateLayout().getContractedChild()); in apply()
294 applyToView(apply, reset, row.getPrivateLayout().getHeadsUpChild()); in apply()
295 applyToView(apply, reset, row.getPrivateLayout().getExpandedChild()); in apply()
DNotificationRemoteInputManager.java455 riv = findRemoteInputView(row.getPrivateLayout().getExpandedChild()); in activateRemoteInput()
460 if (riv == row.getPrivateLayout().getExpandedRemoteInput() in activateRemoteInput()
461 && !row.getPrivateLayout().getExpandedChild().isShown()) { in activateRemoteInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarRemoteInputCallback.java215 row.getPrivateLayout().setOnExpandedVisibleListener(runnable); in onMakeExpandedVisibleForRemoteInput()