blob: 5d5168c14e316c90bae33e6c3c33e3ec7feadf3f [file] [log] [blame]
Jim Millerba7d94b2014-02-05 17:30:50 -08001/*
2 * Copyright (C) 2014 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Jim Miller3eb49712014-01-28 18:22:42 -080017package com.android.keyguard;
18
19import android.content.Context;
Jim Miller5e612cf2014-02-03 17:57:23 -080020import android.os.Bundle;
Jim Miller3eb49712014-01-28 18:22:42 -080021import android.util.AttributeSet;
Jim Miller5e612cf2014-02-03 17:57:23 -080022import android.view.MotionEvent;
Jim Miller3eb49712014-01-28 18:22:42 -080023
24public class KeyguardSimpleHostView extends KeyguardViewBase {
25
26 public KeyguardSimpleHostView(Context context, AttributeSet attrs) {
27 super(context, attrs);
28 }
29
30 @Override
Jim Miller5e612cf2014-02-03 17:57:23 -080031 protected void showBouncer(boolean show) {
32 super.showBouncer(show);
33 if (show) {
34 getSecurityContainer().showBouncer(250);
35 } else {
36 getSecurityContainer().hideBouncer(250);
37 }
38 }
39
40 @Override
Jim Miller3eb49712014-01-28 18:22:42 -080041 public void cleanUp() {
42 // TODO Auto-generated method stub
Jim Miller3eb49712014-01-28 18:22:42 -080043 }
44
45 @Override
46 public long getUserActivityTimeout() {
Jim Miller5e612cf2014-02-03 17:57:23 -080047 return -1; // not used
48 }
49
50 @Override
51 protected void onUserSwitching(boolean switching) {
Jim Miller3eb49712014-01-28 18:22:42 -080052 // TODO Auto-generated method stub
Jim Miller5e612cf2014-02-03 17:57:23 -080053 }
54
55 @Override
56 protected void onCreateOptions(Bundle options) {
57 // TODO Auto-generated method stub
58 }
59
60 @Override
61 protected void onExternalMotionEvent(MotionEvent event) {
62 // TODO Auto-generated method stub
Jim Miller3eb49712014-01-28 18:22:42 -080063 }
64
65}