add licence header

Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/commit/b131f9ef
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/tree/b131f9ef
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/diff/b131f9ef

Branch: refs/heads/master
Commit: b131f9efff0981e9bf099511725c24295049c304
Parents: 8dbb7f9
Author: Sagar <[email protected]>
Authored: Sun Jul 24 20:28:57 2016 +0530
Committer: Sagar <[email protected]>
Committed: Sun Jul 24 20:28:57 2016 +0530

----------------------------------------------------------------------
 .../mobile/ui/imagezoom/ImageZoomActivity.java  | 22 +++++++++-
 .../mobile/ui/imagezoom/ImageZoomFragment.java  | 42 ++++++++++++++------
 .../mobile/ui/imagezoom/ImageZoomMvpView.java   | 22 +++++++++-
 .../mobile/ui/imagezoom/ImageZoomPresenter.java | 30 +++++++++++---
 app/src/main/res/layout/activity_image_zoom.xml | 17 ++++++++
 app/src/main/res/layout/fragment_image_zoom.xml | 17 ++++++++
 6 files changed, 128 insertions(+), 22 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/blob/b131f9ef/app/src/main/java/org/apache/taverna/mobile/ui/imagezoom/ImageZoomActivity.java
----------------------------------------------------------------------
diff --git 
a/app/src/main/java/org/apache/taverna/mobile/ui/imagezoom/ImageZoomActivity.java
 
b/app/src/main/java/org/apache/taverna/mobile/ui/imagezoom/ImageZoomActivity.java
index e642a14..4f594d8 100644
--- 
a/app/src/main/java/org/apache/taverna/mobile/ui/imagezoom/ImageZoomActivity.java
+++ 
b/app/src/main/java/org/apache/taverna/mobile/ui/imagezoom/ImageZoomActivity.java
@@ -1,12 +1,30 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 package org.apache.taverna.mobile.ui.imagezoom;
 
 
-import org.apache.taverna.mobile.R;
-
 import android.os.Bundle;
 import android.support.annotation.Nullable;
 import android.support.v7.app.AppCompatActivity;
 
