Searched refs:tileRecord (Results 1 – 3 of 3) sorted by relevance
86 QSPanelControllerBase.TileRecord tileRecord = createTileRecord(); in testAddTile_CallsSetListeningOnTile() local87 mTileLayout.addTile(tileRecord); in testAddTile_CallsSetListeningOnTile()88 verify(tileRecord.tile, times(1)).setListening(mTileLayout, false); in testAddTile_CallsSetListeningOnTile()93 QSPanelControllerBase.TileRecord tileRecord = createTileRecord(); in testAddTile_SetsRightSquishiness() local94 ((HeightOverrideable) tileRecord.tileView).setSquishinessFraction(.5f); in testAddTile_SetsRightSquishiness()95 mTileLayout.addTile(tileRecord); in testAddTile_SetsRightSquishiness()96 assertEquals(1f, ((HeightOverrideable) tileRecord.tileView).getSquishinessFraction()); in testAddTile_SetsRightSquishiness()101 QSPanelControllerBase.TileRecord tileRecord = createTileRecord(); in testSetListening_CallsSetListeningOnTile() local102 mTileLayout.addTile(tileRecord); in testSetListening_CallsSetListeningOnTile()104 verify(tileRecord.tile, times(1)).setListening(mTileLayout, true); in testSetListening_CallsSetListeningOnTile()[all …]
567 final void addTile(QSPanelControllerBase.TileRecord tileRecord) { in addTile() argument571 drawTile(tileRecord, state); in addTile()575 tileRecord.tile.addCallback(callback); in addTile()576 tileRecord.callback = callback; in addTile()577 tileRecord.tileView.init(tileRecord.tile); in addTile()578 tileRecord.tile.refreshState(); in addTile()581 mTileLayout.addTile(tileRecord); in addTile()585 void removeTile(QSPanelControllerBase.TileRecord tileRecord) { in removeTile() argument586 mTileLayout.removeTile(tileRecord); in removeTile()
408 .map(tileRecord -> tileRecord.tile.getTileSpec()) in getTilesSpecs()