// Path: Reddit Headlines for DashClock/src/main/java/net/trolldad/dashclock/redditheadlines/RedditHeadlinesApplication.java
// @EApplication
// public class RedditHeadlinesApplication extends Application {
//     public static final String TAG = "RedditHeadlinesApplication";
//     private static RedditHeadlinesApplication mInstance;
// 
//     @Override
//     public void onCreate() {
//         super.onCreate();
//         EasyTracker.getInstance(this);
//         Thread.UncaughtExceptionHandler uncaughtExceptionHandler = Thread.getDefaultUncaughtExceptionHandler();
//         if (uncaughtExceptionHandler instanceof ExceptionReporter) {
//             ExceptionReporter exceptionReporter = (ExceptionReporter) uncaughtExceptionHandler;
//             exceptionReporter.setExceptionParser(new AnalyticsExceptionParser());
//         }
//         mInstance = this;
//     }
// 
//     public static Context getContext() {
//         return mInstance;
//     }
// 
//     public static void toast(String message) {
//         mInstance.makeToast(message);
//     }
// 
//     @UiThread
//     void makeToast(String message) {
//         Toast.makeText(getContext(), message, Toast.LENGTH_LONG).show();
//     }
// }


import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.ImageView;
import net.trolldad.dashclock.redditheadlines.R;
import net.trolldad.dashclock.redditheadlines.RedditHeadlinesApplication;
package net.trolldad.dashclock.redditheadlines.view;



/**
 * Created by jacob-tabak on 1/25/14.
 */
public class FakeActionBarIcon extends ImageView implements View.OnLongClickListener {
    public FakeActionBarIcon(Context context, AttributeSet attrs) {
        super(context, attrs);
        int pixels = (int) getResources().getDimension(R.dimen.fake_actionbar_icon_padding);
        setPadding(pixels, 0, pixels, 0);
        setOnLongClickListener(this);
    }

    @Override
    public boolean onLongClick(View v) {
// Path: Reddit Headlines for DashClock/src/main/java/net/trolldad/dashclock/redditheadlines/RedditHeadlinesApplication.java
// @EApplication
// public class RedditHeadlinesApplication extends Application {
//     public static final String TAG = "RedditHeadlinesApplication";
//     private static RedditHeadlinesApplication mInstance;
// 
//     @Override
//     public void onCreate() {
//         super.onCreate();
//         EasyTracker.getInstance(this);
//         Thread.UncaughtExceptionHandler uncaughtExceptionHandler = Thread.getDefaultUncaughtExceptionHandler();
//         if (uncaughtExceptionHandler instanceof ExceptionReporter) {
//             ExceptionReporter exceptionReporter = (ExceptionReporter) uncaughtExceptionHandler;
//             exceptionReporter.setExceptionParser(new AnalyticsExceptionParser());
//         }
//         mInstance = this;
//     }
// 
//     public static Context getContext() {
//         return mInstance;
//     }
// 
//     public static void toast(String message) {
//         mInstance.makeToast(message);
//     }
// 
//     @UiThread
//     void makeToast(String message) {
//         Toast.makeText(getContext(), message, Toast.LENGTH_LONG).show();
//     }
// }


// Path: Reddit Headlines for DashClock/src/main/java/net/trolldad/dashclock/redditheadlines/view/FakeActionBarIcon.java
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.ImageView;
import net.trolldad.dashclock.redditheadlines.R;
import net.trolldad.dashclock.redditheadlines.RedditHeadlinesApplication;

package net.trolldad.dashclock.redditheadlines.view;



/**
 * Created by jacob-tabak on 1/25/14.
 */
public class FakeActionBarIcon extends ImageView implements View.OnLongClickListener {
    public FakeActionBarIcon(Context context, AttributeSet attrs) {
        super(context, attrs);
        int pixels = (int) getResources().getDimension(R.dimen.fake_actionbar_icon_padding);
        setPadding(pixels, 0, pixels, 0);
        setOnLongClickListener(this);
    }

    @Override
    public boolean onLongClick(View v) {
        RedditHeadlinesApplication.toast(getContentDescription().toString());