blob: ae0948441757062f442c0b4b83798a7a7d55d72c [file] [log] [blame]
Jeff Brown46b9ac0a2010-04-22 18:58:52 -07001/*
2 * Copyright (C) 2010 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
Jeff Brown349703e2010-06-22 01:27:15 -070017package com.android.server;
Jeff Brown46b9ac0a2010-04-22 18:58:52 -070018
Jeff Brown349703e2010-06-22 01:27:15 -070019/**
20 * Describes input-related application properties for use by the input dispatcher.
Jeff Brown349703e2010-06-22 01:27:15 -070021 * @hide
22 */
23public final class InputApplication {
Jeff Brown928e0542011-01-10 11:17:36 -080024 // Application handle.
25 public InputApplicationHandle inputApplicationHandle;
26
Jeff Brown349703e2010-06-22 01:27:15 -070027 // Application name.
28 public String name;
Jeff Brown928e0542011-01-10 11:17:36 -080029
Jeff Brown349703e2010-06-22 01:27:15 -070030 // Dispatching timeout.
31 public long dispatchingTimeoutNanos;
Jeff Brown928e0542011-01-10 11:17:36 -080032
33 public void recycle() {
34 inputApplicationHandle = null;
35 }
Jeff Brown349703e2010-06-22 01:27:15 -070036}