Home
last modified time | relevance | path

Searched refs:var (Results 1 – 25 of 87) sorted by relevance

1234

/frameworks/base/core/jni/
Dandroid_view_PointerIcon.cpp109 #define FIND_CLASS(var, className) \ argument
110 var = env->FindClass(className); \
111 LOG_FATAL_IF(! var, "Unable to find class " className); \
112 var = jclass(env->NewGlobalRef(var));
114 #define GET_STATIC_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
115 var = env->GetStaticMethodID(clazz, methodName, methodDescriptor); \
116 LOG_FATAL_IF(! var, "Unable to find method " methodName);
118 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
119 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
120 LOG_FATAL_IF(! var, "Unable to find method " methodName);
[all …]
Dandroid_view_KeyEvent.cpp127 #define FIND_CLASS(var, className) \ argument
128 var = env->FindClass(className); \
129 LOG_FATAL_IF(! var, "Unable to find class " className); \
130 var = jclass(env->NewGlobalRef(var));
132 #define GET_STATIC_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument
133 var = env->GetStaticMethodID(clazz, methodName, fieldDescriptor); \
134 LOG_FATAL_IF(! var, "Unable to find static method" methodName);
136 #define GET_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument
137 var = env->GetMethodID(clazz, methodName, fieldDescriptor); \
138 LOG_FATAL_IF(! var, "Unable to find method" methodName);
[all …]
Dandroid_server_FingerprintManager.cpp27 #define FIND_CLASS(var, className) \ argument
28 var = env->FindClass(className); \
29 LOG_FATAL_IF(! var, "Unable to find class " className); \
30 var = jclass(env->NewGlobalRef(var));
32 #define GET_STATIC_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument
33 var = env->GetStaticMethodID(clazz, methodName, fieldDescriptor); \
34 LOG_FATAL_IF(! var, "Unable to find static method" methodName);
36 #define GET_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument
37 var = env->GetMethodID(clazz, methodName, fieldDescriptor); \
38 LOG_FATAL_IF(! var, "Unable to find method" methodName);
[all …]
Dandroid_database_SQLiteDebug.cpp65 #define FIND_CLASS(var, className) \ argument
66 var = env->FindClass(className); \
67 LOG_FATAL_IF(! var, "Unable to find class " className);
69 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
70 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
71 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
Dandroid_content_res_ObbScanner.cpp83 #define FIND_CLASS(var, className) \ argument
84 var = env->FindClass(className); \
85 LOG_FATAL_IF(! var, "Unable to find class " className);
87 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
88 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
89 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
Dandroid_view_InputDevice.cpp80 #define FIND_CLASS(var, className) \ argument
81 var = env->FindClass(className); \
82 LOG_FATAL_IF(! var, "Unable to find class " className);
84 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
85 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
86 LOG_FATAL_IF(! var, "Unable to find method " methodName);
Dandroid_view_InputChannel.cpp278 #define FIND_CLASS(var, className) \ argument
279 var = env->FindClass(className); \
280 LOG_FATAL_IF(! var, "Unable to find class " className); \
281 var = jclass(env->NewGlobalRef(var));
283 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
284 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
285 LOG_FATAL_IF(! var, "Unable to find method " methodName);
287 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
288 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
289 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
Dandroid_view_TextureView.cpp215 #define FIND_CLASS(var, className) \ argument
216 var = env->FindClass(className); \
217 LOG_FATAL_IF(!var, "Unable to find class " className);
219 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
220 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
221 LOG_FATAL_IF(!var, "Unable to find method " methodName);
223 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
224 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
225 LOG_FATAL_IF(!var, "Unable to find field" fieldName);
Dandroid_content_res_Configuration.cpp73 #define FIND_CLASS(var, className) \ argument
74 var = env->FindClass(className); \
75 LOG_FATAL_IF(! var, "Unable to find class " className);
77 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
78 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
79 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
Dandroid_os_MessageQueue.cpp160 #define FIND_CLASS(var, className) \ argument
161 var = env->FindClass(className); \
162 LOG_FATAL_IF(! var, "Unable to find class " className);
164 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
165 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
166 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
Dandroid_view_KeyCharacterMap.cpp224 #define FIND_CLASS(var, className) \ argument
225 var = env->FindClass(className); \
226 LOG_FATAL_IF(! var, "Unable to find class " className);
228 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
229 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
230 LOG_FATAL_IF(! var, "Unable to find method " methodName);
232 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
233 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
234 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
Dandroid_view_GraphicBuffer.cpp280 #define FIND_CLASS(var, className) \ argument
281 var = env->FindClass(className); \
282 LOG_FATAL_IF(! var, "Unable to find class " className);
284 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
285 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
286 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
288 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
289 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
290 LOG_FATAL_IF(!var, "Unable to find method " methodName);
Dandroid_view_DisplayEventReceiver.cpp263 #define FIND_CLASS(var, className) \ argument
264 var = env->FindClass(className); \
265 LOG_FATAL_IF(! var, "Unable to find class " className); \
266 var = jclass(env->NewGlobalRef(var));
268 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
269 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
270 LOG_FATAL_IF(! var, "Unable to find method " methodName);
/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.cpp176 bool ShaderProgram::IsVarValid(ProgramVar var) { in IsVarValid() argument
177 return var != -1; in IsVarValid()
644 bool ShaderProgram::CheckVarValid(ProgramVar var) { in CheckVarValid() argument
645 if (!IsVarValid(var)) { in CheckVarValid()
653 bool ShaderProgram::CheckUniformValid(ProgramVar var) { in CheckUniformValid() argument
654 if (!IsVarValid(var) || uniform_indices_.find(var) == uniform_indices_.end()) { in CheckUniformValid()
655 ALOGE("Shader Program: Attempting to access unknown uniform %d!", var); in CheckUniformValid()
678 bool ShaderProgram::SetUniformValue(ProgramVar var, int value) { in SetUniformValue() argument
679 if (!CheckVarValid(var)) in SetUniformValue()
684 glUniform1i(var, value); in SetUniformValue()
[all …]
Dshader_program.h116 static bool IsVarValid(ProgramVar var);
179 bool SetUniformValue(ProgramVar var, int value);
183 bool SetUniformValue(ProgramVar var, float value);
187 bool SetUniformValue(ProgramVar var, const int* values, int count);
191 bool SetUniformValue(ProgramVar var, const float* values, int count);
195 bool SetUniformValue(ProgramVar var, const std::vector<int>& values);
199 bool SetUniformValue(ProgramVar var, const std::vector<float>& values);
236 bool SetConstAttributeValue(ProgramVar var, float value);
240 bool SetConstAttributeValue(ProgramVar var, const std::vector<float>& value);
258 bool SetAttributeValues(ProgramVar var,
[all …]
/frameworks/base/docs/html/develop/
Dindex.jd233 var MAX_LIST_DESC_LENGTH = 130; // the length at which we will trim the description
234 var MAX_VIDEO_DESC_LENGTH = 100; // the length at which we will trim the description
235 var MAX_LIST_LENGTH = 4; // number of videos to put in the list
236 var feed = data.feed;
237 var entries = feed.entry || [];
238 var playlistId = feed.yt$playlistId.$t;
240 var $ulVideos = $('<ul style="display:none"/>');
241var summary = feed.media$group.media$description != null ? feed.media$group.media$description.$t :…
243 var $liPlaylist = $('<li class="playlist"></li>');
244 var $aPlaylist = $('<a href="" onclick="togglePlaylist(this);return false;"></a>');
[all …]
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/tools/promote/
Ddevice-art.jd153 var g_currentImage;
154 var g_currentDevice;
155 var g_currentObjectURL;
156 var g_currentBlob;
159 var MSG_INVALID_INPUT_IMAGE = 'Invalid screenshot provided. Screenshots must be PNG files '
161 var MSG_NO_INPUT_IMAGE = '将屏幕截图(.PNG)从桌面拖动到以上所列设备。';
162 var MSG_GENERATING_IMAGE = 'Generating device art&hellip;';
164 var MAX_DISPLAY_HEIGHT = 126; // XOOM, to fit into 200px wide
167 var DEVICES = [
269 var MAX_HEIGHT = 0;
[all …]
Dbadges.jd47 var APP_LANGS = ['it','pt-br','pt-pt','nl','ko','ja','fr','es','es-419','en','de'];
50 var imagePath = "/images/brand/"
51 var linkStart = "<a href=\"https://play.google.com/store/";
52 var imageStart = "\">\n"
55 var imageSrc = "\"\n src=\"" + imagePath;
57 var imageEnd = ".png\" />\n</a>";
60 var linkStartCode = "&lt;a href=\"https://play.google.com/store/";
61 var imageStartCode = "\"&gt;\n"
64 var imageSrcCode = "\"\n src=\"" + imagePath;
66 var imageEndCode = ".png\" />\n&lt;/a>";
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_power_PowerManagerService.cpp177 #define FIND_CLASS(var, className) \ argument
178 var = env->FindClass(className); \
179 LOG_FATAL_IF(! var, "Unable to find class " className);
181 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
182 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
183 LOG_FATAL_IF(! var, "Unable to find method " methodName);
185 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
186 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
187 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
Dcom_android_server_input_InputApplicationHandle.cpp129 #define FIND_CLASS(var, className) \ argument
130 var = env->FindClass(className); \
131 LOG_FATAL_IF(! var, "Unable to find class " className);
133 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
134 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
135 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
Dcom_android_server_AssetAtlasService.cpp221 #define FIND_CLASS(var, className) \ argument
222 var = env->FindClass(className); \
223 LOG_FATAL_IF(! var, "Unable to find class " className);
225 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
226 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
227 LOG_FATAL_IF(!var, "Unable to find method " methodName);
/frameworks/base/docs/html/distribute/tools/promote/
Ddevice-art.jd166 var g_currentImage;
167 var g_currentDevice;
168 var g_currentObjectURL;
169 var g_currentBlob;
172 var MSG_INVALID_INPUT_IMAGE = 'Invalid screenshot provided. Screenshots must be PNG files '
174 var MSG_INVALID_WEAR_IMAGE = 'Invalid screenshot provided. Screenshots must be PNG files '
178 var MSG_NO_INPUT_IMAGE = 'Drag a screenshot (in PNG format) from your desktop onto a '
180 var MSG_GENERATING_IMAGE = 'Generating device art&hellip;';
182 var MAX_DISPLAY_HEIGHT = 126; // XOOM, to fit into 200px wide
185 var DEVICES = [
[all …]
Dbadges.jd66 var APP_LANGS = ['it','pt-br','pt-pt','nl','ko','ja','fr','es','es-419','en','de'];
69 var imagePath = "https://developer.android.com/images/brand/"
70 var linkStart = "<a href=\"https://play.google.com/store/";
71 var imageStart = "\">\n"
74 var imageSrc = "\"\n src=\"" + imagePath;
76 var imageEnd = ".png\" />\n</a>";
79 var linkStartCode = "&lt;a href=\"https://play.google.com/store/";
80 var imageStartCode = "\"&gt;\n"
83 var imageSrcCode = "\"\n src=\"" + imagePath;
85 var imageEndCode = ".png\" />\n&lt;/a>";
[all …]
/frameworks/base/docs/html/channels/
Dio2013.jd237 var url = '//www.youtube.com/v/' + id + '&rel=1&border=0&fs=1' + (autoplay?'&autoplay=1':'');
262 var MAX_DESC_LENGTH = 200; // the length at which we will trim the description
263 var feed = data.feed;
264 var entries = feed.entry || [];
265 var playlistId = feed.yt$playlistId.$t;
268 for (var i = 0; i < entries.length; i++) {
269 var entry = entries[i];
270 var title = entry.title.$t;
271 var id = entry.media$group.yt$videoid.$t;
273 var thumbs = entry.media$group.media$thumbnail;
[all …]
/frameworks/base/docs/html/about/dashboards/
Dindex.jd155 var VERSION_DATA =
205 var SCREEN_DATA =
239 var VERSION_NAMES =
341 var $div = $('<div class="chart"'
344 var $divtable = $('<div class="col-5" style="margin-left:0">');
345 var $divchart = $('<div class="col-8" style="margin-right:0">');
348 var $table = $("<table>");
349 var $trh = $("<tr><th>Version</th>"
358 var rowspan = 1;
376 var $tr = $("<tr>");
[all …]

1234