/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImplTest.java | 94 private TileImpl mTile; field in QSTileImplTest 122 mTile = new TileImpl(mHost, mTestableLooper.getLooper(), mainHandler, mFalsingManager, in setup() 124 mTile.initialize(); in setup() 127 mTile.setTileSpec(SPEC); in setup() 132 mTile.click(null /* view */); in testClick_Metrics() 143 mTile.click(null /* view */); in testClick_log() 150 mTile.click(null /* view */); in testClick_Metrics_Status_Bar_Status() 159 mTile.click(null /* view */); in testClick_falsing() 161 assertThat(mTile.mClicked).isFalse(); in testClick_falsing() 164 mTile.click(null /* view */); in testClick_falsing() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | ScreenRecordTileTest.java | 72 private ScreenRecordTile mTile; field in ScreenRecordTileTest 82 mTile = new ScreenRecordTile( in setUp() 95 mTile.initialize(); in setUp() 106 mTile.refreshState(); in testNotActive() 109 assertEquals(Tile.STATE_INACTIVE, mTile.getState().state); in testNotActive() 110 assertTrue(mTile.getState().secondaryLabel.toString().equals( in testNotActive() 113 mTile.handleClick(null /* view */); in testNotActive() 124 mTile.refreshState(); in testIsStarting() 127 assertEquals(Tile.STATE_ACTIVE, mTile.getState().state); in testIsStarting() 128 assertTrue(mTile.getState().secondaryLabel.toString().endsWith("...")); in testIsStarting() [all …]
|
D | ReduceBrightColorsTileTest.java | 70 private ReduceBrightColorsTile mTile; field in ReduceBrightColorsTileTest 80 mTile = new ReduceBrightColorsTile( in setUp() 93 mTile.initialize(); in setUp() 100 mTile.refreshState(); in testNotActive() 103 assertEquals(Tile.STATE_INACTIVE, mTile.getState().state); in testNotActive() 104 assertEquals(mTile.getState().label.toString(), in testNotActive() 111 mTile.refreshState(); in testActive() 114 assertEquals(Tile.STATE_ACTIVE, mTile.getState().state); in testActive() 115 assertEquals(mTile.getState().label.toString(), in testActive() 122 mTile.refreshState(); in testActive_clicked_featureIsActivated() [all …]
|
D | QuickAccessWalletTileTest.java | 129 private QuickAccessWalletTile mTile; field in QuickAccessWalletTileTest 148 mTile = new QuickAccessWalletTile( in setUp() 162 mTile.initialize(); in setUp() 168 assertFalse(mTile.newTileState().handlesLongClick); in testNewTile() 175 mTile.handleSetListening(true); in testWalletServiceUnavailable_recreateWalletClient() 184 mTile.handleSetListening(true); in testWalletFeatureUnavailable_recreateWalletClient() 195 assertTrue(mTile.isAvailable()); in testIsAvailable_qawFeatureAvailable() 204 mTile.handleClick(null /* view */); in testHandleClick_noCards_hasIntent_openWalletApp() 217 mTile.handleClick(null /* view */); in testHandleClick_noCards_noIntent_doNothing() 228 mTile.handleClick(null /* view */); in testHandleClick_hasCards_deviceLocked_startWalletActivity() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | CustomTile.java | 83 private final Tile mTile; field in CustomTile 118 mTile = new Tile(); in CustomTile() 163 boolean updateIcon = mTile.getIcon() == null in updateDefaultTileAndIcon() 164 || iconEquals(mTile.getIcon(), mDefaultIcon); in updateDefaultTileAndIcon() 168 mTile.setIcon(mDefaultIcon); in updateDefaultTileAndIcon() 171 boolean updateLabel = mTile.getLabel() == null in updateDefaultTileAndIcon() 172 || TextUtils.equals(mTile.getLabel(), mDefaultLabel); in updateDefaultTileAndIcon() 175 mTile.setLabel(mDefaultLabel); in updateDefaultTileAndIcon() 237 return mTile; in getQsTile() 259 mTile.setIcon(tile.getIcon()); in applyTileState() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/ |
D | ActivityTileTest.java | 47 private Tile mTile; field in ActivityTileTest 58 mTile = new ActivityTile(mActivityInfo, "category"); in setUp() 64 assertThat(mTile.isPrimaryProfileOnly()).isTrue(); in isPrimaryProfileOnly_profilePrimary_shouldReturnTrue() 70 assertThat(mTile.isPrimaryProfileOnly()).isFalse(); in isPrimaryProfileOnly_profileAll_shouldReturnFalse() 75 assertThat(mTile.isPrimaryProfileOnly()).isFalse(); in isPrimaryProfileOnly_noExplicitValue_shouldReturnFalse() 81 assertThat(mTile.isPrimaryProfileOnly()).isFalse(); in isPrimaryProfileOnly_nullMetadata_shouldReturnFalse() 96 assertThat(mTile.getIcon(RuntimeEnvironment.application)).isNull(); in getIcon_providedByUri_returnNull() 103 assertThat(mTile.getIcon(RuntimeEnvironment.application).getResId()) in getIcon_hasIconMetadata_returnIcon() 111 assertThat(mTile.getIcon(RuntimeEnvironment.application)).isNull(); in getIcon_transparentColorInMetadata_returnNull()
|
D | ProviderTileTest.java | 57 private Tile mTile; field in ProviderTileTest 71 mTile = new ProviderTile(mProviderInfo, "category", mMetaData); in setUp() 77 assertThat(mTile.isPrimaryProfileOnly()).isTrue(); in isPrimaryProfileOnly_profilePrimary_shouldReturnTrue() 83 assertThat(mTile.isPrimaryProfileOnly()).isFalse(); in isPrimaryProfileOnly_profileAll_shouldReturnFalse() 88 assertThat(mTile.isPrimaryProfileOnly()).isFalse(); in isPrimaryProfileOnly_noExplicitValue_shouldReturnFalse() 102 assertThat(mTile.getIcon(RuntimeEnvironment.application).getResId()) in getIcon_hasIconMetadata_returnIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | PeopleTileViewHelper.java | 177 private PeopleSpaceTile mTile; field in PeopleTileViewHelper 192 mTile = tile; in PeopleTileViewHelper() 261 if (mTile == null || mTile.isPackageSuspended() || mTile.isUserQuieted()) { in getViewForTile() 262 if (DEBUG) Log.d(TAG, "Create suppressed view: " + mTile); in getViewForTile() 266 if (isDndBlockingTileData(mTile)) { in getViewForTile() 271 if (Objects.equals(mTile.getNotificationCategory(), CATEGORY_MISSED_CALL)) { in getViewForTile() 276 if (mTile.getNotificationKey() != null) { in getViewForTile() 283 mTile.getStatuses() == null ? Arrays.asList() : mTile.getStatuses().stream().filter( in getViewForTile() 335 if (mTile != null && mTile.isUserQuieted()) { in createSuppressedView() 487 if (isDndBlockingTileData(mTile) && mLayoutSize != LAYOUT_SMALL) { in getMaxAvatarSize() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | TileQueryHelper.java | 141 QSTile mTile; field in TileQueryHelper.TilePair 153 pair.mTile = tile; in TileCollector() 169 pair.mTile.addCallback(this); in startListening() 170 pair.mTile.setListening(this, true); in startListening() 172 pair.mTile.refreshState(); in startListening() 181 if (!pair.mReady && pair.mTile.isTileReady()) { in onStateChanged() 182 pair.mTile.removeCallback(this); in onStateChanged() 183 pair.mTile.setListening(this, false); in onStateChanged() 191 QSTile tile = pair.mTile; in onStateChanged()
|
/frameworks/base/core/java/android/service/quicksettings/ |
D | TileService.java | 174 private Tile mTile; field in TileService 352 return mTile; in getQsTile() 360 mTile = mService.getTile(mTileToken); in onBind() 364 if (mTile != null) { in onBind() 365 mTile.setService(mService, mTileToken); in onBind()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 53538 Landroid/service/quicksettings/TileService;->mTile:Landroid/service/quicksettings/Tile;
|