The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2006 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 | |
| 17 | // This file was generated from the C++ include file: SkColorFilter.h |
| 18 | // Any changes made to this file will be discarded by the build. |
| 19 | // To change this file, either edit the include, or device/tools/gluemaker/main.cpp, |
| 20 | // or one of the auxilary file specifications in device/tools/gluemaker. |
| 21 | |
| 22 | package android.graphics; |
| 23 | |
| 24 | |
| 25 | public class ColorFilter { |
Ashok Bhat | a039843 | 2014-01-20 20:08:01 +0000 | [diff] [blame] | 26 | long native_instance; |
Romain Guy | db1938e | 2010-08-02 18:50:22 -0700 | [diff] [blame] | 27 | |
| 28 | /** |
| 29 | * @hide |
| 30 | */ |
Ashok Bhat | a039843 | 2014-01-20 20:08:01 +0000 | [diff] [blame] | 31 | public long nativeColorFilter; |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 32 | |
| 33 | protected void finalize() throws Throwable { |
Romain Guy | db1938e | 2010-08-02 18:50:22 -0700 | [diff] [blame] | 34 | try { |
| 35 | super.finalize(); |
| 36 | } finally { |
| 37 | finalizer(native_instance, nativeColorFilter); |
| 38 | } |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 39 | } |
| 40 | |
Ashok Bhat | a039843 | 2014-01-20 20:08:01 +0000 | [diff] [blame] | 41 | private static native void finalizer(long native_instance, long nativeColorFilter); |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 42 | } |