Home
last modified time | relevance | path

Searched refs:mInflateMessage (Results 1 – 3 of 3) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DMessageTest.java75 private Message mInflateMessage; field in MessageTest
129 mInflateMessage = new Message.InflateMessage(env, mDefaultCallback, in setUp()
133 mInflateMessage = new Message.InflateMessage(env, mDefaultCallback, mTestConfigStore); in setUp()
156 mInflateMessage.update(error); in testInflateMessage_updateToCrossProfileNoPermission()
158 assertThat(mInflateMessage.getLayout()) in testInflateMessage_updateToCrossProfileNoPermission()
160 assertThat(mInflateMessage.getTitleString()) in testInflateMessage_updateToCrossProfileNoPermission()
162 assertThat(mInflateMessage.getMessageString()) in testInflateMessage_updateToCrossProfileNoPermission()
165 assertThat(mInflateMessage.getButtonString()).isNull(); in testInflateMessage_updateToCrossProfileNoPermission()
186 mInflateMessage.update(error); in testInflateMessage_updateToCrossProfileQuietMode()
188 assertThat(mInflateMessage.getLayout()) in testInflateMessage_updateToCrossProfileQuietMode()
[all …]
DInflateMessageDocumentHolderTest.java63 private Message mInflateMessage; field in InflateMessageDocumentHolderTest
116 mInflateMessage = new Message.InflateMessage(env, mDefaultCallback, in setUp()
121 mInflateMessage = new Message.InflateMessage(env, mDefaultCallback, mTestConfigStore); in setUp()
133 mInflateMessage.update(error); in testClickingButtonShouldShowProgressBar()
135 mHolder.bind(mInflateMessage); in testClickingButtonShouldShowProgressBar()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryAddonsAdapter.java54 private final Message mInflateMessage; field in DirectoryAddonsAdapter
73 mInflateMessage = new InflateMessage(environment, this::onDismissHeaderMessage, in DirectoryAddonsAdapter()
76 mInflateMessage = new InflateMessage(environment, this::onDismissHeaderMessage, in DirectoryAddonsAdapter()
159 ((InflateMessageDocumentHolder) holder).bind(mInflateMessage);
177 ((InflateMessageDocumentHolder) holder).bind(mInflateMessage);
188 addons += mInflateMessage.shouldShow() ? 1 : 0;
203 mInflateMessage.update(event);
238 if (p == getItemCount() - 1 && mInflateMessage.shouldShow()) {
292 if (p == getItemCount() - 1 && mInflateMessage.shouldShow()) {