当前位置: 首页>>代码示例>>Java>>正文


Java AccessibilityEvent.appendRecord方法代码示例

本文整理汇总了Java中android.view.accessibility.AccessibilityEvent.appendRecord方法的典型用法代码示例。如果您正苦于以下问题:Java AccessibilityEvent.appendRecord方法的具体用法?Java AccessibilityEvent.appendRecord怎么用?Java AccessibilityEvent.appendRecord使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在android.view.accessibility.AccessibilityEvent的用法示例。


在下文中一共展示了AccessibilityEvent.appendRecord方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: onRequestSendAccessibilityEvent

import android.view.accessibility.AccessibilityEvent; //导入方法依赖的package包/类
@Override
public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) {
    if (super.onRequestSendAccessibilityEvent(child, event)) {
        // Add a record for ourselves as well.
        AccessibilityEvent record = AccessibilityEvent.obtain();
        onInitializeAccessibilityEvent(record);
        // Populate with the text of the requesting child.
        child.dispatchPopulateAccessibilityEvent(record);
        event.appendRecord(record);
        return true;
    }
    return false;
}
 
开发者ID:treasure-lau,项目名称:CSipSimple,代码行数:14,代码来源:IcsAdapterView.java

示例2: onRequestSendAccessibilityEvent

import android.view.accessibility.AccessibilityEvent; //导入方法依赖的package包/类
@TargetApi(14)
public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) {
    if (!super.onRequestSendAccessibilityEvent(child, event)) {
        return false;
    }
    AccessibilityEvent record = AccessibilityEvent.obtain();
    onInitializeAccessibilityEvent(record);
    child.dispatchPopulateAccessibilityEvent(record);
    event.appendRecord(record);
    return true;
}
 
开发者ID:JackChan1999,项目名称:letv,代码行数:12,代码来源:AdapterView.java

示例3: onRequestSendAccessibilityEvent

import android.view.accessibility.AccessibilityEvent; //导入方法依赖的package包/类
@TargetApi(14)
@Override
public boolean onRequestSendAccessibilityEvent( View child, AccessibilityEvent event ) {
	if ( super.onRequestSendAccessibilityEvent( child, event ) ) {
		// Add a record for ourselves as well.
		AccessibilityEvent record = AccessibilityEvent.obtain();
		onInitializeAccessibilityEvent( record );
		// Populate with the text of the requesting child.
		child.dispatchPopulateAccessibilityEvent( record );
		event.appendRecord( record );
		return true;
	}
	return false;
}
 
开发者ID:junchenChow,项目名称:exciting-app,代码行数:15,代码来源:AdapterView.java

示例4: onRequestSendAccessibilityEvent

import android.view.accessibility.AccessibilityEvent; //导入方法依赖的package包/类
public boolean onRequestSendAccessibilityEvent(View paramView, AccessibilityEvent paramAccessibilityEvent) {
	if (super.onRequestSendAccessibilityEvent(paramView, paramAccessibilityEvent)) {
		AccessibilityEvent localAccessibilityEvent = AccessibilityEvent.obtain();
		onInitializeAccessibilityEvent(localAccessibilityEvent);
		paramView.dispatchPopulateAccessibilityEvent(localAccessibilityEvent);
		paramAccessibilityEvent.appendRecord(localAccessibilityEvent);
		return true;
	}
	return false;
}
 
开发者ID:Evan-Galvin,项目名称:FreeStreams-TVLauncher,代码行数:11,代码来源:AdapterView.java

示例5: appendRecord

import android.view.accessibility.AccessibilityEvent; //导入方法依赖的package包/类
public static void appendRecord(AccessibilityEvent event, Object record) {
    event.appendRecord((AccessibilityRecord) record);
}
 
开发者ID:JackChan1999,项目名称:boohee_v5.6,代码行数:4,代码来源:AccessibilityEventCompatIcs.java


注:本文中的android.view.accessibility.AccessibilityEvent.appendRecord方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。