Kaydet (Commit) 43a503cf authored tarafından Miklos Vajna's avatar Miklos Vajna

android: add missing license headers and modelines

Change-Id: I66b2fc7ee846d6865b11cf1cbb168a6e5fab2eea
üst 325690a7
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.libreoffice; package org.libreoffice;
public class DocumentPartView { public class DocumentPartView {
...@@ -9,3 +17,5 @@ public class DocumentPartView { ...@@ -9,3 +17,5 @@ public class DocumentPartView {
this.partName = partName; this.partName = partName;
} }
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.libreoffice; package org.libreoffice;
import android.app.Activity; import android.app.Activity;
...@@ -39,3 +47,5 @@ public class DocumentPartViewListAdapter extends ArrayAdapter<DocumentPartView> ...@@ -39,3 +47,5 @@ public class DocumentPartViewListAdapter extends ArrayAdapter<DocumentPartView>
return view; return view;
} }
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.libreoffice; package org.libreoffice;
import android.graphics.PointF; import android.graphics.PointF;
...@@ -106,3 +114,5 @@ public class LOEvent implements Comparable<LOEvent> { ...@@ -106,3 +114,5 @@ public class LOEvent implements Comparable<LOEvent> {
} }
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.libreoffice; package org.libreoffice;
import android.view.KeyEvent; import android.view.KeyEvent;
...@@ -43,3 +51,5 @@ public class LOKitInputConnectionHandler implements InputConnectionHandler { ...@@ -43,3 +51,5 @@ public class LOKitInputConnectionHandler implements InputConnectionHandler {
return false; return false;
} }
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.libreoffice; package org.libreoffice;
...@@ -151,3 +159,5 @@ public class LOKitShell { ...@@ -151,3 +159,5 @@ public class LOKitShell {
LOKitShell.sendEvent(new LOEvent(LOEvent.NAVIGATION_CLICK)); LOKitShell.sendEvent(new LOEvent(LOEvent.NAVIGATION_CLICK));
} }
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.libreoffice; package org.libreoffice;
import android.graphics.Bitmap; import android.graphics.Bitmap;
...@@ -409,4 +417,4 @@ public class LOKitTileProvider implements TileProvider { ...@@ -409,4 +417,4 @@ public class LOKitTileProvider implements TileProvider {
} }
} }
// vim:set shiftwidth=4 softtabstop=4 expandtab: /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.libreoffice; package org.libreoffice;
import android.graphics.Bitmap; import android.graphics.Bitmap;
...@@ -139,3 +147,5 @@ public class MockTileProvider implements TileProvider { ...@@ -139,3 +147,5 @@ public class MockTileProvider implements TileProvider {
public void onSwipeRight() { public void onSwipeRight() {
} }
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.libreoffice; package org.libreoffice;
import android.app.Activity; import android.app.Activity;
...@@ -132,3 +140,5 @@ public class TextCursorLayer extends Layer { ...@@ -132,3 +140,5 @@ public class TextCursorLayer extends Layer {
}); });
} }
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.libreoffice; package org.libreoffice;
import android.content.Context; import android.content.Context;
...@@ -205,4 +213,6 @@ public class TextCursorView extends View { ...@@ -205,4 +213,6 @@ public class TextCursorView extends View {
mGraphicSelectionVisible = false; mGraphicSelectionVisible = false;
invalidate(); invalidate();
} }
} }
\ No newline at end of file
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.libreoffice; package org.libreoffice;
import android.graphics.Bitmap; import android.graphics.Bitmap;
...@@ -106,3 +114,5 @@ public class ThumbnailCreator { ...@@ -106,3 +114,5 @@ public class ThumbnailCreator {
} }
} }
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.libreoffice; package org.libreoffice;
import android.graphics.Rect; import android.graphics.Rect;
...@@ -67,4 +75,6 @@ public class TileIdentifier { ...@@ -67,4 +75,6 @@ public class TileIdentifier {
public String toString() { public String toString() {
return String.format("TileIdentifier (%d, %d) z=%f s=(%d, %d)", x, y, zoom, size.width, size.height); return String.format("TileIdentifier (%d, %d) z=%f s=(%d, %d)", x, y, zoom, size.width, size.height);
} }
} }
\ No newline at end of file
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.libreoffice; package org.libreoffice;
...@@ -112,3 +120,5 @@ public interface TileProvider { ...@@ -112,3 +120,5 @@ public interface TileProvider {
void setTextSelectionReset(PointF documentCoordinate); void setTextSelectionReset(PointF documentCoordinate);
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.libreoffice; package org.libreoffice;
...@@ -27,4 +35,6 @@ public class TileProviderFactory { ...@@ -27,4 +35,6 @@ public class TileProviderFactory {
private static enum TileProviderID { private static enum TileProviderID {
MOCK, LOKIT MOCK, LOKIT
} }
} }
\ No newline at end of file
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.libreoffice; package org.libreoffice;
import android.support.v7.app.ActionBar; import android.support.v7.app.ActionBar;
...@@ -36,3 +44,5 @@ public class ToolbarController { ...@@ -36,3 +44,5 @@ public class ToolbarController {
}); });
} }
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.libreoffice.ui; package org.libreoffice.ui;
import org.libreoffice.R; import org.libreoffice.R;
...@@ -199,3 +207,5 @@ public class FolderIconView extends View{ ...@@ -199,3 +207,5 @@ public class FolderIconView extends View{
} }
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: Java; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*- /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public * This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.mozilla.gecko; package org.mozilla.gecko;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment