This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.owncloud.android.ui.activity; | |
import android.app.Dialog; | |
import android.content.Context; | |
import android.content.res.Configuration; | |
import android.os.Build; | |
import android.os.Bundle; | |
import android.preference.Preference; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.concurrent.ExecutionException; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.Future; | |
/** | |
* | |
*/ | |
public final class StackBlur { | |
private static final int PARALLEL_THRESHOLD = 2048 * 2048; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma strict | |
var minSwipeDistY : float; | |
var minSwipeDistX : float; | |
var Swipe: GUIText; | |
private var startPos :Vector2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private Drawable getGrayScaleDrawable() { | |
int id = getAreaCharacterId(); | |
Bitmap bmp = BitmapFactory.decodeResource(getResources(),id); | |
int width = bmp.getWidth(); | |
int height = bmp.getHeight(); | |
Bitmap grayScale = Bitmap.createBitmap(width,height, Bitmap.Config.ARGB_8888); | |
Canvas c = new Canvas(grayScale); | |
Paint paint = new Paint(); | |
ColorMatrix cm = new ColorMatrix(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ro.stemo.android.clockwidget.preferences; | |
import android.content.Context; | |
import android.content.res.TypedArray; | |
import android.preference.Preference; | |
import android.util.AttributeSet; | |
import android.util.Log; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.view.ViewParent; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final Uri soundUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION); | |
final Intent cancelIntent = new Intent(this, MHRCancelNotificationsActivity.class); | |
cancelIntent.putExtra(MyHeartRateKeys.CANCEL_NOTIFICATION, true); | |
cancelIntent.putExtra(MyHeartRateKeys.USER_ID, mUserId); | |
cancelIntent.putExtra(MyHeartRateKeys.NOTIFICATION_ID, ALERT_NOTIFICATION_ID); | |
cancelIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); | |
PendingIntent pendingCancel = PendingIntent.getActivity(this, 0, cancelIntent, PendingIntent.FLAG_UPDATE_CURRENT); | |
final Intent sessionActivityIntent = new Intent(this, MHRSessionActivity.class); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-injars bin/classes | |
-injars libs | |
-outjars bin/classes-processed.jar | |
-libraryjars C:\android-sdk\platforms\android-17\android.jar | |
-libraryjars C:\android-sdk\add-ons\addon-google_apis-google-17\libs\maps.jar | |
-optimizationpasses 5 | |
-dontusemixedcaseclassnames | |
-dontskipnonpubliclibraryclasses | |
-dontpreverify |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* NumericPreference.java | |
* | |
*Copyright © Ropardo™ 2013. | |
*/ | |
package ro.ropardo.imobiledistribution.utils; | |
import android.content.Context; | |
import android.preference.EditTextPreference; | |
import android.util.AttributeSet; |
NewerOlder