Removing tabWidth calculation and using DeviceProfile directly
This removes some dependency on FloatingHeaderView, making it
easier to replace
Bug: 234008165
Test: Verified that the UI does not change
Change-Id: I363c98c23f84fe570ea9cb1a40128359f5b67c9f
Merged-In: I363c98c23f84fe570ea9cb1a40128359f5b67c9f
(cherry picked from commit 42b640404a)
Merged-In: I363c98c23f84fe570ea9cb1a40128359f5b67c9f
This commit is contained in:
committed by
Android Build Coastguard Worker
parent
86a6cb0694
commit
b2b614e169
@@ -15,11 +15,8 @@
|
||||
*/
|
||||
package com.android.launcher3.allapps;
|
||||
|
||||
import android.graphics.Rect;
|
||||
import android.view.View;
|
||||
|
||||
import com.android.launcher3.DeviceProfile;
|
||||
|
||||
/**
|
||||
* A abstract representation of a row in all-apps view
|
||||
*/
|
||||
@@ -29,8 +26,6 @@ public interface FloatingHeaderRow {
|
||||
|
||||
void setup(FloatingHeaderView parent, FloatingHeaderRow[] allRows, boolean tabsHidden);
|
||||
|
||||
void setInsets(Rect insets, DeviceProfile grid);
|
||||
|
||||
int getExpectedHeight();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user