Loading res/values/attrs.xml +5 −1 Original line number Diff line number Diff line Loading @@ -100,8 +100,12 @@ <attr name="y" format="string" /> <attr name="spanX" format="string" /> <attr name="spanY" format="string" /> <!-- Temporarily disabling attr format definitions to prevent conflicts with support libs. Re-enable it once AAPT starts supporting multiple definitions of same attr. <attr name="icon" format="reference" /> <attr name="title" format="reference" /> --> <attr name="uri" format="string" /> </declare-styleable> Loading @@ -115,7 +119,7 @@ </declare-styleable> <declare-styleable name="PreloadIconDrawable"> <attr name="background" format="reference" /> <attr name="ringBackground" format="reference" /> <attr name="ringOutset" format="dimension" /> <attr name="indicatorSize" format="dimension" /> </declare-styleable> Loading res/values/styles.xml +2 −2 Original line number Diff line number Diff line Loading @@ -84,13 +84,13 @@ <style name="DropTargetButton" parent="DropTargetButtonBase" /> <style name="PreloadIcon"> <item name="background">@drawable/virtual_preload</item> <item name="ringBackground">@drawable/virtual_preload</item> <item name="indicatorSize">4dp</item> <item name="ringOutset">4dp</item> </style> <style name="PreloadIcon.Folder"> <item name="background">@drawable/virtual_preload_folder</item> <item name="ringBackground">@drawable/virtual_preload_folder</item> <item name="indicatorSize">4dp</item> <item name="ringOutset">4dp</item> </style> Loading src/com/android/launcher3/PreloadIconDrawable.java +1 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,7 @@ class PreloadIconDrawable extends Drawable { public void applyPreloaderTheme(Theme t) { TypedArray ta = t.obtainStyledAttributes(R.styleable.PreloadIconDrawable); mBgDrawable = ta.getDrawable(R.styleable.PreloadIconDrawable_background); mBgDrawable = ta.getDrawable(R.styleable.PreloadIconDrawable_ringBackground); mBgDrawable.setFilterBitmap(true); mPaint.setStrokeWidth(ta.getDimension(R.styleable.PreloadIconDrawable_indicatorSize, 0)); mRingOutset = ta.getDimensionPixelSize(R.styleable.PreloadIconDrawable_ringOutset, 0); Loading src/com/android/launcher3/widget/WidgetsListAdapter.java +3 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,9 @@ package com.android.launcher3.widget; import android.annotation.TargetApi; import android.content.Context; import android.content.pm.ResolveInfo; import android.content.res.Resources; import android.os.Build; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.RecyclerView.Adapter; Loading @@ -25,10 +27,10 @@ import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.ViewGroup.LayoutParams; import android.view.ViewGroup.MarginLayoutParams; import android.widget.LinearLayout; import com.android.launcher3.BubbleTextView; import com.android.launcher3.DeviceProfile; import com.android.launcher3.Launcher; import com.android.launcher3.LauncherAppState; import com.android.launcher3.LauncherAppWidgetProviderInfo; Loading Loading
res/values/attrs.xml +5 −1 Original line number Diff line number Diff line Loading @@ -100,8 +100,12 @@ <attr name="y" format="string" /> <attr name="spanX" format="string" /> <attr name="spanY" format="string" /> <!-- Temporarily disabling attr format definitions to prevent conflicts with support libs. Re-enable it once AAPT starts supporting multiple definitions of same attr. <attr name="icon" format="reference" /> <attr name="title" format="reference" /> --> <attr name="uri" format="string" /> </declare-styleable> Loading @@ -115,7 +119,7 @@ </declare-styleable> <declare-styleable name="PreloadIconDrawable"> <attr name="background" format="reference" /> <attr name="ringBackground" format="reference" /> <attr name="ringOutset" format="dimension" /> <attr name="indicatorSize" format="dimension" /> </declare-styleable> Loading
res/values/styles.xml +2 −2 Original line number Diff line number Diff line Loading @@ -84,13 +84,13 @@ <style name="DropTargetButton" parent="DropTargetButtonBase" /> <style name="PreloadIcon"> <item name="background">@drawable/virtual_preload</item> <item name="ringBackground">@drawable/virtual_preload</item> <item name="indicatorSize">4dp</item> <item name="ringOutset">4dp</item> </style> <style name="PreloadIcon.Folder"> <item name="background">@drawable/virtual_preload_folder</item> <item name="ringBackground">@drawable/virtual_preload_folder</item> <item name="indicatorSize">4dp</item> <item name="ringOutset">4dp</item> </style> Loading
src/com/android/launcher3/PreloadIconDrawable.java +1 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,7 @@ class PreloadIconDrawable extends Drawable { public void applyPreloaderTheme(Theme t) { TypedArray ta = t.obtainStyledAttributes(R.styleable.PreloadIconDrawable); mBgDrawable = ta.getDrawable(R.styleable.PreloadIconDrawable_background); mBgDrawable = ta.getDrawable(R.styleable.PreloadIconDrawable_ringBackground); mBgDrawable.setFilterBitmap(true); mPaint.setStrokeWidth(ta.getDimension(R.styleable.PreloadIconDrawable_indicatorSize, 0)); mRingOutset = ta.getDimensionPixelSize(R.styleable.PreloadIconDrawable_ringOutset, 0); Loading
src/com/android/launcher3/widget/WidgetsListAdapter.java +3 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,9 @@ package com.android.launcher3.widget; import android.annotation.TargetApi; import android.content.Context; import android.content.pm.ResolveInfo; import android.content.res.Resources; import android.os.Build; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.RecyclerView.Adapter; Loading @@ -25,10 +27,10 @@ import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.ViewGroup.LayoutParams; import android.view.ViewGroup.MarginLayoutParams; import android.widget.LinearLayout; import com.android.launcher3.BubbleTextView; import com.android.launcher3.DeviceProfile; import com.android.launcher3.Launcher; import com.android.launcher3.LauncherAppState; import com.android.launcher3.LauncherAppWidgetProviderInfo; Loading