+import org.apache.taverna.mobile.R;
+
 import butterknife.ButterKnife;
 
 public class ImageZoomActivity extends AppCompatActivity {

http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/blob/b131f9ef/app/src/main/java/org/apache/taverna/mobile/ui/imagezoom/ImageZoomFragment.java
----------------------------------------------------------------------
diff --git 
a/app/src/main/java/org/apache/taverna/mobile/ui/imagezoom/ImageZoomFragment.java
 
b/app/src/main/java/org/apache/taverna/mobile/ui/imagezoom/ImageZoomFragment.java
index 0e06ec8..13902b3 100644
--- 
a/app/src/main/java/org/apache/taverna/mobile/ui/imagezoom/ImageZoomFragment.java
+++ 
b/app/src/main/java/org/apache/taverna/mobile/ui/imagezoom/ImageZoomFragment.java
@@ -1,18 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 package org.apache.taverna.mobile.ui.imagezoom;
 
 
-import com.bumptech.glide.Glide;
-import com.bumptech.glide.load.engine.DiskCacheStrategy;
-import com.bumptech.glide.load.resource.drawable.GlideDrawable;
-import com.bumptech.glide.request.Request;
-import com.bumptech.glide.request.animation.GlideAnimation;
-import com.bumptech.glide.request.target.SizeReadyCallback;
-import com.bumptech.glide.request.target.Target;
-
-import org.apache.taverna.mobile.R;
-import org.apache.taverna.mobile.data.DataManager;
-import org.apache.taverna.mobile.utils.ConnectionInfo;
-
 import android.content.Context;
 import android.graphics.Matrix;
 import android.graphics.PointF;
@@ -27,6 +33,18 @@ import android.view.View;
 import android.view.ViewGroup;
 import android.widget.ImageView;
 
+import com.bumptech.glide.Glide;
+import com.bumptech.glide.load.engine.DiskCacheStrategy;
+import com.bumptech.glide.load.resource.drawable.GlideDrawable;
+import com.bumptech.glide.request.Request;
+import com.bumptech.glide.request.animation.GlideAnimation;
+import com.bumptech.glide.request.target.SizeReadyCallback;
+import com.bumptech.glide.request.target.Target;
+
+import org.apache.taverna.mobile.R;
+import org.apache.taverna.mobile.data.DataManager;
+import org.apache.taverna.mobile.utils.ConnectionInfo;
+
 import butterknife.BindView;
 import butterknife.ButterKnife;
 import butterknife.OnClick;

http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/blob/b131f9ef/app/src/main/java/org/apache/taverna/mobile/ui/imagezoom/ImageZoomMvpView.java
----------------------------------------------------------------------
diff --git 
a/app/src/main/java/org/apache/taverna/mobile/ui/imagezoom/ImageZoomMvpView.java
 
b/app/src/main/java/org/apache/taverna/mobile/ui/imagezoom/ImageZoomMvpView.java
index 1727b16..8343f62 100644
--- 
a/app/src/main/java/org/apache/taverna/mobile/ui/imagezoom/ImageZoomMvpView.java
+++ 
b/app/src/main/java/org/apache/taverna/mobile/ui/imagezoom/ImageZoomMvpView.java
@@ -1,10 +1,28 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 package org.apache.taverna.mobile.ui.imagezoom;
 
 
-import org.apache.taverna.mobile.ui.base.MvpView;
-
 import android.content.Context;
 
+import org.apache.taverna.mobile.ui.base.MvpView;
+
 public interface ImageZoomMvpView extends MvpView {
 
     void showErrorSnackBar(String error);

http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/blob/b131f9ef/app/src/main/java/org/apache/taverna/mobile/ui/imagezoom/ImageZoomPresenter.java
----------------------------------------------------------------------
diff --git 
a/app/src/main/java/org/apache/taverna/mobile/ui/imagezoom/ImageZoomPresenter.java
 
b/app/src/main/java/org/apache/taverna/mobile/ui/imagezoom/ImageZoomPresenter.java
index 0b354fb..5bf1ff9 100644
--- 
a/app/src/main/java/org/apache/taverna/mobile/ui/imagezoom/ImageZoomPresenter.java
+++ 
b/app/src/main/java/org/apache/taverna/mobile/ui/imagezoom/ImageZoomPresenter.java
@@ -1,6 +1,30 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 package org.apache.taverna.mobile.ui.imagezoom;
 
 
+import android.graphics.drawable.Drawable;
+import android.graphics.drawable.PictureDrawable;
+import android.net.Uri;
+import android.os.Build;
+import android.widget.ImageView;
+
 import com.bumptech.glide.GenericRequestBuilder;
 import com.bumptech.glide.Glide;
 import com.bumptech.glide.load.engine.DiskCacheStrategy;
@@ -19,12 +43,6 @@ import org.apache.taverna.mobile.ui.base.BasePresenter;
 import org.apache.taverna.mobile.utils.SvgDecoder;
 import org.apache.taverna.mobile.utils.SvgDrawableTranscoder;
 
-import android.graphics.drawable.Drawable;
-import android.graphics.drawable.PictureDrawable;
-import android.net.Uri;
-import android.os.Build;
-import android.widget.ImageView;
-
 import java.io.InputStream;
 import java.util.Map;
 

http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/blob/b131f9ef/app/src/main/res/layout/activity_image_zoom.xml
----------------------------------------------------------------------
diff --git a/app/src/main/res/layout/activity_image_zoom.xml 
b/app/src/main/res/layout/activity_image_zoom.xml
index 6e5d034..889e396 100644
--- a/app/src/main/res/layout/activity_image_zoom.xml
+++ b/app/src/main/res/layout/activity_image_zoom.xml
@@ -1,4 +1,21 @@
 <?xml version="1.0" encoding="utf-8"?>
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You 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
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android";
               android:orientation="vertical"
               android:layout_width="match_parent"

http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/blob/b131f9ef/app/src/main/res/layout/fragment_image_zoom.xml
----------------------------------------------------------------------
diff --git a/app/src/main/res/layout/fragment_image_zoom.xml 
b/app/src/main/res/layout/fragment_image_zoom.xml
index 7e3af12..ae0c742 100644
--- a/app/src/main/res/layout/fragment_image_zoom.xml
+++ b/app/src/main/res/layout/fragment_image_zoom.xml
@@ -1,4 +1,21 @@
 <?xml version="1.0" encoding="utf-8"?>
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You 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
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android";
                 android:layout_width="match_parent"
                 android:layout_height="match_parent"

Reply via email to