#Create bitbucket branch
##Create local branch
$ git checkout -b sync
Switched to a new branch 'sync'
$ git branch
master
* sync
| package com.company.components; | |
| import android.animation.Animator; | |
| import android.animation.ObjectAnimator; | |
| import android.animation.ValueAnimator; | |
| import android.graphics.Canvas; | |
| import android.graphics.ColorFilter; | |
| import android.graphics.Paint; | |
| import android.graphics.PixelFormat; | |
| import android.graphics.Rect; |
| import android.app.NotificationManager; | |
| import android.app.PendingIntent; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.support.v4.app.NotificationCompat; | |
| import com.squareup.picasso.Picasso; | |
| import java.io.IOException; |
| //HACK: Get the button view and place it on the bottom right (as Google Maps app) | |
| View locationButton = ((View) mMapFragment.getView().findViewById(1).getParent()).findViewById(2); | |
| RelativeLayout.LayoutParams rlp = (RelativeLayout.LayoutParams) locationButton.getLayoutParams(); | |
| rlp.addRule(RelativeLayout.ALIGN_PARENT_TOP, 0); | |
| rlp.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM, RelativeLayout.TRUE); | |
| rlp.setMargins(0, 0, 30, 30); |
| /* | |
| * Copyright (C) 2013 Square, 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 in writing, software |
| # built application files | |
| *.apk | |
| *.ap_ | |
| # files for the dex VM | |
| *.dex | |
| # Java class files | |
| *.class |
| @ECHO OFF | |
| IF "%1"=="" GOTO MissingFileNameError | |
| IF EXIST "%1" (GOTO ContinueProcessing) ELSE (GOTO FileDoesntExist) | |
| :ContinueProcessing | |
| set FileNameToProcess=%1 | |
| set FileNameForDx=%~n1.dex | |
| IF "%~x1"==".dex" GOTO ProcessWithPowerShell | |
| REM preprocess Jar with dx |
#Create bitbucket branch
##Create local branch
$ git checkout -b sync
Switched to a new branch 'sync'
$ git branch
master
* sync
| package FoxholeYAML | |
| { | |
| import flash.geom.Point; | |
| import flash.utils.Dictionary; | |
| import org.josht.starling.foxhole.layout.ILayout; | |
| import org.josht.starling.foxhole.layout.LayoutBoundsResult; | |
| import org.josht.starling.foxhole.layout.ViewPortBounds; | |
| import org.osflash.signals.ISignal; | |
| import org.osflash.signals.Signal; | |
| import starling.display.DisplayObject; |