Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code: DatasetGenerationError
Exception: ArrowInvalid
Message: Failed to parse string: 'Chart' as a scalar of type int64
Traceback: Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table
pa_table = table_cast(pa_table, self._schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast
return cast_table_to_schema(table, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2261, in cast_table_to_schema
arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2261, in <listcomp>
arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1802, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1802, in <listcomp>
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2116, in cast_array_to_feature
return array_cast(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1804, in wrapper
return func(array, *args, **kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1963, in array_cast
return array.cast(pa_type)
File "pyarrow/array.pxi", line 996, in pyarrow.lib.Array.cast
File "/src/services/worker/.venv/lib/python3.9/site-packages/pyarrow/compute.py", line 404, in cast
return call_function("cast", [arr], options, memory_pool)
File "pyarrow/_compute.pyx", line 590, in pyarrow._compute.call_function
File "pyarrow/_compute.pyx", line 385, in pyarrow._compute.Function.call
File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: Failed to parse string: 'Chart' as a scalar of type int64
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1529, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1154, in convert_to_parquet
builder.download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
self._download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split
for job_id, done, content in self._prepare_split_single(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2038, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Unnamed: 0 int64 | program_id int64 | project_id int64 | source string | target string | path null |
|---|---|---|---|---|---|
0 | 0 | 0 | private final void realStartServiceLocked(ServiceRecord r,ProcessRecord app,boolean execInFg) throws RemoteException {
if (app.thread == null) {
throw new RemoteException();
}
if (DEBUG_MU) Slog.v(TAG_MU,"String_Node_Str" + r.appInfo.uid + "String_Node_Str"+ app.uid);
r.app=app;
r.restartTime=r.lastActi... | private final void realStartServiceLocked(ServiceRecord r,ProcessRecord app,boolean execInFg) throws RemoteException {
if (app.thread == null) {
throw new RemoteException();
}
if (DEBUG_MU) Slog.v(TAG_MU,"String_Node_Str" + r.appInfo.uid + "String_Node_Str"+ app.uid);
r.app=app;
r.restartTime=r.lastActi... | null |
1 | 1 | 1 | private final String bringUpServiceLocked(ServiceRecord r,int intentFlags,boolean execInFg,boolean whileRestarting){
if (r.app != null && r.app.thread != null) {
sendServiceArgsLocked(r,execInFg,false);
return null;
}
if (!whileRestarting && r.restartDelay > 0) {
return null;
}
if (DEBUG_SERVICE) ... | private final String bringUpServiceLocked(ServiceRecord r,int intentFlags,boolean execInFg,boolean whileRestarting){
if (r.app != null && r.app.thread != null) {
sendServiceArgsLocked(r,execInFg,false);
return null;
}
if (!whileRestarting && r.restartDelay > 0) {
return null;
}
if (DEBUG_SERVICE) ... | null |
2 | 2 | 2 | void rescheduleDelayedStarts(){
removeMessages(MSG_BG_START_TIMEOUT);
final long now=SystemClock.uptimeMillis();
for (int i=0, N=mStartingBackground.size(); i < N; i++) {
ServiceRecord r=mStartingBackground.get(i);
if (r.startingBgTimeout <= now) {
Slog.i(TAG,"String_Node_Str" + r);
mStartingB... | void rescheduleDelayedStarts(){
removeMessages(MSG_BG_START_TIMEOUT);
final long now=SystemClock.uptimeMillis();
for (int i=0, N=mStartingBackground.size(); i < N; i++) {
ServiceRecord r=mStartingBackground.get(i);
if (r.startingBgTimeout <= now) {
Slog.i(TAG,"String_Node_Str" + r);
mStartingB... | null |
3 | 3 | 3 | final void killServicesLocked(ProcessRecord app,boolean allowRestart){
if (false) {
if (app.services.size() > 0) {
Iterator<ServiceRecord> it=app.services.iterator();
while (it.hasNext()) {
ServiceRecord r=it.next();
for (int conni=r.connections.size() - 1; conni >= 0; conni--) {
... | final void killServicesLocked(ProcessRecord app,boolean allowRestart){
if (false) {
if (app.services.size() > 0) {
Iterator<ServiceRecord> it=app.services.iterator();
while (it.hasNext()) {
ServiceRecord r=it.next();
for (int conni=r.connections.size() - 1; conni >= 0; conni--) {
... | null |
4 | 4 | 4 | ComponentName startServiceInnerLocked(ServiceMap smap,Intent service,ServiceRecord r,boolean callerFg,boolean addToStarting){
ProcessStats.ServiceState stracker=r.getTracker();
if (stracker != null) {
stracker.setStarted(true,mAm.mProcessStats.getMemFactorLocked(),r.lastActivity);
}
r.callStart=false;
synch... | ComponentName startServiceInnerLocked(ServiceMap smap,Intent service,ServiceRecord r,boolean callerFg,boolean addToStarting){
ProcessStats.ServiceState stracker=r.getTracker();
if (stracker != null) {
stracker.setStarted(true,mAm.mProcessStats.getMemFactorLocked(),r.lastActivity);
}
r.callStart=false;
synch... | null |
5 | 5 | 5 | ComponentName startServiceLocked(IApplicationThread caller,Intent service,String resolvedType,int callingPid,int callingUid,int userId){
if (DEBUG_DELAYED_STATS) Slog.v(TAG,"String_Node_Str" + service + "String_Node_Str"+ resolvedType+ "String_Node_Str"+ service.getExtras());
final boolean callerFg;
if (caller ... | ComponentName startServiceLocked(IApplicationThread caller,Intent service,String resolvedType,int callingPid,int callingUid,int userId){
if (DEBUG_DELAYED_STARTS) Slog.v(TAG,"String_Node_Str" + service + "String_Node_Str"+ resolvedType+ "String_Node_Str"+ service.getExtras());
final boolean callerFg;
if (caller... | null |
6 | 6 | 6 | void ensureNotStartingBackground(ServiceRecord r){
if (mStartingBackground.remove(r)) {
if (DEBUG_DELAYED_STATS) Slog.v(TAG,"String_Node_Str" + r);
rescheduleDelayedStarts();
}
if (mDelayedStartList.remove(r)) {
if (DEBUG_DELAYED_STATS) Slog.v(TAG,"String_Node_Str" + r);
}
} | void ensureNotStartingBackground(ServiceRecord r){
if (mStartingBackground.remove(r)) {
if (DEBUG_DELAYED_STARTS) Slog.v(TAG,"String_Node_Str" + r);
rescheduleDelayedStarts();
}
if (mDelayedStartList.remove(r)) {
if (DEBUG_DELAYED_STARTS) Slog.v(TAG,"String_Node_Str" + r);
}
} | null |
7 | 7 | 7 | public void createStack(int stackId,int displayId){
mH.sendMessage(mH.obtainMessage(H.CREATE_STACK,stackId,displayId));
} | /**
* Create a new TaskStack and place it on a DisplayContent.
* @param stackId The unique identifier of the new stack.
* @param displayId The unique identifier of the DisplayContent.
*/
public void createStack(int stackId,int displayId){
final long origId=Binder.clearCallingIdentity();
try {
synchronized (mWi... | null |
8 | 8 | 8 | @Override public void handleMessage(Message msg){
if (DEBUG_WINDOW_TRACE) {
Slog.v(TAG,"String_Node_Str" + msg.what);
}
switch (msg.what) {
case REPORT_FOCUS_CHANGE:
{
WindowState lastFocus;
WindowState newFocus;
synchronized (mWindowMap) {
lastFocus=mLastFocus;
newFocus=mCurrentFocu... | @Override public void handleMessage(Message msg){
if (DEBUG_WINDOW_TRACE) {
Slog.v(TAG,"String_Node_Str" + msg.what);
}
switch (msg.what) {
case REPORT_FOCUS_CHANGE:
{
WindowState lastFocus;
WindowState newFocus;
synchronized (mWindowMap) {
lastFocus=mLastFocus;
newFocus=mCurrentFocu... | null |
9 | 9 | 9 | public void createStack(int stackId,int displayId){
mH.sendMessage(mH.obtainMessage(H.CREATE_STACK,stackId,displayId));
} | /**
* Create a new TaskStack and place it on a DisplayContent.
* @param stackId The unique identifier of the new stack.
* @param displayId The unique identifier of the DisplayContent.
*/
public void createStack(int stackId,int displayId){
final long origId=Binder.clearCallingIdentity();
try {
synchronized (mWi... | null |
10 | 10 | 10 | @Override public void handleMessage(Message msg){
if (DEBUG_WINDOW_TRACE) {
Slog.v(TAG,"String_Node_Str" + msg.what);
}
switch (msg.what) {
case REPORT_FOCUS_CHANGE:
{
WindowState lastFocus;
WindowState newFocus;
synchronized (mWindowMap) {
lastFocus=mLastFocus;
newFocus=mCurrentFocu... | @Override public void handleMessage(Message msg){
if (DEBUG_WINDOW_TRACE) {
Slog.v(TAG,"String_Node_Str" + msg.what);
}
switch (msg.what) {
case REPORT_FOCUS_CHANGE:
{
WindowState lastFocus;
WindowState newFocus;
synchronized (mWindowMap) {
lastFocus=mLastFocus;
newFocus=mCurrentFocu... | null |
11 | 11 | 11 | public void createStack(int stackId,int displayId){
mH.sendMessage(mH.obtainMessage(H.CREATE_STACK,stackId,displayId));
} | /**
* Create a new TaskStack and place it on a DisplayContent.
* @param stackId The unique identifier of the new stack.
* @param displayId The unique identifier of the DisplayContent.
*/
public void createStack(int stackId,int displayId){
final long origId=Binder.clearCallingIdentity();
try {
synchronized (mWi... | null |
12 | 12 | 12 | @Override public void handleMessage(Message msg){
if (DEBUG_WINDOW_TRACE) {
Slog.v(TAG,"String_Node_Str" + msg.what);
}
switch (msg.what) {
case REPORT_FOCUS_CHANGE:
{
WindowState lastFocus;
WindowState newFocus;
synchronized (mWindowMap) {
lastFocus=mLastFocus;
newFocus=mCurrentFocu... | @Override public void handleMessage(Message msg){
if (DEBUG_WINDOW_TRACE) {
Slog.v(TAG,"String_Node_Str" + msg.what);
}
switch (msg.what) {
case REPORT_FOCUS_CHANGE:
{
WindowState lastFocus;
WindowState newFocus;
synchronized (mWindowMap) {
lastFocus=mLastFocus;
newFocus=mCurrentFocu... | null |
13 | 13 | 13 | @Override public View getItemView(final MenuItemImpl item,View convertView,ViewGroup parent){
View actionView=item.getActionView();
if (actionView == null || item.hasCollapsibleActionView()) {
actionView=super.getItemView(item,convertView,parent);
}
actionView.setVisibility(item.isActionViewExpanded() ? Vie... | @Override public View getItemView(final MenuItemImpl item,View convertView,ViewGroup parent){
View actionView=item.getActionView();
if (actionView == null || item.hasCollapsibleActionView()) {
actionView=super.getItemView(item,convertView,parent);
}
actionView.setVisibility(item.isActionViewExpanded() ? Vie... | null |
14 | 14 | 14 | @Override public void bindItemView(MenuItemImpl item,MenuView.ItemView itemView){
itemView.initialize(item,0);
final ActionMenuView menuView=(ActionMenuView)mMenuView;
ActionMenuItemView actionItemView=(ActionMenuItemView)itemView;
actionItemView.setItemInvoker(menuView);
} | @Override public void bindItemView(final MenuItemImpl item,MenuView.ItemView itemView){
itemView.initialize(item,0);
final ActionMenuView menuView=(ActionMenuView)mMenuView;
final ActionMenuItemView actionItemView=(ActionMenuItemView)itemView;
actionItemView.setItemInvoker(menuView);
if (item.hasSubMenu()) {
... | null |
15 | 15 | 15 | @Override public View getItemView(final MenuItemImpl item,View convertView,ViewGroup parent){
View actionView=item.getActionView();
if (actionView == null || item.hasCollapsibleActionView()) {
actionView=super.getItemView(item,convertView,parent);
}
actionView.setVisibility(item.isActionViewExpanded() ? Vie... | @Override public View getItemView(final MenuItemImpl item,View convertView,ViewGroup parent){
View actionView=item.getActionView();
if (actionView == null || item.hasCollapsibleActionView()) {
actionView=super.getItemView(item,convertView,parent);
}
actionView.setVisibility(item.isActionViewExpanded() ? Vie... | null |
16 | 16 | 16 | @Override public void bindItemView(MenuItemImpl item,MenuView.ItemView itemView){
itemView.initialize(item,0);
final ActionMenuView menuView=(ActionMenuView)mMenuView;
ActionMenuItemView actionItemView=(ActionMenuItemView)itemView;
actionItemView.setItemInvoker(menuView);
} | @Override public void bindItemView(final MenuItemImpl item,MenuView.ItemView itemView){
itemView.initialize(item,0);
final ActionMenuView menuView=(ActionMenuView)mMenuView;
final ActionMenuItemView actionItemView=(ActionMenuItemView)itemView;
actionItemView.setItemInvoker(menuView);
if (item.hasSubMenu()) {
... | null |
17 | 17 | 17 | @Override public View getItemView(final MenuItemImpl item,View convertView,ViewGroup parent){
View actionView=item.getActionView();
if (actionView == null || item.hasCollapsibleActionView()) {
actionView=super.getItemView(item,convertView,parent);
}
actionView.setVisibility(item.isActionViewExpanded() ? Vie... | @Override public View getItemView(final MenuItemImpl item,View convertView,ViewGroup parent){
View actionView=item.getActionView();
if (actionView == null || item.hasCollapsibleActionView()) {
actionView=super.getItemView(item,convertView,parent);
}
actionView.setVisibility(item.isActionViewExpanded() ? Vie... | null |
18 | 18 | 18 | @Override public void bindItemView(MenuItemImpl item,MenuView.ItemView itemView){
itemView.initialize(item,0);
final ActionMenuView menuView=(ActionMenuView)mMenuView;
ActionMenuItemView actionItemView=(ActionMenuItemView)itemView;
actionItemView.setItemInvoker(menuView);
} | @Override public void bindItemView(final MenuItemImpl item,MenuView.ItemView itemView){
itemView.initialize(item,0);
final ActionMenuView menuView=(ActionMenuView)mMenuView;
final ActionMenuItemView actionItemView=(ActionMenuItemView)itemView;
actionItemView.setItemInvoker(menuView);
if (item.hasSubMenu()) {
... | null |
19 | 19 | 19 | @Override public View getItemView(final MenuItemImpl item,View convertView,ViewGroup parent){
View actionView=item.getActionView();
if (actionView == null || item.hasCollapsibleActionView()) {
actionView=super.getItemView(item,convertView,parent);
}
actionView.setVisibility(item.isActionViewExpanded() ? Vie... | @Override public View getItemView(final MenuItemImpl item,View convertView,ViewGroup parent){
View actionView=item.getActionView();
if (actionView == null || item.hasCollapsibleActionView()) {
actionView=super.getItemView(item,convertView,parent);
}
actionView.setVisibility(item.isActionViewExpanded() ? Vie... | null |
20 | 20 | 20 | @Override public void bindItemView(MenuItemImpl item,MenuView.ItemView itemView){
itemView.initialize(item,0);
final ActionMenuView menuView=(ActionMenuView)mMenuView;
ActionMenuItemView actionItemView=(ActionMenuItemView)itemView;
actionItemView.setItemInvoker(menuView);
} | @Override public void bindItemView(final MenuItemImpl item,MenuView.ItemView itemView){
itemView.initialize(item,0);
final ActionMenuView menuView=(ActionMenuView)mMenuView;
final ActionMenuItemView actionItemView=(ActionMenuItemView)itemView;
actionItemView.setItemInvoker(menuView);
if (item.hasSubMenu()) {
... | null |
21 | 21 | 21 | @Override public void onRtlPropertiesChanged(int layoutDirection){
super.onRtlPropertiesChanged(layoutDirection);
mTextDir=getTextDirectionHeuristic();
} | @Override public void onRtlPropertiesChanged(int layoutDirection){
super.onRtlPropertiesChanged(layoutDirection);
mTextDir=getTextDirectionHeuristic();
if (mLayout != null) {
checkForRelayout();
}
} | null |
22 | 22 | 22 | private void handleDisable(){
if (DEBUG) Log.d(TAG,"String_Node_Str");
stopNavigating();
mAlarmManager.cancel(mWakeupIntent);
mAlarmManager.cancel(mTimeoutIntent);
native_cleanup();
} | private void handleDisable(){
if (DEBUG) Log.d(TAG,"String_Node_Str");
updateClientUids(new WorkSource());
stopNavigating();
mAlarmManager.cancel(mWakeupIntent);
mAlarmManager.cancel(mTimeoutIntent);
native_cleanup();
} | null |
23 | 23 | 23 | private void handleDisable(){
if (DEBUG) Log.d(TAG,"String_Node_Str");
stopNavigating();
mAlarmManager.cancel(mWakeupIntent);
mAlarmManager.cancel(mTimeoutIntent);
native_cleanup();
} | private void handleDisable(){
if (DEBUG) Log.d(TAG,"String_Node_Str");
updateClientUids(new WorkSource());
stopNavigating();
mAlarmManager.cancel(mWakeupIntent);
mAlarmManager.cancel(mTimeoutIntent);
native_cleanup();
} | null |
24 | 24 | 24 | /**
* Converts this time to milliseconds. Suitable for interacting with the standard java libraries. The time is in UTC milliseconds since the epoch. This does an implicit normalization to compute the milliseconds but does <em>not</em> change any of the fields in this Time object. If you want to normalize the fields... | /**
* Converts this time to milliseconds. Suitable for interacting with the standard java libraries. The time is in UTC milliseconds since the epoch. This does an implicit normalization to compute the milliseconds but does <em>not</em> change any of the fields in this Time object. If you want to normalize the fields... | null |
25 | 25 | 25 | /**
* Converts this time to milliseconds. Suitable for interacting with the standard java libraries. The time is in UTC milliseconds since the epoch. This does an implicit normalization to compute the milliseconds but does <em>not</em> change any of the fields in this Time object. If you want to normalize the fields... | /**
* Converts this time to milliseconds. Suitable for interacting with the standard java libraries. The time is in UTC milliseconds since the epoch. This does an implicit normalization to compute the milliseconds but does <em>not</em> change any of the fields in this Time object. If you want to normalize the fields... | null |
26 | 26 | 26 | /**
* Converts this time to milliseconds. Suitable for interacting with the standard java libraries. The time is in UTC milliseconds since the epoch. This does an implicit normalization to compute the milliseconds but does <em>not</em> change any of the fields in this Time object. If you want to normalize the fields... | /**
* Converts this time to milliseconds. Suitable for interacting with the standard java libraries. The time is in UTC milliseconds since the epoch. This does an implicit normalization to compute the milliseconds but does <em>not</em> change any of the fields in this Time object. If you want to normalize the fields... | null |
27 | 27 | 27 | /**
* Converts this time to milliseconds. Suitable for interacting with the standard java libraries. The time is in UTC milliseconds since the epoch. This does an implicit normalization to compute the milliseconds but does <em>not</em> change any of the fields in this Time object. If you want to normalize the fields... | /**
* Converts this time to milliseconds. Suitable for interacting with the standard java libraries. The time is in UTC milliseconds since the epoch. This does an implicit normalization to compute the milliseconds but does <em>not</em> change any of the fields in this Time object. If you want to normalize the fields... | null |
28 | 28 | 28 | /**
* Converts this time to milliseconds. Suitable for interacting with the standard java libraries. The time is in UTC milliseconds since the epoch. This does an implicit normalization to compute the milliseconds but does <em>not</em> change any of the fields in this Time object. If you want to normalize the fields... | /**
* Converts this time to milliseconds. Suitable for interacting with the standard java libraries. The time is in UTC milliseconds since the epoch. This does an implicit normalization to compute the milliseconds but does <em>not</em> change any of the fields in this Time object. If you want to normalize the fields... | null |
29 | 29 | 29 | /**
* Adds the children of a given View for accessibility. Since some Views are not important for accessibility the children for accessibility are not necessarily direct children of the view, rather they are the first level of descendants important for accessibility.
* @param children The list of children for access... | /**
* Adds the children of a given View for accessibility. Since some Views are not important for accessibility the children for accessibility are not necessarily direct children of the view, rather they are the first level of descendants important for accessibility.
* @param children The list of children for access... | null |
30 | 30 | 30 | /**
* Convenience method for sending a {@link AccessibilityEvent#TYPE_ANNOUNCEMENT}{@link AccessibilityEvent} to make an announcement which is related to somesort of a context change for which none of the events representing UI transitions is a good fit. For example, announcing a new page in a book. If accessibilit... | /**
* Convenience method for sending a {@link AccessibilityEvent#TYPE_ANNOUNCEMENT}{@link AccessibilityEvent} to make an announcement which is related to somesort of a context change for which none of the events representing UI transitions is a good fit. For example, announcing a new page in a book. If accessibilit... | null |
31 | 31 | 31 | /**
* @see #sendAccessibilityEventUnchecked(AccessibilityEvent) Note: Called from the default {@link AccessibilityDelegate}.
*/
void sendAccessibilityEventUncheckedInternal(AccessibilityEvent event){
if (!isShown()) {
return;
}
onInitializeAccessibilityEvent(event);
if ((event.getEventType() & POPULATIN... | /**
* @see #sendAccessibilityEventUnchecked(AccessibilityEvent) Note: Called from the default {@link AccessibilityDelegate}.
*/
void sendAccessibilityEventUncheckedInternal(AccessibilityEvent event){
if (!isShown() || !isImportantForAccessibility()) {
return;
}
onInitializeAccessibilityEvent(event);
if ... | null |
32 | 32 | 32 | /**
* Caches an {@link AccessibilityNodeInfo} given its accessibility node id.
* @param info The {@link AccessibilityNodeInfo} to cache.
*/
public void add(AccessibilityNodeInfo info){
if (ENABLED) {
synchronized (mLock) {
if (DEBUG) {
Log.i(LOG_TAG,"String_Node_Str" + info + "String_Node_Str");
... | /**
* Caches an {@link AccessibilityNodeInfo} given its accessibility node id.
* @param info The {@link AccessibilityNodeInfo} to cache.
*/
public void add(AccessibilityNodeInfo info){
if (ENABLED) {
synchronized (mLock) {
if (DEBUG) {
Log.i(LOG_TAG,"String_Node_Str" + info + "String_Node_Str");
... | null |
33 | 33 | 33 | /**
* Adds the children of a given View for accessibility. Since some Views are not important for accessibility the children for accessibility are not necessarily direct children of the view, rather they are the first level of descendants important for accessibility.
* @param children The list of children for access... | /**
* Adds the children of a given View for accessibility. Since some Views are not important for accessibility the children for accessibility are not necessarily direct children of the view, rather they are the first level of descendants important for accessibility.
* @param children The list of children for access... | null |
34 | 34 | 34 | /**
* Convenience method for sending a {@link AccessibilityEvent#TYPE_ANNOUNCEMENT}{@link AccessibilityEvent} to make an announcement which is related to somesort of a context change for which none of the events representing UI transitions is a good fit. For example, announcing a new page in a book. If accessibilit... | /**
* Convenience method for sending a {@link AccessibilityEvent#TYPE_ANNOUNCEMENT}{@link AccessibilityEvent} to make an announcement which is related to somesort of a context change for which none of the events representing UI transitions is a good fit. For example, announcing a new page in a book. If accessibilit... | null |
35 | 35 | 35 | /**
* @see #sendAccessibilityEventUnchecked(AccessibilityEvent) Note: Called from the default {@link AccessibilityDelegate}.
*/
void sendAccessibilityEventUncheckedInternal(AccessibilityEvent event){
if (!isShown()) {
return;
}
onInitializeAccessibilityEvent(event);
if ((event.getEventType() & POPULATIN... | /**
* @see #sendAccessibilityEventUnchecked(AccessibilityEvent) Note: Called from the default {@link AccessibilityDelegate}.
*/
void sendAccessibilityEventUncheckedInternal(AccessibilityEvent event){
if (!isShown() || !isImportantForAccessibility()) {
return;
}
onInitializeAccessibilityEvent(event);
if ... | null |
36 | 36 | 36 | /**
* Caches an {@link AccessibilityNodeInfo} given its accessibility node id.
* @param info The {@link AccessibilityNodeInfo} to cache.
*/
public void add(AccessibilityNodeInfo info){
if (ENABLED) {
synchronized (mLock) {
if (DEBUG) {
Log.i(LOG_TAG,"String_Node_Str" + info + "String_Node_Str");
... | /**
* Caches an {@link AccessibilityNodeInfo} given its accessibility node id.
* @param info The {@link AccessibilityNodeInfo} to cache.
*/
public void add(AccessibilityNodeInfo info){
if (ENABLED) {
synchronized (mLock) {
if (DEBUG) {
Log.i(LOG_TAG,"String_Node_Str" + info + "String_Node_Str");
... | null |
37 | 37 | 37 | private void updateMinScale(int w,int h,TileSource source,boolean resetScale){
synchronized (mLock) {
if (resetScale) {
mRenderer.scale=1;
}
if (source != null) {
final float[] imageDims=getImageDims();
final float imageWidth=imageDims[0];
final float imageHeight=imageDims[1];
... | private void updateMinScale(int w,int h,TileSource source,boolean resetScale){
synchronized (mLock) {
if (resetScale) {
mRenderer.scale=1;
}
if (source != null) {
final float[] imageDims=getImageDims();
final float imageWidth=imageDims[0];
final float imageHeight=imageDims[1];
... | null |
38 | 38 | 38 | public boolean cropBitmap(){
boolean failure=false;
WallpaperManager wallpaperManager=null;
if (mSetWallpaper) {
wallpaperManager=WallpaperManager.getInstance(mContext.getApplicationContext());
}
if (mSetWallpaper && mNoCrop) {
try {
InputStream is=regenerateInputStream();
if (is != null) ... | public boolean cropBitmap(){
boolean failure=false;
WallpaperManager wallpaperManager=null;
if (mSetWallpaper) {
wallpaperManager=WallpaperManager.getInstance(mContext.getApplicationContext());
}
if (mSetWallpaper && mNoCrop) {
try {
InputStream is=regenerateInputStream();
if (is != null) ... | null |
39 | 39 | 39 | public void run(){
int savedWidth=sharedPrefs.getInt(WALLPAPER_WIDTH_KEY,defaultWallpaperSize.x);
int savedHeight=sharedPrefs.getInt(WALLPAPER_HEIGHT_KEY,defaultWallpaperSize.y);
wallpaperManager.suggestDesiredDimensions(savedWidth,savedHeight);
} | public void run(){
updateWallpaperDimensions(outWidth,outHeight);
if (finishActivityWhenDone) {
setResult(Activity.RESULT_OK);
finish();
}
} | null |
40 | 40 | 40 | static public void suggestWallpaperDimension(Resources res,final SharedPreferences sharedPrefs,WindowManager windowManager,final WallpaperManager wallpaperManager){
final Point defaultWallpaperSize=getDefaultWallpaperSize(res,windowManager);
new Thread("String_Node_Str"){
public void run(){
int savedWidth... | static public void suggestWallpaperDimension(Resources res,final SharedPreferences sharedPrefs,WindowManager windowManager,final WallpaperManager wallpaperManager){
final Point defaultWallpaperSize=getDefaultWallpaperSize(res,windowManager);
new AsyncTask<Void,Void,Void>(){
public Void doInBackground( Void..... | null |
41 | 41 | 41 | @Override protected Boolean doInBackground(Void... params){
return cropBitmap();
} | public Void doInBackground(Void... args){
int savedWidth=sharedPrefs.getInt(WALLPAPER_WIDTH_KEY,defaultWallpaperSize.x);
int savedHeight=sharedPrefs.getInt(WALLPAPER_HEIGHT_KEY,defaultWallpaperSize.y);
wallpaperManager.suggestDesiredDimensions(savedWidth,savedHeight);
return null;
} | null |
42 | 42 | 42 | private void updateMinScale(int w,int h,TileSource source,boolean resetScale){
synchronized (mLock) {
if (resetScale) {
mRenderer.scale=1;
}
if (source != null) {
final float[] imageDims=getImageDims();
final float imageWidth=imageDims[0];
final float imageHeight=imageDims[1];
... | private void updateMinScale(int w,int h,TileSource source,boolean resetScale){
synchronized (mLock) {
if (resetScale) {
mRenderer.scale=1;
}
if (source != null) {
final float[] imageDims=getImageDims();
final float imageWidth=imageDims[0];
final float imageHeight=imageDims[1];
... | null |
43 | 43 | 43 | public boolean cropBitmap(){
boolean failure=false;
WallpaperManager wallpaperManager=null;
if (mSetWallpaper) {
wallpaperManager=WallpaperManager.getInstance(mContext.getApplicationContext());
}
if (mSetWallpaper && mNoCrop) {
try {
InputStream is=regenerateInputStream();
if (is != null) ... | public boolean cropBitmap(){
boolean failure=false;
WallpaperManager wallpaperManager=null;
if (mSetWallpaper) {
wallpaperManager=WallpaperManager.getInstance(mContext.getApplicationContext());
}
if (mSetWallpaper && mNoCrop) {
try {
InputStream is=regenerateInputStream();
if (is != null) ... | null |
44 | 44 | 44 | public void run(){
int savedWidth=sharedPrefs.getInt(WALLPAPER_WIDTH_KEY,defaultWallpaperSize.x);
int savedHeight=sharedPrefs.getInt(WALLPAPER_HEIGHT_KEY,defaultWallpaperSize.y);
wallpaperManager.suggestDesiredDimensions(savedWidth,savedHeight);
} | public void run(){
updateWallpaperDimensions(outWidth,outHeight);
if (finishActivityWhenDone) {
setResult(Activity.RESULT_OK);
finish();
}
} | null |
45 | 45 | 45 | static public void suggestWallpaperDimension(Resources res,final SharedPreferences sharedPrefs,WindowManager windowManager,final WallpaperManager wallpaperManager){
final Point defaultWallpaperSize=getDefaultWallpaperSize(res,windowManager);
new Thread("String_Node_Str"){
public void run(){
int savedWidth... | static public void suggestWallpaperDimension(Resources res,final SharedPreferences sharedPrefs,WindowManager windowManager,final WallpaperManager wallpaperManager){
final Point defaultWallpaperSize=getDefaultWallpaperSize(res,windowManager);
new AsyncTask<Void,Void,Void>(){
public Void doInBackground( Void..... | null |
46 | 46 | 46 | @Override protected Boolean doInBackground(Void... params){
return cropBitmap();
} | public Void doInBackground(Void... args){
int savedWidth=sharedPrefs.getInt(WALLPAPER_WIDTH_KEY,defaultWallpaperSize.x);
int savedHeight=sharedPrefs.getInt(WALLPAPER_HEIGHT_KEY,defaultWallpaperSize.y);
wallpaperManager.suggestDesiredDimensions(savedWidth,savedHeight);
return null;
} | null |
47 | 47 | 47 | private final void realStartServiceLocked(ServiceRecord r,ProcessRecord app,boolean execInFg) throws RemoteException {
if (app.thread == null) {
throw new RemoteException();
}
if (DEBUG_MU) Slog.v(TAG_MU,"String_Node_Str" + r.appInfo.uid + "String_Node_Str"+ app.uid);
r.app=app;
r.restartTime=r.lastActi... | private final void realStartServiceLocked(ServiceRecord r,ProcessRecord app,boolean execInFg) throws RemoteException {
if (app.thread == null) {
throw new RemoteException();
}
if (DEBUG_MU) Slog.v(TAG_MU,"String_Node_Str" + r.appInfo.uid + "String_Node_Str"+ app.uid);
r.app=app;
r.restartTime=r.lastActi... | null |
48 | 48 | 48 | private final String bringUpServiceLocked(ServiceRecord r,int intentFlags,boolean execInFg,boolean whileRestarting){
if (r.app != null && r.app.thread != null) {
sendServiceArgsLocked(r,execInFg,false);
return null;
}
if (!whileRestarting && r.restartDelay > 0) {
return null;
}
if (DEBUG_SERVICE) ... | private final String bringUpServiceLocked(ServiceRecord r,int intentFlags,boolean execInFg,boolean whileRestarting){
if (r.app != null && r.app.thread != null) {
sendServiceArgsLocked(r,execInFg,false);
return null;
}
if (!whileRestarting && r.restartDelay > 0) {
return null;
}
if (DEBUG_SERVICE) ... | null |
49 | 49 | 49 | void rescheduleDelayedStarts(){
removeMessages(MSG_BG_START_TIMEOUT);
final long now=SystemClock.uptimeMillis();
for (int i=0, N=mStartingBackground.size(); i < N; i++) {
ServiceRecord r=mStartingBackground.get(i);
if (r.startingBgTimeout <= now) {
Slog.i(TAG,"String_Node_Str" + r);
mStartingB... | void rescheduleDelayedStarts(){
removeMessages(MSG_BG_START_TIMEOUT);
final long now=SystemClock.uptimeMillis();
for (int i=0, N=mStartingBackground.size(); i < N; i++) {
ServiceRecord r=mStartingBackground.get(i);
if (r.startingBgTimeout <= now) {
Slog.i(TAG,"String_Node_Str" + r);
mStartingB... | null |
50 | 50 | 50 | final void killServicesLocked(ProcessRecord app,boolean allowRestart){
if (false) {
if (app.services.size() > 0) {
Iterator<ServiceRecord> it=app.services.iterator();
while (it.hasNext()) {
ServiceRecord r=it.next();
for (int conni=r.connections.size() - 1; conni >= 0; conni--) {
... | final void killServicesLocked(ProcessRecord app,boolean allowRestart){
if (false) {
if (app.services.size() > 0) {
Iterator<ServiceRecord> it=app.services.iterator();
while (it.hasNext()) {
ServiceRecord r=it.next();
for (int conni=r.connections.size() - 1; conni >= 0; conni--) {
... | null |
End of preview.
README.md exists but content is empty.
- Downloads last month
- 160