This file contains 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
<flex-config> | |
<!-- benchmark: output performance benchmark--> | |
<!-- benchmark usage: | |
<benchmark>boolean</benchmark> | |
--> | |
<compiler> | |
<!-- compiler.accessible: generate an accessible SWF--> | |
<accessible>false</accessible> | |
<!-- compiler.actionscript-file-encoding: specifies actionscript file encoding. If there is no BOM in the AS3 source files, the compiler will use this file encoding.--> | |
<!-- compiler.actionscript-file-encoding usage: |
This file contains 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 android.content.Context; | |
import android.graphics.Bitmap; | |
import android.graphics.Canvas; | |
import android.graphics.Paint; | |
import android.graphics.Bitmap.Config; | |
import android.util.AttributeSet; | |
import android.widget.LinearLayout; | |
public class FadableLinearLayout extends LinearLayout { | |
This file contains 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
/* | |
* 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 applicable law or agreed to in writing, software |
This file contains 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.gertherb.api; | |
import com.squareup.okhttp.internal.Base64; | |
import retrofit.Endpoint; | |
import retrofit.RequestInterceptor; | |
import retrofit.RestAdapter; | |
import static retrofit.RestAdapter.LogLevel.FULL; |
This file contains 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
... | |
File crashlyticsProperties = new File("${project.projectDir.absolutePath}/crashlytics.properties") | |
applicationVariants.all { variant -> | |
variant.productFlavors.each { flavor -> | |
def variantSuffix = variant.name.capitalize() | |
def generateResourcesTask = project.tasks.getByName("crashlyticsGenerateResources${variantSuffix}") | |
def generatePropertiesTask = task("crashlyticsGenerateProperties${variantSuffix}") << { | |
Properties properties = new Properties() | |
println "...copying apiSecret for ${variant.name}" |
This file contains 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
// Top-level build file where you can add configuration options common to all sub-projects/modules. | |
buildscript { | |
repositories { | |
mavenCentral() | |
jcenter() | |
maven { | |
url "https://oss.sonatype.org/content/repositories/snapshots" | |
} | |
} |
This file contains 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
// NOTE: `OperatorSubscribeUntil` class is borrowed from @dlew's PR (https://github.com/dlew/RxAndroid/blob/dlew/lifecycle-observable/rxandroid/src/main/java/rx/android/lifecycle/OperatorSubscribeUntil.java) |
This file contains 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
:android:newRelicDeinstrumentTask | |
[newrelic.info] Deinstrumenting... | |
:android:crashlyticsStoreDeobsAlphaDebug | |
:android:crashlyticsUploadDeobsAlphaDebug | |
:android:crashlyticsCleanupResourcesAfterUploadAlphaDebug | |
...removing crashlytics.properties | |
:android:compileAlphaDebugNdk | |
:android:processAlphaDebugJavaRes UP-TO-DATE | |
:android:validateDebugSigning | |
:android:packageAlphaDebug |
This file contains 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.text.ParseException; | |
import java.text.SimpleDateFormat; | |
import java.util.Date; | |
import java.util.Locale; | |
import java.util.TimeZone; | |
public class SimpleDateFormatThreadSafe { | |
private final ThreadLocal<SimpleDateFormat> localSimpleDateFormat; |
This file contains 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 org.gradle.api.Plugin | |
import org.gradle.api.Project | |
import org.gradle.plugins.ide.idea.IdeaPlugin | |
import org.gradle.tooling.BuildException | |
class JavaAptPlugin implements Plugin<Project> { | |
@Override | |
void apply(Project project) { | |
def aptConfiguration = project.configurations.create 'javapt' |
OlderNewer