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 groovy.xml.MarkupBuilder | |
// Task to generate our public.xml file | |
// See https://developer.android.com/studio/projects/android-library.html#PrivateResources | |
// We assume resources within res-public are public | |
task generatepublicxml { | |
def resDir = project.projectDir.absolutePath + "/src/main/res-public" | |
// Include the desired res types |
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.etsy.android.perf; | |
import android.app.Instrumentation; | |
import android.support.test.InstrumentationRegistry; | |
import android.support.test.runner.AndroidJUnit4; | |
import android.test.suitebuilder.annotation.LargeTest; | |
import com.etsy.android.BOEApplication; | |
import com.etsy.android.test.rules.EtsyAccountRule; | |
import com.etsy.android.test.rules.EtsyConfigRule; |
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
public class Triangle { | |
public static String identifyTriangle(Point w, Point r, Point t) { | |
double A, B, C; | |
double angA, angB, angC; | |
String sideClass, angleClass; | |
A = distance(w, r); | |
B = distance(w, t); | |
C = distance(r, t); |