You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
ViewGroup: handle scroll events
This commit is contained in:
@@ -301,9 +301,8 @@ public final class AssetManager {
|
||||
return map;
|
||||
}
|
||||
|
||||
/*package*/ final boolean getThemeValue(int theme, int ident,
|
||||
/*package*/ final boolean getThemeValue(Map<Integer,ValueItem> style, int ident,
|
||||
TypedValue outValue, boolean resolveRefs) {
|
||||
Map<Integer,ValueItem> style = loadStyle(theme);
|
||||
EntryGroup entryGroup = tableBlockSearch(ident);
|
||||
if (entryGroup == null)
|
||||
return false;
|
||||
|
||||
@@ -1422,7 +1422,7 @@ public class Resources {
|
||||
*/
|
||||
public boolean resolveAttribute(int resid, TypedValue outValue,
|
||||
boolean resolveRefs) {
|
||||
boolean got = mAssets.getThemeValue(mTheme, resid, outValue, resolveRefs);
|
||||
boolean got = mAssets.getThemeValue(themeMap, resid, outValue, resolveRefs);
|
||||
if (false) {
|
||||
System.out.println(
|
||||
"resolveAttribute #" + Integer.toHexString(resid) + " got=" + got + ", type=0x" + Integer.toHexString(outValue.type) + ", data=0x" + Integer.toHexString(outValue.data));
|
||||
|
||||
Reference in New Issue
Block a user