Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.bose.monet.package_160;
- import com.bose.monet.f.l;
- import de.intrepid.bose_bmap.model.Label;
- import de.intrepid.bose_bmap.model.Log;
- import de.intrepid.bose_bmap.model.Set;
- import de.intrepid.bose_bmap.model.enums.Sort;
- import java.util.ArrayList;
- import java.util.EnumMap;
- import java.util.EnumSet;
- import java.util.Iterator;
- import java.util.List;
- public enum Product
- {
- private static final EnumMap<io.intrepid.bose_bmap.model.enums.BoseProductId, l> ID_MAP;
- private static final EnumMap<io.intrepid.bose_bmap.model.enums.ProductType, EnumSet<l>> TYPE_MAP;
- private final DatabaseType onBoarder;
- private final FontFamily onboardingOverlaySpec;
- private final int pairingMessagePrefixId;
- private final int pairingMovieResId;
- private final de.intrepid.bose_bmap.model.enums.BoseProductId productId;
- private final BluetoothManager productTourResources;
- private final de.intrepid.bose_bmap.model.enums.ProductType productType;
- private final String userManualFilename;
- static
- {
- POWDER = new Root.1("POWDER", 1, de.intrepid.bose_bmap.model.enums.BoseProductId.POWDER, de.intrepid.bose_bmap.model.enums.ProductType.HEADPHONES, "quietcontrol-30", 2131755515, 2131820950, DatabaseType.POWDER, FontFamily.DEFAULT, null);
- ISAAC = new l.10("ISAAC", 2, de.intrepid.bose_bmap.model.enums.BoseProductId.ISAAC, de.intrepid.bose_bmap.model.enums.ProductType.HEADPHONES, "soundlink-around-ear-wireless-headphones-ii", 2131755021, 2131820953, null, FontFamily.DEFAULT, null);
- WOLFCASTLE = new l.11("WOLFCASTLE", 3, de.intrepid.bose_bmap.model.enums.BoseProductId.WOLFCASTLE, de.intrepid.bose_bmap.model.enums.ProductType.HEADPHONES, "quietcomfort-35", 2131755530, 2131820952, null, FontFamily.DEFAULT, null);
- FERRY = new l.12("ICE", 4, de.intrepid.bose_bmap.model.enums.BoseProductId.ACCOUNT, de.intrepid.bose_bmap.model.enums.ProductType.HEADPHONES, "soundsport-wireless-headphones", 2131755020, 2131820950, DatabaseType.HOW_TO_WEAR, FontFamily.DEFAULT, null);
- FOREMAN = new l.13("FOREMAN", 5, de.intrepid.bose_bmap.model.enums.BoseProductId.FOREMAN, de.intrepid.bose_bmap.model.enums.ProductType.SPEAKER, "soundlink-color-ii", 2131755018, 2131820949, null, FontFamily.DEFAULT, null);
- FLURRY = new l.14("FLURRY", 6, de.intrepid.bose_bmap.model.enums.BoseProductId.FLURRY, de.intrepid.bose_bmap.model.enums.ProductType.HEADPHONES, "soundsport-pulse-headphones", 2131755020, 2131820950, DatabaseType.HOW_TO_WEAR, FontFamily.DEFAULT, null);
- HARVEY = new l.15("HARVEY", 7, de.intrepid.bose_bmap.model.enums.BoseProductId.HARVEY, de.intrepid.bose_bmap.model.enums.ProductType.SPEAKER, "soundlink-revolve-plus", 2131755019, 2131820949, null, FontFamily.DEFAULT, null);
- FOLGERS = new l.16("FOLGERS", 8, de.intrepid.bose_bmap.model.enums.BoseProductId.FOLGERS, de.intrepid.bose_bmap.model.enums.ProductType.SPEAKER, "soundlink-revolve", 2131755017, 2131820949, null, FontFamily.DEFAULT, null);
- KLEOS = new l.17("KLEOS", 9, de.intrepid.bose_bmap.model.enums.BoseProductId.KLEOS, de.intrepid.bose_bmap.model.enums.ProductType.HEADPHONES, "soundwear-companion-speaker", 2131755508, 2131820949, DatabaseType.PRODUCT_TOUR_INTRO, FontFamily.KLEOS, BluetoothManager.KLEOS);
- MINNOW = new ProgressDeserializer("MINNOW", 10, de.intrepid.bose_bmap.model.enums.BoseProductId.MINNOW, de.intrepid.bose_bmap.model.enums.ProductType.SPEAKER, "soundlink-micro", 2131755512, 2131820949, DatabaseType.PRODUCT_TOUR_INTRO, FontFamily.MINNOW, BluetoothManager.MINNOW);
- STETSON = new SetDeserializer("STETSON", 11, de.intrepid.bose_bmap.model.enums.BoseProductId.STETSON, de.intrepid.bose_bmap.model.enums.ProductType.HEADPHONES, Storage.DIRECTORY, 2131755021, 2131820953, null, FontFamily.DEFAULT, null);
- LEVI = new NegatedDeserializer("LEVI", 12, de.intrepid.bose_bmap.model.enums.BoseProductId.LEVI, de.intrepid.bose_bmap.model.enums.ProductType.HEADPHONES, "soundsport-free-wireless-headphones", 2131755510, 2131820949, DatabaseType.HOW_TO_WEAR, FontFamily.LEVI, BluetoothManager.LEVI);
- BAYWOLF = new DueDeserializer("BAYWOLF", 13, de.intrepid.bose_bmap.model.enums.BoseProductId.BAYWOLF, de.intrepid.bose_bmap.model.enums.ProductType.HEADPHONES, "quietcomfort-35-wireless-headphones-ii", 2131755010, 2131820952, DatabaseType.HOW_TO_WEAR, FontFamily.BAYWOLF, BluetoothManager.BAYWOLF_VPA);
- ATLAS = new LabelScribe("ATLAS", 14, de.intrepid.bose_bmap.model.enums.BoseProductId.ATLAS, de.intrepid.bose_bmap.model.enums.ProductType.HEADPHONES, "proflight-aviation-headset", 2131755008, 2131820949, DatabaseType.PRODUCT_TOUR_INTRO, FontFamily.ATLAS, BluetoothManager.ATLAS);
- CHIBI = new StringDeserializer("CHIBI", 15, de.intrepid.bose_bmap.model.enums.BoseProductId.CHIBI, de.intrepid.bose_bmap.model.enums.ProductType.SPEAKER, "s1-pro", 2131755012, 2131820951, null, FontFamily.CHIBI, null);
- CELINE = new NumberPicker.TwoDigitFormatter("CELINE", 16, de.intrepid.bose_bmap.model.enums.BoseProductId.CELINE, de.intrepid.bose_bmap.model.enums.ProductType.HEADPHONES, "bose-frames", 2131755011, 0, DatabaseType.PRODUCT_TOUR_INTRO, FontFamily.CELINE, BluetoothManager.CELINE);
- Object localObject1 = UNKNOWN;
- int i = 0;
- $VALUES = new Product[] { localObject1, POWDER, ISAAC, WOLFCASTLE, FERRY, FOREMAN, FLURRY, HARVEY, FOLGERS, KLEOS, MINNOW, STETSON, LEVI, BAYWOLF, ATLAS, CHIBI, CELINE };
- ID_MAP = new EnumMap(io.intrepid.bose_bmap.model.enums.BoseProductId.class);
- TYPE_MAP = new EnumMap(io.intrepid.bose_bmap.model.enums.ProductType.class);
- localObject1 = values();
- int j = localObject1.length;
- while (i < j)
- {
- Object localObject2 = localObject1[i];
- ID_MAP.put(((Product)localObject2).getProductId(), localObject2);
- de.intrepid.bose_bmap.model.enums.ProductType localProductType = ((Product)localObject2).getProductType();
- EnumSet localEnumSet = (EnumSet)TYPE_MAP.get(localProductType);
- if (localEnumSet == null)
- {
- localObject2 = EnumSet.of((Enum)localObject2);
- TYPE_MAP.put(localProductType, localObject2);
- }
- else
- {
- localEnumSet.add(localObject2);
- }
- i += 1;
- }
- }
- private Product(de.intrepid.bose_bmap.model.enums.BoseProductId paramBoseProductId, de.intrepid.bose_bmap.model.enums.ProductType paramProductType, String paramString, int paramInt1, int paramInt2, DatabaseType paramDatabaseType, FontFamily paramFontFamily, BluetoothManager paramBluetoothManager)
- {
- if ((paramDatabaseType != null) && (paramDatabaseType.isDelayed()))
- {
- ??? = new StringBuilder();
- ((StringBuilder)???).append("The specified Onboarder cannot be 'delayed': ");
- ((StringBuilder)???).append(paramDatabaseType.name());
- throw new IllegalArgumentException(((StringBuilder)???).toString());
- }
- productId = paramBoseProductId;
- productType = paramProductType;
- userManualFilename = paramString;
- pairingMovieResId = paramInt1;
- pairingMessagePrefixId = paramInt2;
- onBoarder = paramDatabaseType;
- onboardingOverlaySpec = paramFontFamily;
- productTourResources = paramBluetoothManager;
- }
- public static int cncImageIdFromDevice(Log paramLog)
- {
- if (paramLog != null) {
- return fromBoseProductId(paramLog.getBoseProductId()).getCncImageId(paramLog.getProductVariant());
- }
- return 2131231040;
- }
- public static Product fromBoseProductId(de.intrepid.bose_bmap.model.enums.BoseProductId paramBoseProductId)
- {
- if (paramBoseProductId == null) {
- return UNKNOWN;
- }
- Product localProduct = (Product)ID_MAP.get(paramBoseProductId.sanitizeIfCeline());
- paramBoseProductId = localProduct;
- if (localProduct == null) {
- paramBoseProductId = UNKNOWN;
- }
- return paramBoseProductId;
- }
- public static EnumSet getAssetPackagesWithType(de.intrepid.bose_bmap.model.enums.ProductType paramProductType)
- {
- return (EnumSet)TYPE_MAP.get(paramProductType);
- }
- public static List getCoinAnimationProducts(de.intrepid.bose_bmap.model.enums.ProductType paramProductType)
- {
- EnumSet localEnumSet = EnumSet.of(de.intrepid.bose_bmap.model.enums.BoseProductId.KLEOS, new de.intrepid.bose_bmap.model.enums.BoseProductId[] { de.intrepid.bose_bmap.model.enums.BoseProductId.STETSON, de.intrepid.bose_bmap.model.enums.BoseProductId.BAYWOLF, de.intrepid.bose_bmap.model.enums.BoseProductId.LEVI, de.intrepid.bose_bmap.model.enums.BoseProductId.ATLAS, de.intrepid.bose_bmap.model.enums.BoseProductId.CELINE });
- ArrayList localArrayList = new ArrayList();
- if (paramProductType == null) {
- return localArrayList;
- }
- paramProductType = getAssetPackagesWithType(paramProductType).iterator();
- while (paramProductType.hasNext())
- {
- Product localProduct = (Product)paramProductType.next();
- Object localObject = localProduct.getProductId();
- if (!localEnumSet.contains(((de.intrepid.bose_bmap.model.enums.BoseProductId)localObject).sanitizeIfCeline()))
- {
- localObject = ((de.intrepid.bose_bmap.model.enums.BoseProductId)localObject).getAllVariants().iterator();
- while (((Iterator)localObject).hasNext()) {
- localArrayList.add(Integer.valueOf(localProduct.getProductImageId(((Sort)((Iterator)localObject).next()).getValue().intValue())));
- }
- }
- }
- return localArrayList;
- }
- public static int productImageIdFromDevice(Log paramLog)
- {
- if (paramLog != null) {
- return fromBoseProductId(paramLog.getBoseProductId()).getProductImageId(paramLog.getProductVariant());
- }
- return 2131231040;
- }
- public static int productImageIdFromPairedDevice(Set paramSet)
- {
- if (paramSet != null) {
- return fromBoseProductId(paramSet.getBoseProductId()).getProductImageId(paramSet.getProductVariant());
- }
- return 2131231040;
- }
- public int getBudImageId(Label paramLabel)
- {
- return 2131231040;
- }
- public int getCncImageId(int paramInt)
- {
- return 2131231040;
- }
- public DatabaseType getOnBoarder()
- {
- return onBoarder;
- }
- public FontFamily getOnboardingOverlaySpec()
- {
- return onboardingOverlaySpec;
- }
- public int getPairingMessagePrefixId()
- {
- return pairingMessagePrefixId;
- }
- public int getPairingMovieResId()
- {
- return pairingMovieResId;
- }
- public de.intrepid.bose_bmap.model.enums.BoseProductId getProductId()
- {
- return productId;
- }
- public int getProductImageId(int paramInt)
- {
- return 2131231040;
- }
- public int getProductImageId(int paramInt, boolean paramBoolean)
- {
- return getProductImageId(paramInt);
- }
- public BluetoothManager getProductTourResources()
- {
- return productTourResources;
- }
- public de.intrepid.bose_bmap.model.enums.ProductType getProductType()
- {
- return productType;
- }
- public String getUserManualFilename()
- {
- return userManualFilename;
- }
- public Sort getVariant(int paramInt)
- {
- return Sort.forValue(productId, Integer.valueOf(paramInt));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement