code
stringlengths
3
1.18M
language
stringclasses
1 value
package com.outsourcing.bottle.util; import android.graphics.drawable.Drawable; import android.widget.ImageView; /** * * @author 06peng * */ public interface ImageCallback { public void imageLoaded(Drawable imageDrawable,ImageView imageView, String imageUrl); }
Java
package com.outsourcing.bottle.util; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; import com.outsourcing.bottle.BasicActivity; /** * * @author 06peng * */ public class MyUncaughtExceptionHandler implements Thread.Uncau...
Java
package com.outsourcing.bottle.util; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.util.Iterator; import java.util.List; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.htt...
Java
package com.outsourcing.bottle.util; import java.io.File; import java.util.Calendar; import java.util.Date; import java.util.TimeZone; import android.annotation.SuppressLint; import android.os.Environment; import android.util.Log; import android.view.View; import android.view.ViewGroup; import android.wid...
Java
package com.outsourcing.bottle.util; import android.app.Notification; import android.app.PendingIntent; import android.app.Service; import android.content.Intent; import android.os.Binder; import android.os.IBinder; import com.outsourcing.bottle.R; import com.outsourcing.bottle.ui.HomeActivity; /** * ...
Java
/* * Copyright (C) 2009 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...
Java
package com.outsourcing.bottle.util; import java.util.Collections; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.Map; import java.util.Map.Entry; import android.graphics.Bitmap; import android.util.Log; public class MemoryCache { private static final String TAG = "MemoryC...
Java
package com.outsourcing.bottle.util; import java.io.BufferedReader; import java.io.Closeable; import java.io.DataOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; i...
Java
package com.outsourcing.bottle.util; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.lang.ref.WeakReference; import java.util.Date; import java.util.UUID; import java.util.Vector; import ...
Java
package com.outsourcing.bottle.util; import java.io.File; import java.io.FileOutputStream; import java.lang.Thread.UncaughtExceptionHandler; import java.text.SimpleDateFormat; import java.util.Date; import android.content.Context; import android.os.Looper; import android.util.Log; import android.widget.Toa...
Java
package com.outsourcing.bottle.util; /** * * @author 06peng * */ public class StringUtil { /** * 把字符串数组用逗号隔开 * @param arrays * @return */ public static String ArraysToString(String[] arrays) { String result = ""; if (arrays != null && arrays.length > 0) { for (String value : array...
Java
package com.outsourcing.bottle.util; import android.app.Service; import android.content.DialogInterface; import com.outsourcing.bottle.BasicActivity; /** * * @author 06peng * */ public final class CommandTaskEvent extends CommandTask<Object, Object, Object> { BasicUIEvent uiEvent; BasicActivit...
Java
package com.outsourcing.bottle.util; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.InputStream; import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.URL; import java.util.Collections; impo...
Java
package com.outsourcing.bottle.util; import java.io.InputStream; import java.lang.ref.SoftReference; import java.net.HttpURLConnection; import java.net.URL; import java.util.HashMap; import android.graphics.drawable.Drawable; import android.os.Handler; import android.os.Message; import android.widget.Image...
Java
/* * 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 requir...
Java
package com.outsourcing.bottle.util; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.grap...
Java
package com.outsourcing.bottle.util; import android.content.Context; import android.text.TextUtils; /** * * @author 06peng * */ public class TextUtil { public static Context ctx_for_getResString; public static void setCtxForGetResString(Context ctx) { ctx_for_getResString = ctx; } /** * ...
Java
package com.outsourcing.bottle.util; import java.util.ArrayList; import java.util.List; import android.app.Activity; import com.outsourcing.bottle.BasicActivity; /** * * @author 06peng * */ public class ActivityManager { private static List<Activity> activities = new ArrayList<Activity>(); ...
Java
package com.outsourcing.bottle.util; import java.io.FilterOutputStream; import java.io.IOException; import java.io.OutputStream; import java.nio.charset.Charset; import org.apache.http.entity.mime.HttpMultipartMode; import org.apache.http.entity.mime.MultipartEntity; /** * * @author 06peng * */ pub...
Java
package com.outsourcing.bottle.util; import java.lang.ref.WeakReference; import android.content.Context; /** * 全局类 * * @author 06peng * */ public class AppContext { public static boolean FIRTH_INIT = false; private int OAUTH_TYPE; public static final int oauth_bind = 10011; public ...
Java
package com.outsourcing.bottle.util; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; ...
Java
package com.outsourcing.bottle.util; import java.util.Iterator; import java.util.Timer; import java.util.TimerTask; import android.location.GpsSatellite; import android.location.GpsStatus; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import andro...
Java
package com.outsourcing.bottle.util; import java.io.BufferedReader; import java.io.Closeable; import java.io.DataOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; imp...
Java
package com.outsourcing.bottle.util; import java.io.File; import android.content.Context; import com.outsourcing.bottle.domain.UrlConfig; public class ImageFileCache { private File cacheDir; public ImageFileCache(Context context, String path){ //Find the dir to save cached ima...
Java
package com.outsourcing.bottle.util; import java.util.Comparator; import com.outsourcing.bottle.domain.BottleFeedEntry; /** * * @author 06peng * */ public class ComparatorForComment implements Comparator<BottleFeedEntry> { @Override public int compare(BottleFeedEntry entry1, BottleFeedEntry entry...
Java
package com.outsourcing.bottle.util; /** * @author 06peng * */ public abstract interface BasicUIEvent { public abstract void execute(int mes, Object obj); }
Java
package com.outsourcing.bottle.util; import java.util.concurrent.BlockingQueue; import java.util.concurrent.Callable; import java.util.concurrent.CancellationException; import java.util.concurrent.ExecutionException; import java.util.concurrent.FutureTask; import java.util.concurrent.LinkedBlockingQueue; impor...
Java
package com.outsourcing.bottle.util; import java.util.HashMap; import org.json.JSONObject; import android.app.Activity; import android.app.AlarmManager; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Broadc...
Java
package com.outsourcing.bottle.util; import java.io.File; import java.io.FileInputStream; import java.text.DecimalFormat; /** * * @author 06peng * */ public class GetFileSize { public long getFileSizes(File f) throws Exception { long s = 0; if (f.exists()) { FileInputStream fis = null; ...
Java
package com.outsourcing.bottle.util; import android.app.ActivityManager; import android.app.Application; import android.content.Context; import android.graphics.Bitmap; import android.text.format.Formatter; import com.outsourcing.bottle.remoteimage.ImageCache; /** * * @author 06peng * */ public cla...
Java
package com.outsourcing.bottle.util; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io...
Java
package com.outsourcing.bottle.util; import android.app.Service; import android.content.Intent; import com.outsourcing.bottle.BasicActivity; /** * * @author 06peng * */ public class UICore { private static UICore ins = new UICore(); private BottlePushService service; private UICore() { ...
Java
package com.outsourcing.bottle.util; /* * 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/li...
Java
package com.outsourcing.bottle.util; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.Vector; import android.os.Environment; import android.os.StatFs;...
Java
package com.android; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import android.util.Log; /** * * @author 06peng * */ public class ShellCommand { private static final String TAG = "ShellCommand.java"; private Boolean ...
Java
/* Copyright (c) 2008 Google Inc. * * 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 applicable law or agreed to...
Java
/* * Copyright (C) 2007 Google Inc. * * 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 applicable law or agreed to ...
Java
/* Copyright (c) 2008 Google Inc. * * 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 applicable law or agreed to...
Java
/* Copyright (c) 2008 Google Inc. * * 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 applicable law or agreed to...
Java
/* * Copyright (C) 2011 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...
Java
/* * Copyright (C) 2011 Patrik Akerfeldt * 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/LICENSE-2.0 * * Un...
Java
/* * Copyright (C) 2011 Patrik Akerfeldt * * 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 applicable law or ...
Java
/* * Copyright (C) 2011 Jake Wharton * Copyright (C) 2011 Patrik Akerfeldt * Copyright (C) 2011 Francisco Figueiredo Jr. * * 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...
Java
/* * Copyright (C) 2011 Patrik Akerfeldt * 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/LICENSE-2.0 * * Un...
Java
package com.aviary.android.feather.async_tasks; import android.content.Context; import android.graphics.Bitmap; import android.net.Uri; import android.os.AsyncTask; import com.aviary.android.feather.Constants; import com.aviary.android.feather.library.log.LoggerFactory; import com.aviary.android.feather.library.log.Lo...
Java
package com.aviary.android.feather.async_tasks; import java.io.IOException; import java.io.InputStream; import java.lang.ref.WeakReference; import java.util.Iterator; import java.util.LinkedList; import java.util.NoSuchElementException; import android.content.Context; import android.content.pm.ApplicationInfo; import ...
Java
package com.aviary.android.feather.async_tasks; import android.content.Context; import android.os.Bundle; import com.aviary.android.feather.library.media.ExifInterfaceWrapper; import com.aviary.android.feather.library.services.ThreadPoolService.BGCallable; public class ExifTask extends BGCallable<String, Bundle> { ...
Java
package com.aviary.android.feather.async_tasks; import java.lang.ref.WeakReference; import java.util.Iterator; import java.util.LinkedList; import java.util.NoSuchElementException; import java.util.concurrent.Callable; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import android....
Java
package com.aviary.android.feather.receivers; import java.util.Iterator; import java.util.Set; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager.NameNotFoundException; import android.content.res.Resources; import android.ne...
Java
package com.aviary.android.feather; import it.sephiroth.android.library.imagezoom.ImageViewTouchBase; import java.lang.ref.WeakReference; import java.util.HashMap; import java.util.concurrent.Future; import android.app.Activity; import android.app.AlertDialog; import android.content.ActivityNotFoundException; import a...
Java
package com.aviary.android.feather.database; import android.database.DataSetObserver; public abstract class DataSetObserverExtended extends DataSetObserver { public void onAdded() { // Do Nothing } public void onRemoved() { // Do Nothing } }
Java
package com.aviary.android.feather.database; import android.database.Observable; public class DataSetObservableExtended extends Observable<DataSetObserverExtended> { /** * Invokes onChanged on each observer. Called when the data set being observed has changed, and which when read contains the new * state of the...
Java
package com.aviary.android.feather.utils; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; import android.graphics.Canvas; import android.graphics.PorterDuff.Mode; import android.graphics.PorterDuffColorFilter; import android.graphics.Typeface; import android.graph...
Java
package com.aviary.android.feather.utils; import android.app.ProgressDialog; import android.os.Handler; import com.aviary.android.feather.MonitoredActivity; /** * Some thread related utilities. * * @author alessandro */ public class ThreadUtils { /** * Start background job. * * @param activity * ...
Java
package com.aviary.android.feather.utils; import java.lang.ref.SoftReference; import java.util.HashMap; import android.content.res.AssetManager; import android.graphics.Typeface; public class TypefaceUtils { private static final HashMap<String, SoftReference<Typeface>> sTypeCache = new HashMap<String, SoftReference...
Java
package com.aviary.android.feather.utils; import java.lang.ref.SoftReference; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.concurrent.ConcurrentHashMap; import android.graphics.Bitmap; import android.os.Handler; public class SimpleBitmapCache { private static final int DELAY_BEFORE_PUR...
Java
package com.aviary.android.feather.effects; import org.json.JSONException; import android.app.ProgressDialog; import android.graphics.Bitmap; import android.os.AsyncTask; import android.view.LayoutInflater; import android.view.View; import com.aviary.android.feather.Constants; import com.outsourcing.bottle.R; import c...
Java
package com.aviary.android.feather.effects; import it.sephiroth.android.library.imagezoom.ImageViewTouch; import it.sephiroth.android.library.imagezoom.ImageViewTouchBase.OnBitmapChangedListener; import android.content.Context; import android.content.res.ColorStateList; import android.graphics.Bitmap; import android.g...
Java
package com.aviary.android.feather.effects; import it.sephiroth.android.library.imagezoom.ImageViewTouch; import java.lang.ref.WeakReference; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import org.json.JSONException; import android.app.AlertDialog; import ...
Java
package com.aviary.android.feather.effects; import java.util.ArrayList; import java.util.Collection; import android.R.attr; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BlurMaskFilter; import android.graphics.BlurMaskFilter.Blur; import a...
Java
package com.aviary.android.feather.effects; import it.sephiroth.android.library.imagezoom.ImageViewTouch; import android.R.attr; import android.content.Context; import android.content.res.ColorStateList; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.Canvas; import androi...
Java
package com.aviary.android.feather.effects; import it.sephiroth.android.library.imagezoom.ImageViewTouch; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Set; import org.json.JSONException; import android.app.AlertDialog; import android.app.Pr...
Java
package com.aviary.android.feather.effects; import android.R.attr; import android.app.ProgressDialog; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; import android.graphics.Matrix; import android.graphics.PointF; import andro...
Java
package com.aviary.android.feather.effects; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; import android.graphics.BitmapFactory; import android.graphics.ColorMatrixColorFilter; import android.media.ThumbnailUtils; import android.view.LayoutInflater; import...
Java
package com.aviary.android.feather.effects; import org.json.JSONException; import android.graphics.Bitmap; import android.graphics.Matrix; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import com.outsourcing.bottle.R; import com.a...
Java
package com.aviary.android.feather.effects; import android.view.LayoutInflater; import android.view.ViewGroup; import com.aviary.android.feather.Constants; import com.aviary.android.feather.effects.AbstractEffectPanel.OptionPanel; import com.aviary.android.feather.library.services.EffectContext; import com.aviary.andr...
Java
package com.aviary.android.feather.effects; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Set; impor...
Java
package com.aviary.android.feather.effects; import java.util.HashSet; import org.json.JSONException; import android.R.attr; import android.content.Context; import android.content.res.Configuration; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.Canvas; import android.grap...
Java
package com.aviary.android.feather.effects; import java.util.Queue; import java.util.concurrent.LinkedBlockingQueue; import android.R.attr; import android.app.ProgressDialog; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; imp...
Java
package com.aviary.android.feather.effects; import java.util.HashMap; import android.content.DialogInterface.OnClickListener; import android.content.res.Configuration; import android.graphics.Bitmap; import android.graphics.ColorFilter; import android.graphics.Matrix; import android.os.Handler; import android.os.Messa...
Java
package com.aviary.android.feather.effects; import org.json.JSONException; import android.app.ProgressDialog; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; import android.os.AsyncTask; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.outso...
Java
package com.aviary.android.feather.effects; import java.io.IOException; import com.aviary.android.feather.Constants; import com.aviary.android.feather.FeatherActivity.ImageToolEnum; import com.outsourcing.bottle.R; import com.aviary.android.feather.library.content.EffectEntry; import com.aviary.android.feather.librar...
Java
package com.aviary.android.feather.effects; import it.sephiroth.android.library.imagezoom.ImageViewTouch; import android.graphics.Matrix; import android.view.LayoutInflater; import android.view.View; import com.aviary.android.feather.effects.AbstractEffectPanel.ContentPanel; import com.aviary.android.feather.library.s...
Java
/* * AVIARY API TERMS OF USE * Full Legal Agreement * The following terms and conditions and the terms and conditions at http://www.aviary.com/terms (collectively, the 鈥淭erms鈥� govern your use of any and all data, text, software, tools, documents and other materials associated with the application programming interf...
Java
package com.aviary.android.feather.widget; import android.content.Context; import android.util.AttributeSet; import android.view.ViewGroup; import android.view.animation.AccelerateInterpolator; import android.view.animation.Animation; import android.view.animation.Animation.AnimationListener; import android.view.anima...
Java
package com.aviary.android.feather.widget; import android.view.View; import android.view.animation.DecelerateInterpolator; import android.widget.Scroller; class Fling8Runnable extends IFlingRunnable { private Scroller mScroller; public Fling8Runnable( FlingRunnableView parent, int animationDuration ) { super( p...
Java
package com.aviary.android.feather.widget; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.List; import android.content.Context; import android.util.Log; import android.view.LayoutInflater; import android.view...
Java
package com.aviary.android.feather.widget; import android.widget.BaseAdapter; import com.aviary.android.feather.database.DataSetObservableExtended; import com.aviary.android.feather.database.DataSetObserverExtended; public abstract class BaseAdapterExtended extends BaseAdapter { private final DataSetObservableExten...
Java
/* * 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...
Java
package com.aviary.android.feather.widget; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.BitmapShader; import android.graphics.Canvas; import android.graphics.DrawFilter; import android.graphics.Paint; import android.graphics.PaintFlagsDr...
Java
package com.aviary.android.feather.widget; import it.sephiroth.android.library.imagezoom.easing.Easing; import it.sephiroth.android.library.imagezoom.easing.Sine; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.BitmapShader; import android....
Java
package com.aviary.android.feather.widget; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Typeface; import android.util.AttributeSet; import android.widget.TextView; import com.outsourcing.bottle.R; import com.aviary.android.feather.utils.TypefaceUtils; public class Tex...
Java
package com.aviary.android.feather.widget; import android.content.Context; import android.os.Handler; import android.os.Message; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.view.animation.Animation; import android.view.animation.Animation.AnimationList...
Java
package com.aviary.android.feather.widget; import it.sephiroth.android.library.imagezoom.easing.Easing; import it.sephiroth.android.library.imagezoom.easing.Quad; import android.graphics.BlurMaskFilter; import android.graphics.BlurMaskFilter.Blur; import android.graphics.Canvas; import android.graphics.Color; import a...
Java
package com.aviary.android.feather.widget; import it.sephiroth.android.library.imagezoom.easing.Easing; import it.sephiroth.android.library.imagezoom.easing.Expo; import it.sephiroth.android.library.imagezoom.easing.Linear; import android.content.ContentResolver; import android.content.Context; import android.content....
Java
package com.aviary.android.feather.widget; import android.view.View; import android.view.animation.DecelerateInterpolator; import android.widget.OverScroller; class Fling9Runnable extends IFlingRunnable { private OverScroller mScroller; public Fling9Runnable( FlingRunnableView parent, int animationDuration ) { ...
Java
/* * 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...
Java
/* * 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...
Java
package com.aviary.android.feather.widget; import android.content.res.ColorStateList; import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.Paint; import android.graphics.Path; import android.graphics.Rect; import android.graphics.RectF; import android.graphics.drawable.Drawable; impo...
Java
package com.aviary.android.feather.widget; public interface VibrationWidget { /** * Enable the vibration feedback * * @param value */ public void setVibrationEnabled( boolean value ); /** * Get the vibration feedback enabled status * * @return */ public boolean getVibrationEnabled(); }
Java
package com.aviary.android.feather.widget; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Typeface; import android.util.AttributeSet; import android.widget.ToggleButton; import com.outsourcing.bottle.R; import com.aviary.android.feather.utils.TypefaceUtils; public class...
Java
package com.aviary.android.feather.widget; import it.sephiroth.android.library.imagezoom.ImageViewTouch; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.Paint; import android.g...
Java
package com.aviary.android.feather.widget; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.drawable.Drawable; import android.util.AttributeSet; import android.widget.ImageView; import com.outsourcing.bottle.R...
Java
package com.aviary.android.feather.widget; import it.sephiroth.android.library.imagezoom.ImageViewTouch; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BlurMaskFilter; import android.graphics.BlurMask...
Java
package com.aviary.android.feather.widget; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Rect; import android.graphics.RectF; import android.graphics.drawable.Drawable; import android.util.AttributeSet; import android.widget.ImageView; im...
Java
package com.aviary.android.feather.widget; import it.sephiroth.android.library.imagezoom.ImageViewTouch; import android.content.Context; import android.content.res.Configuration; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.Rect; import android...
Java
package com.aviary.android.feather.widget; import it.sephiroth.android.library.imagezoom.easing.Easing; import it.sephiroth.android.library.imagezoom.easing.Linear; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import android.view.View; import android.widget.R...
Java
package com.aviary.android.feather.widget; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Typeface; import android.util.AttributeSet; import android.widget.Button; import com.outsourcing.bottle.R; import com.aviary.android.feather.utils.TypefaceUtils; public class Butto...
Java
/* * 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...
Java
/* * HorizontalListView.java v1.5 * * * The MIT License * Copyright (c) 2011 Paul Soucy (paul@dev-smart.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without rest...
Java