Searched refs:stateValue (Results 1 – 8 of 8) sorted by relevance
/external/skia/tools/viewer/sk_app/android/ |
D | surface_glue_android.cpp | 158 skiaAndroidApp->fWindow->onUIStateChanged(*message.stateName, *message.stateValue); in message_callback() 160 delete message.stateValue; in message_callback() 267 JNIEnv* env, jobject activity, jlong handle, jstring stateName, jstring stateValue) { in Java_org_skia_viewer_ViewerActivity_onUIStateChanged() argument 271 const char* valueChars = env->GetStringUTFChars(stateValue, nullptr); in Java_org_skia_viewer_ViewerActivity_onUIStateChanged() 273 message.stateValue = new SkString(valueChars); in Java_org_skia_viewer_ViewerActivity_onUIStateChanged() 276 env->ReleaseStringUTFChars(stateValue, valueChars); in Java_org_skia_viewer_ViewerActivity_onUIStateChanged()
|
D | surface_glue_android.h | 42 SkString* stateValue; member
|
/external/skia/tools/viewer/sk_app/ |
D | Window.cpp | 42 const SkString& stateName, const SkString& stateValue, void* userData) {} in default_ui_state_changed_func() argument 85 void Window::onUIStateChanged(const SkString& stateName, const SkString& stateValue) { in onUIStateChanged() argument 86 return fUIStateChangedFunc(stateName, stateValue, fUIStateChangedUserData); in onUIStateChanged()
|
D | Window.h | 139 const SkString& stateName, const SkString& stateValue, void* userData); 188 void onUIStateChanged(const SkString& stateName, const SkString& stateValue);
|
/external/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ |
D | ViewerActivity.java | 42 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
|
D | StateAdapter.java | 221 String stateValue = ((TextView) view).getText().toString(); in onItemSelected() local 222 if (!stateValue.equals(stateItem.getTag(R.integer.value_tag_key))) { in onItemSelected() 224 mViewerActivity.onStateChanged(stateName, stateValue); in onItemSelected() 232 && oldValue != null && !stateValue.equals(oldValue)) { in onItemSelected()
|
/external/skia/tools/viewer/ |
D | Viewer.cpp | 70 static void on_ui_state_changed_handler(const SkString& stateName, const SkString& stateValue, void… in on_ui_state_changed_handler() argument 73 return viewer->onUIStateChanged(stateName, stateValue); in on_ui_state_changed_handler() 1355 void Viewer::onUIStateChanged(const SkString& stateName, const SkString& stateValue) { in onUIStateChanged() argument 1364 if (slide->getName().equals(stateValue)) { in onUIStateChanged() 1372 SkDebugf("Slide not found: %s", stateValue.c_str()); in onUIStateChanged() 1376 if (stateValue.equals(kBackendTypeStrings[i])) { in onUIStateChanged() 1387 int sampleCount = atoi(stateValue.c_str()); in onUIStateChanged() 1398 if (pair.second == stateValue.c_str()) { in onUIStateChanged() 1411 bool value = !strcmp(stateValue.c_str(), kON); in onUIStateChanged() 1420 if (!stateValue.equals(kSoftkeyHint)) { in onUIStateChanged() [all …]
|
D | Viewer.h | 30 void onUIStateChanged(const SkString& stateName, const SkString& stateValue);
|