Lines Matching defs:offsets
46 static offsets_t offsets;
59 env->SetIntField(clazz, offsets.pixelFormat,info.pixelFormatInfo.format);
60 env->SetFloatField(clazz, offsets.fps, info.fps);
61 env->SetFloatField(clazz, offsets.density, info.density);
62 env->SetFloatField(clazz, offsets.xdpi, info.xdpi);
63 env->SetFloatField(clazz, offsets.ydpi, info.ydpi);
69 DisplayID dpy = env->GetIntField(clazz, offsets.display);
76 DisplayID dpy = env->GetIntField(clazz, offsets.display);
83 DisplayID dpy = env->GetIntField(clazz, offsets.display);
116 offsets.display = env->GetFieldID(clazz, "mDisplay", "I");
117 offsets.pixelFormat = env->GetFieldID(clazz, "mPixelFormat", "I");
118 offsets.fps = env->GetFieldID(clazz, "mRefreshRate", "F");
119 offsets.density = env->GetFieldID(clazz, "mDensity", "F");
120 offsets.xdpi = env->GetFieldID(clazz, "mDpiX", "F");
121 offsets.ydpi = env->GetFieldID(clazz, "mDpiY", "F");