Home
last modified time | relevance | path

Searched refs:stateName (Results 1 – 16 of 16) sorted by relevance

/external/skqp/tools/sk_app/android/
Dsurface_glue_android.cpp157 skiaAndroidApp->fWindow->onUIStateChanged(*message.stateName, *message.stateValue); in message_callback()
158 delete message.stateName; in message_callback()
266 JNIEnv* env, jobject activity, jlong handle, jstring stateName, jstring stateValue) { in Java_org_skia_viewer_ViewerActivity_onUIStateChanged() argument
269 const char* nameChars = env->GetStringUTFChars(stateName, nullptr); in Java_org_skia_viewer_ViewerActivity_onUIStateChanged()
271 message.stateName = new SkString(nameChars); in Java_org_skia_viewer_ViewerActivity_onUIStateChanged()
274 env->ReleaseStringUTFChars(stateName, nameChars); in Java_org_skia_viewer_ViewerActivity_onUIStateChanged()
Dsurface_glue_android.h41 SkString* stateName; member
/external/skia/tools/sk_app/android/
Dsurface_glue_android.cpp157 skiaAndroidApp->fWindow->onUIStateChanged(*message.stateName, *message.stateValue); in message_callback()
158 delete message.stateName; in message_callback()
266 JNIEnv* env, jobject activity, jlong handle, jstring stateName, jstring stateValue) { in Java_org_skia_viewer_ViewerActivity_onUIStateChanged() argument
269 const char* nameChars = env->GetStringUTFChars(stateName, nullptr); in Java_org_skia_viewer_ViewerActivity_onUIStateChanged()
271 message.stateName = new SkString(nameChars); in Java_org_skia_viewer_ViewerActivity_onUIStateChanged()
274 env->ReleaseStringUTFChars(stateName, nameChars); in Java_org_skia_viewer_ViewerActivity_onUIStateChanged()
Dsurface_glue_android.h41 SkString* stateName; member
/external/skqp/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DViewerActivity.java42 private native void onUIStateChanged(long handle, String stateName, String stateValue); in onUIStateChanged() argument
157 public void onStateChanged(String stateName, String stateValue) { in onStateChanged() argument
158 onUIStateChanged(mApplication.getNativeHandle(), stateName, stateValue); in onStateChanged() local
DStateAdapter.java220 String stateName = ((TextView) stateItem.findViewById(R.id.nameText)).getText().toString(); in onItemSelected() local
224 mViewerActivity.onStateChanged(stateName, stateValue); in onItemSelected()
231 if (stateName.equals(BACKEND_STATE_NAME) in onItemSelected()
/external/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DViewerActivity.java42 private native void onUIStateChanged(long handle, String stateName, String stateValue); in onUIStateChanged() argument
157 public void onStateChanged(String stateName, String stateValue) { in onStateChanged() argument
158 onUIStateChanged(mApplication.getNativeHandle(), stateName, stateValue); in onStateChanged() local
DStateAdapter.java220 String stateName = ((TextView) stateItem.findViewById(R.id.nameText)).getText().toString(); in onItemSelected() local
224 mViewerActivity.onStateChanged(stateName, stateValue); in onItemSelected()
231 if (stateName.equals(BACKEND_STATE_NAME) in onItemSelected()
/external/skqp/tools/sk_app/
DWindow.cpp64 void Window::onUIStateChanged(const SkString& stateName, const SkString& stateValue) { in onUIStateChanged() argument
65 this->visitLayers([=](Layer* layer) { layer->onUIStateChanged(stateName, stateValue); }); in onUIStateChanged()
DWindow.h149 virtual void onUIStateChanged(const SkString& stateName, const SkString& stateValue) {} in onUIStateChanged() argument
169 void onUIStateChanged(const SkString& stateName, const SkString& stateValue);
/external/skia/tools/sk_app/
DWindow.cpp64 void Window::onUIStateChanged(const SkString& stateName, const SkString& stateValue) { in onUIStateChanged() argument
65 this->visitLayers([=](Layer* layer) { layer->onUIStateChanged(stateName, stateValue); }); in onUIStateChanged()
DWindow.h149 virtual void onUIStateChanged(const SkString& stateName, const SkString& stateValue) {} in onUIStateChanged() argument
169 void onUIStateChanged(const SkString& stateName, const SkString& stateValue);
/external/skqp/tools/viewer/
DViewer.cpp1302 void Viewer::onUIStateChanged(const SkString& stateName, const SkString& stateValue) { in onUIStateChanged() argument
1307 if (stateName.equals(kSlideStateName)) { in onUIStateChanged()
1316 } else if (stateName.equals(kBackendStateName)) { in onUIStateChanged()
1327 } else if (stateName.equals(kMSAAStateName)) { in onUIStateChanged()
1337 } else if (stateName.equals(kPathRendererStateName)) { in onUIStateChanged()
1351 } else if (stateName.equals(kSoftkeyStateName)) { in onUIStateChanged()
1356 } else if (stateName.equals(kRefreshStateName)) { in onUIStateChanged()
1361 SkDebugf("Unknown stateName: %s", stateName.c_str()); in onUIStateChanged()
DViewer.h36 void onUIStateChanged(const SkString& stateName, const SkString& stateValue) override;
/external/skia/tools/viewer/
DViewer.cpp1492 void Viewer::onUIStateChanged(const SkString& stateName, const SkString& stateValue) { in onUIStateChanged() argument
1497 if (stateName.equals(kSlideStateName)) { in onUIStateChanged()
1506 } else if (stateName.equals(kBackendStateName)) { in onUIStateChanged()
1517 } else if (stateName.equals(kMSAAStateName)) { in onUIStateChanged()
1527 } else if (stateName.equals(kPathRendererStateName)) { in onUIStateChanged()
1541 } else if (stateName.equals(kSoftkeyStateName)) { in onUIStateChanged()
1546 } else if (stateName.equals(kRefreshStateName)) { in onUIStateChanged()
1551 SkDebugf("Unknown stateName: %s", stateName.c_str()); in onUIStateChanged()
DViewer.h36 void onUIStateChanged(const SkString& stateName, const SkString& stateValue) override;