Skip to content

Commit

Permalink
Rename package and main class.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansche committed Sep 4, 2016
1 parent e8e3384 commit 1cf1a6d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.example.android.softkeyboard;
package com.google.languageresources.mymr;

import android.content.Context;
import android.content.res.Resources;
Expand All @@ -33,7 +33,7 @@ public class CandidateView extends View {

private static final int OUT_OF_BOUNDS = -1;

private SoftKeyboard mService;
private MyanmarUnicodeKeyboard mService;
private List<String> mSuggestions;
private int mSelectedIndex;
private int mTouchX = OUT_OF_BOUNDS;
Expand Down Expand Up @@ -130,7 +130,7 @@ public boolean onScroll(
* A connection back to the service to communicate with the text field
* @param listener
*/
public void setService(SoftKeyboard listener) {
public void setService(MyanmarUnicodeKeyboard listener) {
mService = listener;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2008-2009 The Android Open Source Project
* Copyright 2016 Google, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,7 +15,7 @@
* limitations under the License.
*/

package com.example.android.softkeyboard;
package com.google.languageresources.mymr;

import android.app.Dialog;
import android.inputmethodservice.InputMethodService;
Expand Down Expand Up @@ -42,8 +43,17 @@
* to be a complete soft keyboard implementation. Its purpose is to provide
* a basic example for how you would get started writing an input method, to
* be fleshed out as appropriate.
*
* Based on
*
* development/samples/SoftKeyboard/src/com/example/android/softkeyboard/SoftKeyboard.java
*
* available from
*
* https://android.googlesource.com/platform/development/+/master/samples/SoftKeyboard/
*
*/
public class SoftKeyboard extends InputMethodService
public class MyanmarUnicodeKeyboard extends InputMethodService
implements KeyboardView.OnKeyboardActionListener {
static final boolean DEBUG = false;

Expand Down

0 comments on commit 1cf1a6d

Please sign in to comment.