Home | History | Annotate | Download | only in cts
      1 /*
      2  * Copyright (C) 2011-2013 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 /*
     18  * This file is auto-generated. DO NOT MODIFY!
     19  * The source Renderscript file: set_target_api_17.rs
     20  */
     21 package android.renderscriptlegacy.cts;
     22 
     23 import android.renderscript.*;
     24 import android.content.res.Resources;
     25 
     26 /**
     27  * @hide
     28  */
     29 public class ScriptC_set_target_api_17 extends ScriptC {
     30     private static final String __rs_resource_name = "set_target_api_17";
     31     // Constructor
     32     public  ScriptC_set_target_api_17(RenderScript rs) {
     33         this(rs,
     34              rs.getApplicationContext().getResources(),
     35              rs.getApplicationContext().getResources().getIdentifier(
     36                  __rs_resource_name, "raw",
     37                  rs.getApplicationContext().getPackageName()));
     38     }
     39 
     40     public  ScriptC_set_target_api_17(RenderScript rs, Resources resources, int id) {
     41         super(rs, resources, id);
     42     }
     43 
     44     private final static int mExportFuncIdx_check = 0;
     45     public void invoke_check(int version) {
     46         FieldPacker check_fp = new FieldPacker(4);
     47         check_fp.addI32(version);
     48         invoke(mExportFuncIdx_check, check_fp);
     49     }
     50 
     51 }
     52 
     53