text
stringlengths
3
1.18M
package com.vdom.api; import java.util.Comparator; public class CardValueComparator implements Comparator<TreasureCard> { public int compare(TreasureCard cardOne, TreasureCard cardTwo) { if (cardOne.getValue() == cardTwo.getValue()) { return 0; } else if (cardOne.getValue() > cardTwo.g...
package com.vdom.api; import com.vdom.core.MoveContext; import com.vdom.core.Player; public class GameEvent { public enum Type { GameStarting, // A new game is starting, called at the start of each game when multiple are played GameOver, // Game completed Embargo, // Embargo added to car...
package com.vdom.api; import java.util.HashMap; public class FrameworkEvent { public enum Type { GameTypeStarting, // A new GameType is starting GameTypeOver, // GameType completed AllDone } private Type type; private GameType gameType; private HashMap<String, Double> gam...
package com.vdom.api; import java.util.ArrayList; public class FrameworkEventHelper { private static ArrayList<FrameworkEventListener> listeners = new ArrayList<FrameworkEventListener>(); public static void addFrameworkListener(FrameworkEventListener listener) { if (!listeners.contains(listener)) { ...
package com.vdom.api; public interface DurationCard extends ActionCard { public int getAddActionsNextTurn(); public int getAddBuysNextTurn(); public int getAddGoldNextTurn(); public int getAddCardsNextTurn(); public boolean takeAnotherTurn(); public int takeAnotherTurnCardCount(); }
package com.vdom.comms; import java.io.Serializable; import java.util.ArrayList; /** * Gives information about cards that are selected by the player from the table (piles, hand, play) * * This clas gives information about the constrains set on the selection of cards, e.g. what type, cost, from which place * */ p...
package com.vdom.comms; import java.io.EOFException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.IOException; import java.io.OptionalDataException; import java.io.StreamCorruptedException; import java.net.ServerSocket; import java.net.Socket; import java.net.SocketTime...
package com.vdom.comms; import java.io.Serializable; import java.util.ArrayList; import java.util.Comparator; import com.vdom.core.Util.MultilevelComparator; public class MyCard implements Serializable { private static final long serialVersionUID = -1367468781663470597L; public int id; public String name; publi...
package com.vdom.comms; /** * These functions are called <b>FROM WITHIN NETWORK THREADS</b> * <ul> * <li> handle is called from the receiving thread </li> * <li> sendErrorHandler is called from the sending thread </li> * <li> debug is called from wherever. </li> * </ul> * ==> handle() and sendErrorHandler() are...
package com.vdom.comms; import java.io.Serializable; /** * Event class: This object makes up the communication protocol between RemotePlayer, running in vdom, and the game activity. <br> * The content is: * <ul> * <li><b>t</b>: Type of the event, determines meaning of other class members.</li> * <li><b>s</b>: S...
package com.vdom.comms; import java.io.EOFException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.IOException; import java.io.OptionalDataException; import java.io.StreamCorruptedException; import java.net.ServerSocket; import java.net.Socket; import java.net.SocketTimeoutExcepti...
package com.vdom.comms; import java.io.Serializable; public class GameStatus implements Serializable { private static final long serialVersionUID = -5928579898003313213L; public int whoseTurn; public String name; public boolean isFinal; public boolean isPossessed; public int[] turnCounts; public int[] m...
package com.vdom.comms; import java.io.Serializable; public class NewGame implements Serializable { private static final long serialVersionUID = 229362050690595201L; public MyCard[] cards = null; public String[] players = null; public NewGame(MyCard[] cards, String[] players) { this.cards = cards; this....
package com.mehtank.androminion.activities; import android.os.Bundle; import android.support.v4.app.NavUtils; import android.support.v4.view.ViewPager; import com.actionbarsherlock.app.ActionBar; import com.actionbarsherlock.app.SherlockFragmentActivity; import com.actionbarsherlock.view.MenuItem; import com.mehtank....
package com.mehtank.androminion.activities; import java.io.IOException; import java.io.StreamCorruptedException; import java.net.InetAddress; import java.net.NetworkInterface; import java.net.SocketException; import java.net.UnknownHostException; import java.util.ArrayList; import java.util.Enumeration; import androi...
package com.mehtank.androminion.activities; import android.os.Bundle; import android.support.v4.app.NavUtils; import com.actionbarsherlock.app.ActionBar; import com.actionbarsherlock.app.SherlockPreferenceActivity; import com.actionbarsherlock.view.MenuItem; import com.mehtank.androminion.R; import com.mehtank.androm...
package com.mehtank.androminion.activities; import java.util.ArrayList; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.NavUtils; import com.actionbarsherlock.app.ActionBar; import com.actionbarsherlock.app.SherlockFragmentActivity; impor...
package com.mehtank.androminion.activities; import java.util.ArrayList; import android.app.AlertDialog; import android.content.Intent; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.os.Bundle; import android.preference.PreferenceManager; import android.text.H...
package com.mehtank.androminion.activities; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import android.os.Bundle; import android.support.v4.app.NavUtils; import android.support.v4.view.ViewPager; import ...
package com.mehtank.androminion.ui; import java.util.ArrayList; import android.graphics.Color; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.AdapterView.OnItemClickListener; import android.widget.Button; import android.widget.FrameLayout; import andr...
package com.mehtank.androminion.ui; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.FrameLayout; import android.widget.ListView; import android.widget.TextView; import com.mehtank.androminion.R; import com.mehtank.androminion.activities.GameActivi...
package com.mehtank.androminion.ui; import java.util.ArrayList; import com.mehtank.androminion.R; import com.mehtank.androminion.util.CardGroup; import com.vdom.comms.MyCard; import android.content.Context; import android.view.View; import android.widget.GridView; import android.widget.LinearLayout; impor...
package com.mehtank.androminion.ui; import java.util.ArrayList; import android.view.View; import android.view.ViewGroup; import android.view.animation.AccelerateInterpolator; import android.view.animation.AlphaAnimation; import android.view.animation.Animation; import android.view.animation.Animation.AnimationListene...
package com.mehtank.androminion.ui; import android.content.Context; import android.graphics.Bitmap; import android.graphics.PixelFormat; import android.util.AttributeSet; import android.view.GestureDetector; import android.view.Gravity; import android.view.MotionEvent; import android.view.View; import android.view.Vie...
package com.mehtank.androminion.ui; import android.app.AlertDialog; import android.content.DialogInterface; import android.text.method.DigitsKeyListener; import android.view.View; import android.widget.EditText; import android.widget.LinearLayout; import android.widget.RadioButton; import android.widget.RadioGroup; im...
package com.mehtank.androminion.ui; import android.content.Context; import android.graphics.Color; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.widget.FrameLayout; import android.widget.TextView; import android.widget.ToggleButton; import com.m...
package com.mehtank.androminion.ui; import java.io.File; import android.content.Context; import android.graphics.Color; import android.net.Uri; import android.os.Environment; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import com...
package com.mehtank.androminion.ui; import android.content.Context; import android.graphics.Typeface; import android.preference.PreferenceManager; import android.util.AttributeSet; import android.view.LayoutInflater; import android.widget.RelativeLayout; import android.widget.TextView; import com.mehtank.androminion....
package com.mehtank.androminion.ui; import java.util.ArrayList; import android.content.Context; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.AdapterView.OnItemClickListener; impor...
package com.mehtank.androminion.ui; import android.annotation.SuppressLint; import android.view.Gravity; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.widget.FrameLayout; import android.widget.ImageView; import android.widget.RelativeLayout; impo...
package com.mehtank.androminion.ui; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import android.content.Context; import android.preference.PreferenceManager; import android.util.AttributeSet; import an...
package com.mehtank.androminion.ui; import com.mehtank.androminion.R; import com.mehtank.androminion.activities.GameActivity; import com.vdom.comms.Event; import com.vdom.comms.Event.EType; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.SharedPreferences; import android...
package com.mehtank.androminion.ui; import com.mehtank.androminion.activities.GameActivity; import com.vdom.comms.Event; import android.content.Context; import android.view.KeyEvent; import android.view.inputmethod.InputMethodManager; import android.widget.EditText; import android.widget.TextView; import android.widg...
package com.mehtank.androminion.ui; import android.content.Context; import android.graphics.Color; import android.view.Gravity; import android.view.View; import android.view.ViewGroup; import android.view.animation.Animation; import android.view.animation.Animation.AnimationListener; import android.view.animation.Anim...
package com.mehtank.androminion.ui; import java.io.File; import java.util.StringTokenizer; import android.app.AlertDialog; import android.content.Context; import android.content.SharedPreferences; import android.content.res.TypedArray; import android.net.Uri; import android.preference.PreferenceManager; import androi...
package com.mehtank.androminion.ui; import java.util.ArrayList; import android.content.Context; import android.util.AttributeSet; import android.widget.FrameLayout; import android.widget.LinearLayout; import android.widget.TextView; import com.mehtank.androminion.R; import com.mehtank.androminion.util.Achievements; ...
/* * Copyright (c) 2010 CommonsWare, LLC * Portions Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/l...
package com.mehtank.androminion.server; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedHashMap; import java.util.List; import android.content.Context; import com.mehtank.androminion.R; import com.vdom.api.ActionCard; import com.vdom.api.Card; import com.vdom.api.TreasureCard; import...
package com.mehtank.androminion.server; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import com.mehtank.androminion.R; import com.vdom.api.ActionCard; import com.vdom.api.Card; import com.vdom.api.CurseCard; import com.vdom.api.DurationCard; import c...
package com.mehtank.androminion.server; import java.util.HashMap; import android.content.Context; import android.content.res.Resources; import com.vdom.api.Card; import com.vdom.api.GameType; public class Strings { @SuppressWarnings("unused") private static final String TAG = "Strings"; static HashMap<Card,...
package com.mehtank.androminion.server; import java.net.InetAddress; import java.net.NetworkInterface; import java.net.SocketException; import java.util.Enumeration; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.util.Log; public class DominionServer extends Ser...
package com.mehtank.androminion.server; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Random; import java.util.concurrent.CountDownLatch; import com.vdom.api.GameType; import com.vdom.comms.Comms; import com.vdom...
package com.mehtank.androminion.fragments; import com.mehtank.androminion.R; import android.os.Build; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import andro...
package com.mehtank.androminion.fragments; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ScrollView; import com.actionbarsherlock.app.SherlockFragment; import com.mehtank.androminion.R; public class WinlossFragment extends...
package com.mehtank.androminion.fragments; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ListView; import com.actionbarsherlock.app.SherlockFragment; import com.mehtank.androminion.R; import com.mehtank.androminion.util.Ach...
package com.mehtank.androminion.fragments; import android.content.pm.PackageManager.NameNotFoundException; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ScrollView; import android.widget.TextView; i...
package com.mehtank.androminion.fragments; import android.os.Bundle; import android.text.Html; import android.text.method.LinkMovementMethod; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ScrollView; import android.widget.TextView; import com.action...
package com.mehtank.androminion.fragments; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ScrollView; import com.actionbarsherlock.app.SherlockFragment; import com.mehtank.androminion.R; public class CreditsFragment extends...
package com.mehtank.androminion.fragments; import java.util.ArrayList; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup;...
package com.mehtank.androminion.util; /** * Information about one player * * deck, hand size, total number of cards etc. */ public class PlayerSummary { @SuppressWarnings("unused") private static final String TAG = "PlayerSummary"; public String name; public int deckSize; public int handSize; public int ...
package com.mehtank.androminion.util; import java.util.ArrayList; import java.util.List; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.LinearLayout; import com.mehtank.androminion.ui.DeckView; public class PlayerAda...
package com.mehtank.androminion.util.compat; import java.util.ArrayList; import android.content.Context; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentPagerAdapter; import android.support.v4.app.FragmentTransaction; import android.support.v4.view.ViewPager; i...
package com.mehtank.androminion.util; import java.util.ArrayList; import java.util.Comparator; import android.content.Context; import android.util.Log; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import com.mehtank.androminion.ui.CardView; import com.mehtank...
package com.mehtank.androminion.util; import android.widget.Checkable; public interface CheckableEx extends Checkable { public void setChecked(boolean arg0, String indicator); public void setChecked(boolean arg0, int order, String indicator); }
package com.mehtank.androminion.util; import java.text.Collator; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.Map; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.preferen...
package com.mehtank.androminion.util; import java.util.HashMap; import java.util.Locale; import android.app.Activity; import android.content.SharedPreferences; import android.content.res.Configuration; import android.preference.PreferenceManager; import android.util.Log; import com.mehtank.androminion.R; /** * Hel...
package com.mehtank.androminion.util; import android.content.Context; import android.content.SharedPreferences; import android.os.Vibrator; import android.preference.PreferenceManager; public class HapticFeedback { @SuppressWarnings("unused") private static final String TAG = "HapticFeedback"; public static enum...
package android.support.v4.app; import android.util.Log; import android.view.View; import android.view.Window; import com.actionbarsherlock.ActionBarSherlock.OnCreatePanelMenuListener; import com.actionbarsherlock.ActionBarSherlock.OnMenuItemSelectedListener; import com.actionbarsherlock.ActionBarSherlock.OnPreparePan...
package com.actionbarsherlock.app; import android.content.res.Configuration; import android.os.Bundle; import android.preference.PreferenceActivity; import android.view.KeyEvent; import android.view.View; import android.view.ViewGroup.LayoutParams; import android.view.Window; import com.actionbarsherlock.ActionBarSher...
package com.actionbarsherlock.app; import android.app.Activity; import android.content.res.Configuration; import android.os.Bundle; import android.view.KeyEvent; import android.view.View; import android.view.Window; import android.view.ViewGroup.LayoutParams; import com.actionbarsherlock.ActionBarSherlock; import com....
package com.actionbarsherlock.app; import android.app.Activity; import android.support.v4.app.Fragment; import com.actionbarsherlock.internal.view.menu.MenuItemWrapper; import com.actionbarsherlock.internal.view.menu.MenuWrapper; import com.actionbarsherlock.view.Menu; import com.actionbarsherlock.view.MenuInflater; i...
package com.actionbarsherlock.app; import android.app.Activity; import android.support.v4.app.ListFragment; import com.actionbarsherlock.internal.view.menu.MenuItemWrapper; import com.actionbarsherlock.internal.view.menu.MenuWrapper; import com.actionbarsherlock.view.Menu; import com.actionbarsherlock.view.MenuInflate...
package com.actionbarsherlock.app; import android.app.ExpandableListActivity; import android.content.res.Configuration; import android.os.Bundle; import android.view.KeyEvent; import android.view.View; import android.view.ViewGroup.LayoutParams; import android.view.Window; import com.actionbarsherlock.ActionBarSherloc...
package com.actionbarsherlock.app; import android.app.Activity; import android.support.v4.app.DialogFragment; import com.actionbarsherlock.internal.view.menu.MenuItemWrapper; import com.actionbarsherlock.internal.view.menu.MenuWrapper; import com.actionbarsherlock.view.Menu; import com.actionbarsherlock.view.MenuInfla...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.actionbarsherlock.app; import android.app.ListActivity; import android.content.res.Configuration; import android.os.Bundle; import android.view.KeyEvent; import android.view.View; import android.view.Window; import android.view.ViewGroup.LayoutParams; import com.actionbarsherlock.ActionBarSherlock; import ...
package com.actionbarsherlock.app; import android.content.res.Configuration; import android.os.Bundle; import android.support.v4.app._ActionBarSherlockTrojanHorse; import android.util.Log; import android.view.KeyEvent; import android.view.View; import android.view.ViewGroup.LayoutParams; import android.view.Window; im...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2006 The Android Open Source Project * 2011 Jake Wharton * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICEN...
/* * Copyright (C) 2006 The Android Open Source Project * Copyright (C) 2011 Jake Wharton * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICEN...
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.actionbarsherlock; import static android.view.ViewGroup.LayoutParams.MATCH_PARENT; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import java.lang.reflect.Constructor; import java.lang.reflect....
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.actionbarsherlock.internal; import com.actionbarsherlock.ActionBarSherlock; import com.actionbarsherlock.app.ActionBar; import com.actionbarsherlock.internal.app.ActionBarWrapper; import com.actionbarsherlock.internal.view.menu.MenuWrapper; import com.actionbarsherlock.view.ActionMode; import com.actionbar...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.actionbarsherlock.internal.nineoldandroids.view.animation; import java.lang.ref.WeakReference; import java.util.WeakHashMap; import android.graphics.Matrix; import android.graphics.RectF; import android.os.Build; import android.util.FloatMath; import android.view.View; import android.view.animation.Animati...
package com.actionbarsherlock.internal.nineoldandroids.view; import android.content.Context; import android.util.AttributeSet; import android.view.ViewGroup; import com.actionbarsherlock.internal.nineoldandroids.view.animation.AnimatorProxy; public abstract class NineViewGroup extends ViewGroup { private final A...
package com.actionbarsherlock.internal.nineoldandroids.widget; import android.content.Context; import android.util.AttributeSet; import android.widget.FrameLayout; import com.actionbarsherlock.internal.nineoldandroids.view.animation.AnimatorProxy; public class NineFrameLayout extends FrameLayout { private final ...
package com.actionbarsherlock.internal.nineoldandroids.widget; import android.content.Context; import android.widget.HorizontalScrollView; import com.actionbarsherlock.internal.nineoldandroids.view.animation.AnimatorProxy; public class NineHorizontalScrollView extends HorizontalScrollView { private final Animator...
package com.actionbarsherlock.internal.nineoldandroids.widget; import android.content.Context; import android.util.AttributeSet; import android.widget.LinearLayout; import com.actionbarsherlock.internal.nineoldandroids.view.animation.AnimatorProxy; public class NineLinearLayout extends LinearLayout { private fin...
package com.actionbarsherlock.internal.app; import java.util.HashSet; import java.util.Set; import android.app.Activity; import android.content.Context; import android.graphics.drawable.Drawable; import android.support.v4.app.FragmentTransaction; import android.view.View; import android.widget.SpinnerAdapter; import...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...