blob: e2f91e37c43232277a10be1768640622e5e37878 [file] [log] [blame]
Jim Miller0ff7f012012-10-11 20:40:01 -07001/*
2 * Copyright (C) 2012 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 Miller5ecd8112013-01-09 18:50:26 -080017package com.android.keyguard;
Jim Miller0ff7f012012-10-11 20:40:01 -070018
19public interface SecurityMessageDisplay {
Adam Cohen0a4f9002012-10-12 19:57:16 -070020 public void setMessage(CharSequence msg, boolean important);
Jim Miller0ff7f012012-10-11 20:40:01 -070021
Adam Cohen0a4f9002012-10-12 19:57:16 -070022 public void setMessage(int resId, boolean important);
Jim Miller0ff7f012012-10-11 20:40:01 -070023
Adam Cohen0a4f9002012-10-12 19:57:16 -070024 public void setMessage(int resId, boolean important, Object... formatArgs);
Jim Miller0b728242012-10-28 19:42:30 -070025
26 public void setTimeout(int timeout_ms);
Chris Wrenc3451462012-10-30 11:22:58 -040027
28 public void showBouncer(int animationDuration);
29
30 public void hideBouncer(int animationDuration);
Jim Miller0ff7f012012-10-11 20:40:01 -070031}