13a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov/* 23a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov * Copyright (C) 2012 The Android Open Source Project 33a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov * 43a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov * Licensed under the Apache License, Version 2.0 (the "License"); 53a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov * you may not use this file except in compliance with the License. 63a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov * You may obtain a copy of the License at 73a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov * 83a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov * http://www.apache.org/licenses/LICENSE-2.0 93a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov * 103a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov * Unless required by applicable law or agreed to in writing, software 113a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov * distributed under the License is distributed on an "AS IS" BASIS, 123a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 133a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov * See the License for the specific language governing permissions and 143a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov * limitations under the License. 153a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov */ 163a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov 173a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganovpackage android.support.v4.view.accessibility; 183a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov 193a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganovimport android.view.View; 203a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganovimport android.view.accessibility.AccessibilityRecord; 213a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov 223a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov/** 233a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov * JellyBean specific AccessibilityRecord API implementation. 243a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov */ 253a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganovclass AccessibilityRecordCompatJellyBean { 263a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov 273a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov public static void setSource(Object record, View root, int virtualDescendantId) { 283a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov ((AccessibilityRecord) record).setSource(root, virtualDescendantId); 293a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov } 303a137cd495b313a047b5e800d02a925dea707fa0Svetoslav Ganov} 31