Home
last modified time | relevance | path

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

/external/skia/tools/sk_app/android/
Dsurface_glue_android.cpp183 skiaAndroidApp->fWindow->onUIStateChanged(*message.stateName, *message.stateValue); in message_callback()
185 delete message.stateValue; in message_callback()
291 JNIEnv* env, jobject activity, jlong handle, jstring stateName, jstring stateValue) { in Java_org_skia_viewer_ViewerActivity_onUIStateChanged() argument
295 const char* valueChars = env->GetStringUTFChars(stateValue, nullptr); in Java_org_skia_viewer_ViewerActivity_onUIStateChanged()
297 message.stateValue = new SkString(valueChars); in Java_org_skia_viewer_ViewerActivity_onUIStateChanged()
300 env->ReleaseStringUTFChars(stateValue, valueChars); in Java_org_skia_viewer_ViewerActivity_onUIStateChanged()
Dsurface_glue_android.h42 SkString* stateValue; member
/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/skia/tools/sk_app/
DWindow.h115 virtual void onUIStateChanged(const SkString& stateName, const SkString& stateValue) {} in onUIStateChanged() argument
139 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/skia/tools/viewer/
DViewer.h44 void onUIStateChanged(const SkString& stateName, const SkString& stateValue) override;
DViewer.cpp3057 void Viewer::onUIStateChanged(const SkString& stateName, const SkString& stateValue) { in onUIStateChanged() argument
3064 if (fSlides[i]->getName().equals(stateValue)) { in onUIStateChanged()
3070 SkDebugf("Slide not found: %s", stateValue.c_str()); in onUIStateChanged()
3074 if (stateValue.equals(get_backend_string(backendType))) { in onUIStateChanged()
3088 int sampleCount = atoi(stateValue.c_str()); in onUIStateChanged()
3099 if (pair.second == stateValue.c_str()) { in onUIStateChanged()
3111 if (!stateValue.equals(kSoftkeyHint)) { in onUIStateChanged()
3112 fCommands.onSoftkey(stateValue); in onUIStateChanged()
3118 fRefresh = stateValue.equals(kON); in onUIStateChanged()