code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
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... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/CrashHandler.java | Java | asf20 | 4,376 |
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... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/StringUtil.java | Java | asf20 | 918 |
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... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/CommandTaskEvent.java | Java | asf20 | 1,457 |
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... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/ImageLoader.java | Java | asf20 | 6,058 |
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... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/AsyncImageLoader.java | Java | asf20 | 2,026 |
/*
* 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... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/LruCache.java | Java | asf20 | 10,847 |
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... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/ImageThumbnail.java | Java | asf20 | 8,227 |
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;
}
/**
* ... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/TextUtil.java | Java | asf20 | 2,397 |
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>();
... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/ActivityManager.java | Java | asf20 | 1,019 |
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... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/CustomMultiPartEntity.java | Java | asf20 | 1,794 |
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 ... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/AppContext.java | Java | asf20 | 8,699 |
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;
... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/HttpUtil.java | Java | asf20 | 5,422 |
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... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/LocationThread.java | Java | asf20 | 4,132 |
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... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/SubmitTask.java | Java | asf20 | 14,969 |
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... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/ImageFileCache.java | Java | asf20 | 2,021 |
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... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/ComparatorForComment.java | Java | asf20 | 348 |
package com.outsourcing.bottle.util;
/**
* @author 06peng
*
*/
public abstract interface BasicUIEvent {
public abstract void execute(int mes, Object obj);
}
| 06peng | trunk/mzba/src/com/outsourcing/bottle/util/BasicUIEvent.java | Java | asf20 | 171 |
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... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/CommandTask.java | Java | asf20 | 16,180 |
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... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/BottlePushService.java | Java | asf20 | 21,609 |
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;
... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/GetFileSize.java | Java | asf20 | 1,526 |
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... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/BottleApplication.java | Java | asf20 | 1,720 |
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... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/ServiceUtils.java | Java | asf20 | 15,473 |
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() {
... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/UICore.java | Java | asf20 | 1,669 |
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... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/BaseHttpClient.java | Java | asf20 | 17,382 |
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;... | 06peng | trunk/mzba/src/com/outsourcing/bottle/util/FileOperation.java | Java | asf20 | 11,073 |
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 ... | 06peng | trunk/mzba/src/com/android/ShellCommand.java | Java | asf20 | 3,348 |
/* 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... | 06peng | trunk/mzba/src/com/google/gdata/util/common/base/UnicodeEscaper.java | Java | asf20 | 19,518 |
/*
* 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 ... | 06peng | trunk/mzba/src/com/google/gdata/util/common/base/Preconditions.java | Java | asf20 | 18,838 |
/* 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... | 06peng | trunk/mzba/src/com/google/gdata/util/common/base/Escaper.java | Java | asf20 | 3,773 |
/* 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... | 06peng | trunk/mzba/src/com/google/gdata/util/common/base/PercentEscaper.java | Java | asf20 | 9,895 |
/*
* 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... | 06peng | trunk/mzba/src/com/viewpagerindicator/TabPageIndicator.java | Java | asf20 | 8,233 |
/*
* 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... | 06peng | trunk/mzba/src/com/viewpagerindicator/CirclePageIndicator.java | Java | asf20 | 18,767 |
/*
* 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 ... | 06peng | trunk/mzba/src/com/viewpagerindicator/TitleProvider.java | Java | asf20 | 896 |
/*
* 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... | 06peng | trunk/mzba/src/com/viewpagerindicator/TitlePageIndicator.java | Java | asf20 | 29,315 |
/*
* 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... | 06peng | trunk/mzba/src/com/viewpagerindicator/PageIndicator.java | Java | asf20 | 1,866 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/async_tasks/DownloadImageAsyncTask.java | Java | asf20 | 3,472 |
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 ... | 06peng | trunk/mzba/src/com/aviary/android/feather/async_tasks/AssetsAsyncDownloadManager.java | Java | asf20 | 12,539 |
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> {
... | 06peng | trunk/mzba/src/com/aviary/android/feather/async_tasks/ExifTask.java | Java | asf20 | 642 |
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.... | 06peng | trunk/mzba/src/com/aviary/android/feather/async_tasks/AsyncImageManager.java | Java | asf20 | 8,384 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/receivers/FeatherSystemReceiver.java | Java | asf20 | 6,639 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/FilterManager.java | Java | asf20 | 36,688 |
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
}
}
| 06peng | trunk/mzba/src/com/aviary/android/feather/database/DataSetObserverExtended.java | Java | asf20 | 254 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/database/DataSetObservableExtended.java | Java | asf20 | 1,467 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/utils/UIUtils.java | Java | asf20 | 5,071 |
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
* ... | 06peng | trunk/mzba/src/com/aviary/android/feather/utils/ThreadUtils.java | Java | asf20 | 2,915 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/utils/TypefaceUtils.java | Java | asf20 | 1,093 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/utils/SimpleBitmapCache.java | Java | asf20 | 2,211 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/effects/NativeEffectRangePanel.java | Java | asf20 | 10,036 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/effects/MemePanel.java | Java | asf20 | 22,577 |
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 ... | 06peng | trunk/mzba/src/com/aviary/android/feather/effects/NativeEffectsPanel.java | Java | asf20 | 53,683 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/effects/DrawingPanel.java | Java | asf20 | 24,714 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/effects/TextPanel.java | Java | asf20 | 24,002 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/effects/EffectsPanel.java | Java | asf20 | 43,751 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/effects/SpotDrawPanel.java | Java | asf20 | 22,869 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/effects/ColorMatrixEffectPanel.java | Java | asf20 | 6,909 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/effects/AdjustEffectPanel.java | Java | asf20 | 7,313 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/effects/AbstractOptionPanel.java | Java | asf20 | 2,234 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/effects/StickersPanel.java | Java | asf20 | 57,225 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/effects/CropPanel.java | Java | asf20 | 17,575 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/effects/DelayedSpotDrawPanel.java | Java | asf20 | 23,067 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/effects/AbstractEffectPanel.java | Java | asf20 | 18,277 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/effects/EnhanceEffectPanel.java | Java | asf20 | 8,731 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/effects/EffectLoaderService.java | Java | asf20 | 8,641 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/effects/AbstractContentPanel.java | Java | asf20 | 2,805 |
/*
* 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... | 06peng | trunk/mzba/src/com/aviary/android/feather/FeatherActivity.java | Java | asf20 | 65,935 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/BottombarViewFlipper.java | Java | asf20 | 9,088 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/Fling8Runnable.java | Java | asf20 | 1,362 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/ArrayAdapterExtended.java | Java | asf20 | 14,279 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/BaseAdapterExtended.java | Java | asf20 | 1,461 |
/*
* 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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/AdapterView.java | Java | asf20 | 35,727 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/WheelRadio.java | Java | asf20 | 6,775 |
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.... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/Wheel.java | Java | asf20 | 22,938 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/TextViewCustomFont.java | Java | asf20 | 1,321 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/ToolbarView.java | Java | asf20 | 9,845 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/HighlightView.java | Java | asf20 | 27,015 |
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.... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/AdjustImageViewFreeRotation.java | Java | asf20 | 58,172 |
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 ) {
... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/Fling9Runnable.java | Java | asf20 | 1,427 |
/*
* 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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/wp/Workspace.java | Java | asf20 | 52,116 |
/*
* 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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/wp/CellLayout.java | Java | asf20 | 23,285 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/DrawableHighlightView.java | Java | asf20 | 27,087 |
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();
}
| 06peng | trunk/mzba/src/com/aviary/android/feather/widget/VibrationWidget.java | Java | asf20 | 312 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/ToggleButtonCustomFont.java | Java | asf20 | 1,350 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/ImageViewTouchAndDraw.java | Java | asf20 | 8,183 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/ImageViewWithShadow.java | Java | asf20 | 2,010 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/ImageViewDrawableOverlay.java | Java | asf20 | 24,140 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/ImageViewWithSelection.java | Java | asf20 | 3,015 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/CropImageView.java | Java | asf20 | 20,403 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/EffectThumbLayout.java | Java | asf20 | 4,387 |
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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/ButtonCustomFont.java | Java | asf20 | 1,308 |
/*
* 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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/AbsSpinner.java | Java | asf20 | 17,104 |
/*
* 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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/HorizontalFixedListView.java | Java | asf20 | 43,067 |
/*
* 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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/HorizontalListView.java | Java | asf20 | 14,440 |
/*
* 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... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/Gallery.java | Java | asf20 | 53,325 |
package com.aviary.android.feather.widget;
import it.sephiroth.android.library.imagezoom.ImageViewTouch;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.RectF;
import android.graphics.dr... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/ImageViewSpotDraw.java | Java | asf20 | 8,532 |
package com.aviary.android.feather.widget;
import android.content.Context;
import android.util.AttributeSet;
import android.view.GestureDetector;
import android.view.GestureDetector.SimpleOnGestureListener;
import android.view.MotionEvent;
import android.view.View;
/**
* acts a an swipe gesture overylay for a view
... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/SwipeView.java | Java | asf20 | 3,243 |
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.... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/AdjustImageView.java | Java | asf20 | 75,288 |
package com.aviary.android.feather.widget;
abstract class IFlingRunnable implements Runnable {
public static interface FlingRunnableView {
boolean removeCallbacks( Runnable action );
boolean post( Runnable action );
void scrollIntoSlots();
void trackMotionScroll( int newX );
int getMinX();
int getM... | 06peng | trunk/mzba/src/com/aviary/android/feather/widget/IFlingRunnable.java | Java | asf20 | 2,299 |
package com.aviary.android.feather.graphics;
import android.content.res.Resources;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.ColorMatrixColorFilter;
import android.graphics.PixelFormat;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import an... | 06peng | trunk/mzba/src/com/aviary/android/feather/graphics/ToolIconsDrawable.java | Java | asf20 | 3,410 |
package com.aviary.android.feather.graphics;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.LinearGradient;
import android.graphics.Paint;
import android.graphics.PixelFormat;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics.Shader;
impo... | 06peng | trunk/mzba/src/com/aviary/android/feather/graphics/LinearGradientDrawable.java | Java | asf20 | 4,814 |
package com.aviary.android.feather.graphics;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.Drawable.Callback;
import com.aviary.android.feather.widget.Galler... | 06peng | trunk/mzba/src/com/aviary/android/feather/graphics/OverlayGalleryCheckboxDrawable.java | Java | asf20 | 2,661 |