Home
last modified time | relevance | path

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

1234

/frameworks/base/core/jni/
Dandroid_view_PointerIcon.cpp108 #define FIND_CLASS(var, className) \ argument
109 var = env->FindClass(className); \
110 LOG_FATAL_IF(! var, "Unable to find class " className); \
111 var = jclass(env->NewGlobalRef(var));
113 #define GET_STATIC_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
114 var = env->GetStaticMethodID(clazz, methodName, methodDescriptor); \
115 LOG_FATAL_IF(! var, "Unable to find method " methodName);
117 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
118 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
119 LOG_FATAL_IF(! var, "Unable to find method " methodName);
[all …]
Dandroid_view_KeyEvent.cpp120 #define FIND_CLASS(var, className) \ argument
121 var = env->FindClass(className); \
122 LOG_FATAL_IF(! var, "Unable to find class " className); \
123 var = jclass(env->NewGlobalRef(var));
125 #define GET_STATIC_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument
126 var = env->GetStaticMethodID(clazz, methodName, fieldDescriptor); \
127 LOG_FATAL_IF(! var, "Unable to find static method" methodName);
129 #define GET_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument
130 var = env->GetMethodID(clazz, methodName, fieldDescriptor); \
131 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.cpp76 #define FIND_CLASS(var, className) \ argument
77 var = env->FindClass(className); \
78 LOG_FATAL_IF(! var, "Unable to find class " className);
80 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
81 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
82 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_os_MessageQueue.cpp154 #define FIND_CLASS(var, className) \ argument
155 var = env->FindClass(className); \
156 LOG_FATAL_IF(! var, "Unable to find class " className);
158 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
159 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
160 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
Dandroid_content_res_Configuration.cpp82 #define FIND_CLASS(var, className) \ argument
83 var = env->FindClass(className); \
84 LOG_FATAL_IF(! var, "Unable to find class " className);
86 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
87 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
88 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
Dandroid_view_TextureView.cpp222 #define FIND_CLASS(var, className) \ argument
223 var = env->FindClass(className); \
224 LOG_FATAL_IF(!var, "Unable to find class " className);
226 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
227 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
228 LOG_FATAL_IF(!var, "Unable to find method " methodName);
230 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
231 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
232 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_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);
Dandroid_hardware_SensorManager.cpp234 #define FIND_CLASS(var, className) \ argument
235 var = env->FindClass(className); \
236 LOG_FATAL_IF(! var, "Unable to find class " className); \
237 var = jclass(env->NewGlobalRef(var));
239 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
240 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
241 LOG_FATAL_IF(! var, "Unable to find method " methodName);
Dandroid_view_InputEventSender.cpp302 #define FIND_CLASS(var, className) \ argument
303 var = env->FindClass(className); \
304 LOG_FATAL_IF(! var, "Unable to find class " className); \
305 var = jclass(env->NewGlobalRef(var));
307 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
308 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
309 LOG_FATAL_IF(! var, "Unable to find method " methodName);
Dandroid_view_GLES20DisplayList.cpp358 #define FIND_CLASS(var, className) \ argument
359 var = env->FindClass(className); \
360 LOG_FATAL_IF(! var, "Unable to find class " className);
362 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
363 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
364 LOG_FATAL_IF(! var, "Unable to find method " methodName);
366 #define FIND_CLASS(var, className) argument
367 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) argument
/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.jd219 var MAX_LIST_DESC_LENGTH = 130; // the length at which we will trim the description
220 var MAX_VIDEO_DESC_LENGTH = 100; // the length at which we will trim the description
221 var MAX_LIST_LENGTH = 4; // number of videos to put in the list
222 var feed = data.feed;
223 var entries = feed.entry || [];
224 var playlistId = feed.yt$playlistId.$t;
226 var $ulVideos = $('<ul style="display:none"/>');
227var summary = feed.media$group.media$description != null ? feed.media$group.media$description.$t :…
229 var $liPlaylist = $('<li class="playlist"></li>');
230 var $aPlaylist = $('<a href="" onclick="togglePlaylist(this);return false;"></a>');
[all …]
/frameworks/base/docs/html/distribute/promote/
Ddevice-art.jd136 var g_currentImage;
137 var g_currentDevice;
140 var MSG_INVALID_INPUT_IMAGE = 'Invalid screenshot provided. Screenshots must be PNG files '
142 var MSG_NO_INPUT_IMAGE = 'Drag a screenshot (in PNG format) from your desktop onto a '
144 var MSG_GENERATING_IMAGE = 'Generating device art&hellip;';
146 var MAX_DISPLAY_HEIGHT = 126; // XOOM, to fit into 200px wide
149 var DEVICES = [
236 var MAX_HEIGHT = 0;
237 for (var i = 0; i < DEVICES.length; i++) {
252 var a = e.target;
[all …]
/frameworks/base/services/jni/
Dcom_android_server_power_PowerManagerService.cpp230 #define FIND_CLASS(var, className) \ argument
231 var = env->FindClass(className); \
232 LOG_FATAL_IF(! var, "Unable to find class " className);
234 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
235 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
236 LOG_FATAL_IF(! var, "Unable to find method " methodName);
238 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
239 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
240 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);
/frameworks/base/docs/html/channels/
Dio2013.jd236 var url = '//www.youtube.com/v/' + id + '&rel=1&border=0&fs=1' + (autoplay?'&autoplay=1':'');
261 var MAX_DESC_LENGTH = 200; // the length at which we will trim the description
262 var feed = data.feed;
263 var entries = feed.entry || [];
264 var playlistId = feed.yt$playlistId.$t;
267 for (var i = 0; i < entries.length; i++) {
268 var entry = entries[i];
269 var title = entry.title.$t;
270 var id = entry.media$group.yt$videoid.$t;
272 var thumbs = entry.media$group.media$thumbnail;
[all …]
/frameworks/base/docs/html/about/dashboards/
Dindex.jd148 var VERSION_DATA =
206 var SCREEN_DATA =
242 var VERSION_NAMES =
324 var $div = $('<div class="chart"'
327 var $divtable = $('<div class="col-5" style="margin-left:0">');
328 var $divchart = $('<div class="col-8" style="margin-right:0">');
331 var $table = $("<table>");
332 var $trh = $("<tr><th>Version</th>"
341 var rowspan = 1;
359 var $tr = $("<tr>");
[all …]
/frameworks/base/docs/html/guide/topics/ui/
Dhow-android-draws.jd71 <li><var>FILL_PARENT</var>, which means the View wants to be as big as its parent
73 <li><var>WRAP_CONTENT</var>, which means that the View wants to be just big enough to
85 <li><var>UNSPECIFIED</var>: This is used by a parent to determine the desired dimension
87 …with the height set to <var>UNSPECIFIED</var> and a width of <var>EXACTLY</var> 240 to find out how
89 <li><var>EXACTLY</var>: This is used by the parent to impose an exact size on the
92 <li><var>AT_MOST</var>: This is used by the parent to impose a maximum size on the
/frameworks/base/docs/html/distribute/googleplay/promote/
Dbadges.jd60 var APP_LANGS = ['it','pt-br','pt-pt','nl','ko','ja','fr','es','es-419','en','de'];
63 var imagePath = "https://developer.android.com/images/brand/"
64 var linkStart = "<a href=\"https://play.google.com/store/";
65 var imageStart = "\">\n"
68 var imageSrc = "\"\n src=\"" + imagePath;
70 var imageEnd = ".png\" />\n</a>";
73 var linkStartCode = "&lt;a href=\"https://play.google.com/store/";
74 var imageStartCode = "\"&gt;\n"
77 var imageSrcCode = "\"\n src=\"" + imagePath;
79 var imageEndCode = ".png\" />\n&lt;/a>";
[all …]
/frameworks/base/docs/html/sdk/
Ddownload.jd13 var location = window.location.href;
15 var filename = location.substring(location.indexOf('=')+1,location.length);
54 var loc = window.location.href;
56 var filename = loc.substring(loc.indexOf('=')+1,loc.length);
81 var loc = window.location.href;
82 var filename = loc.substring(loc.indexOf('=')+1,loc.length);
85 var oldHref = $(this).attr("href");

1234