Adding ability to add to hotseat from spring loaded mode (5064141).

- Fixing regression where folder items had no text in tablet ui and assets
- Fixing spring loaded frame sizing (5067335)
- Making the cells 80x80 for testing again on the phone ui (5085986)

Change-Id: I52a0f5eaf2dcf4adaf57c5a71da3903892c490a8
This commit is contained in:
Winson Chung committed 2011-07-29 11:34:23 -07:00
1 parent fec9786f2e
commit 4afe9b31f5
23 files changed
+126 -46

No files matched your search

@@ -19,6 +19,7 @@ package com.android.launcher2;
import android.app.Application;
import android.app.SearchManager;
import android.content.ContentResolver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.res.Configuration;
@@ -116,6 +117,11 @@ public class LauncherApplication extends Application {
return sIsScreenLarge;
}
public static boolean isScreenLandscape(Context context) {
return context.getResources().getConfiguration().orientation ==
Configuration.ORIENTATION_LANDSCAPE;
}
public static float getScreenDensity() {
return sScreenDensity;
}