Home
last modified time | relevance | path

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

/external/skqp/tools/sk_app/android/
Dsurface_glue_android.cpp184 skiaAndroidApp->fWindow->onUIStateChanged(*message.stateName, *message.stateValue); in message_callback()
186 delete message.stateValue; in message_callback()
296 JNIEnv* env, jobject activity, jlong handle, jstring stateName, jstring stateValue) { in Java_org_skia_viewer_ViewerActivity_onUIStateChanged() argument
300 const char* valueChars = env->GetStringUTFChars(stateValue, nullptr); in Java_org_skia_viewer_ViewerActivity_onUIStateChanged()
302 message.stateValue = new SkString(valueChars); in Java_org_skia_viewer_ViewerActivity_onUIStateChanged()
305 env->ReleaseStringUTFChars(stateValue, valueChars); in Java_org_skia_viewer_ViewerActivity_onUIStateChanged()
Dsurface_glue_android.h42 SkString* stateValue; member
/external/skia/tools/sk_app/android/
Dsurface_glue_android.cpp184 skiaAndroidApp->fWindow->onUIStateChanged(*message.stateName, *message.stateValue); in message_callback()
186 delete message.stateValue; in message_callback()
296 JNIEnv* env, jobject activity, jlong handle, jstring stateName, jstring stateValue) { in Java_org_skia_viewer_ViewerActivity_onUIStateChanged() argument
300 const char* valueChars = env->GetStringUTFChars(stateValue, nullptr); in Java_org_skia_viewer_ViewerActivity_onUIStateChanged()
302 message.stateValue = new SkString(valueChars); in Java_org_skia_viewer_ViewerActivity_onUIStateChanged()
305 env->ReleaseStringUTFChars(stateValue, valueChars); in Java_org_skia_viewer_ViewerActivity_onUIStateChanged()
Dsurface_glue_android.h42 SkString* stateValue; member
/external/skqp/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DStateAdapter.java198 String stateValue = ((TextView) view).getText().toString(); in onItemSelected() local
199 if (!stateValue.equals(stateItem.getTag(R.integer.value_tag_key))) { in onItemSelected()
201 mViewerActivity.onStateChanged(stateName, stateValue); in onItemSelected()
209 && oldValue != null && !stateValue.equals(oldValue)) { in onItemSelected()
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
/external/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DStateAdapter.java198 String stateValue = ((TextView) view).getText().toString(); in onItemSelected() local
199 if (!stateValue.equals(stateItem.getTag(R.integer.value_tag_key))) { in onItemSelected()
201 mViewerActivity.onStateChanged(stateName, stateValue); in onItemSelected()
209 && oldValue != null && !stateValue.equals(oldValue)) { in onItemSelected()
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
/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.h150 virtual void onUIStateChanged(const SkString& stateName, const SkString& stateValue) {} in onUIStateChanged() argument
171 void onUIStateChanged(const SkString& stateName, const SkString& stateValue);
/external/skia/tools/sk_app/
DWindow.h105 virtual void onUIStateChanged(const SkString& stateName, const SkString& stateValue) {} in onUIStateChanged() argument
129 void onUIStateChanged(const SkString& stateName, const SkString& stateValue);
DWindow.cpp71 void Window::onUIStateChanged(const SkString& stateName, const SkString& stateValue) { in onUIStateChanged() argument
72 this->visitLayers([=](Layer* layer) { layer->onUIStateChanged(stateName, stateValue); }); in onUIStateChanged()
/external/skqp/tools/viewer/
DViewer.cpp2118 void Viewer::onUIStateChanged(const SkString& stateName, const SkString& stateValue) { in onUIStateChanged() argument
2125 if (fSlides[i]->getName().equals(stateValue)) { in onUIStateChanged()
2131 SkDebugf("Slide not found: %s", stateValue.c_str()); in onUIStateChanged()
2134 if (stateValue.equals(kBackendTypeStrings[i])) { in onUIStateChanged()
2145 int sampleCount = atoi(stateValue.c_str()); in onUIStateChanged()
2156 if (pair.second == stateValue.c_str()) { in onUIStateChanged()
2168 if (!stateValue.equals(kSoftkeyHint)) { in onUIStateChanged()
2169 fCommands.onSoftkey(stateValue); in onUIStateChanged()
2175 fRefresh = stateValue.equals(kON); in onUIStateChanged()
DViewer.h37 void onUIStateChanged(const SkString& stateName, const SkString& stateValue) override;
/external/skia/tools/viewer/
DViewer.h43 void onUIStateChanged(const SkString& stateName, const SkString& stateValue) override;
DViewer.cpp2806 void Viewer::onUIStateChanged(const SkString& stateName, const SkString& stateValue) { in onUIStateChanged() argument
2813 if (fSlides[i]->getName().equals(stateValue)) { in onUIStateChanged()
2819 SkDebugf("Slide not found: %s", stateValue.c_str()); in onUIStateChanged()
2822 if (stateValue.equals(kBackendTypeStrings[i])) { in onUIStateChanged()
2836 int sampleCount = atoi(stateValue.c_str()); in onUIStateChanged()
2847 if (pair.second == stateValue.c_str()) { in onUIStateChanged()
2859 if (!stateValue.equals(kSoftkeyHint)) { in onUIStateChanged()
2860 fCommands.onSoftkey(stateValue); in onUIStateChanged()
2866 fRefresh = stateValue.equals(kON); in onUIStateChanged()