1b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy/* 2b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy * Copyright (C) 2010 The Android Open Source Project 3b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy * 4b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy * Licensed under the Apache License, Version 2.0 (the "License"); 5b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy * you may not use this file except in compliance with the License. 6b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy * You may obtain a copy of the License at 7b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy * 8b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy * http://www.apache.org/licenses/LICENSE-2.0 9b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy * 10b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy * Unless required by applicable law or agreed to in writing, software 11b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy * distributed under the License is distributed on an "AS IS" BASIS, 12b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy * See the License for the specific language governing permissions and 14b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy * limitations under the License. 15b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy */ 16b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy 17b50149825fae95b2918bcf67b2ddb773b9797068Romain Guypackage com.android.test.hwui; 18b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy 19b50149825fae95b2918bcf67b2ddb773b9797068Romain Guyimport android.app.Activity; 20b50149825fae95b2918bcf67b2ddb773b9797068Romain Guyimport android.content.Context; 21b50149825fae95b2918bcf67b2ddb773b9797068Romain Guyimport android.graphics.Canvas; 22b50149825fae95b2918bcf67b2ddb773b9797068Romain Guyimport android.graphics.Paint; 23b50149825fae95b2918bcf67b2ddb773b9797068Romain Guyimport android.os.Bundle; 24b50149825fae95b2918bcf67b2ddb773b9797068Romain Guyimport android.view.View; 25b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy 26b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy@SuppressWarnings({"UnusedDeclaration"}) 27b50149825fae95b2918bcf67b2ddb773b9797068Romain Guypublic class TextFadeActivity extends Activity { 28b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy @Override 29b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy protected void onCreate(Bundle savedInstanceState) { 30b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy super.onCreate(savedInstanceState); 31b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy 32b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy setContentView(R.layout.text_fade); 33b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy } 34b50149825fae95b2918bcf67b2ddb773b9797068Romain Guy} 35