Searched defs:height (Results 426 - 450 of 763) sorted by relevance

<<11121314151617181920>>

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintPreviewController.java91 public void onSizeChanged(int width, int height) { argument
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
H A DUsageGraph.java108 void setDividerLoc(int height) { argument
109 mMiddleDividerLoc = 1 - height / mMaxY;
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
H A DDataCollector.java445 public void onTouchEvent(MotionEvent event, int width, int height) { argument
452 mCurrentSession.setTouchArea(width, height);
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DFalsingManager.java438 public void onTouchEvent(MotionEvent event, int width, int height) { argument
440 mDataCollector.onTouchEvent(event, width, height);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskViewThumbnail.java68 /** The height, in pixels, of the task view's title bar. */
88 // Visibility optimization, if the thumbnail height is less than the height of the header
124 public void onTaskViewSizeChanged(int width, int height) { argument
126 if (mTaskViewRect.width() == width && mTaskViewRect.height() == height) {
130 mTaskViewRect.set(0, 0, width, height);
131 setLeftTopRightBottom(0, 0, width, height);
142 int viewHeight = mTaskViewRect.height();
146 (int) (mThumbnailRect.height() * mThumbnailScal
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarWindowView.java387 public LayoutParams(int width, int height) { argument
388 super(width, height);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLCanvas.java27 // [x, x+width) * [y, y+height)
36 // who only want to draw on the GLCanvas. Both width and height must be
38 public abstract void setSize(int width, int height); argument
90 public abstract void fillRect(float x, float y, float width, float height, int color); argument
94 BasicTexture texture, int x, int y, int width, int height);
204 * Gets the bounds given by x, y, width, and height as well as the internal
212 * @param height The height of the input rectangle.
214 public abstract void getBounds(Rect bounds, int x, int y, int width, int height); argument
93 drawTexture( BasicTexture texture, int x, int y, int width, int height) argument
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DBlockingGLTextureView.java67 int height) {
69 mRenderThread.setSize(width, height);
74 int height) {
75 mRenderThread.setSize(width, height);
353 public void setSize(int width, int height) { argument
357 mHeight = height;
66 onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) argument
73 onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) argument
H A DTiledImageView.java254 final int height = swap ? mRenderer.source.getImageWidth()
256 mTempRectF.set(0, 0, width, height);
260 int cy = height / 2;
263 int yoffset = Math.round((getHeight() - mTempRectF.height()) / 2 / scale);
293 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
294 mCanvas.setSize(width, height);
295 mRenderer.image.setViewSize(width, height);
/frameworks/base/services/core/java/com/android/server/display/
H A DOverlayDisplayWindow.java97 int width, int height, int densityDpi, int gravity, boolean secure,
115 resize(width, height, densityDpi, false /* doLayout */);
143 public void resize(int width, int height, int densityDpi) { argument
144 resize(width, height, densityDpi, true /* doLayout */);
147 private void resize(int width, int height, int densityDpi, boolean doLayout) { argument
149 mHeight = height;
207 mTextureView.getLayoutParams().height = mHeight;
254 int height = (int)(mHeight * scale);
256 int y = (int)(mWindowY + mLiveTranslationY - height * offsetScale);
258 y = Math.max(0, Math.min(y, mDefaultDisplayInfo.logicalHeight - height));
96 OverlayDisplayWindow(Context context, String name, int width, int height, int densityDpi, int gravity, boolean secure, Listener listener) argument
[all...]
H A DWifiDisplayAdapter.java361 Surface surface, int width, int height, int flags) {
384 mDisplayDevice = new WifiDisplayDevice(displayToken, name, width, height,
526 int width, int height, int flags) {
529 addDisplayDeviceLocked(display, surface, width, height, flags);
592 int width, int height, float refreshRate, int flags, String address,
597 mHeight = height;
602 mMode = createMode(width, height, refreshRate);
637 mInfo.height = mHeight;
360 addDisplayDeviceLocked(WifiDisplay display, Surface surface, int width, int height, int flags) argument
591 WifiDisplayDevice(IBinder displayToken, String name, int width, int height, float refreshRate, int flags, String address, Surface surface) argument
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvRemoteProviderProxy.java252 int width, int height, int maxPointers);
326 final int height, final int maxPointers) {
337 name, width, height, maxPointers);
575 int height, int maxPointers) throws RemoteException {
578 connection.openInputBridge(token, name, width, height, maxPointers);
251 openInputBridge(TvRemoteProviderProxy provider, IBinder token, String name, int width, int height, int maxPointers) argument
325 openInputBridge(final IBinder token, final String name, final int width, final int height, final int maxPointers) argument
574 openInputBridge(IBinder token, String name, int width, int height, int maxPointers) argument
/frameworks/base/services/core/java/com/android/server/wm/
H A DAppWindowAnimator.java124 public void setAnimation(Animation anim, int width, int height, int parentWidth, argument
128 + ": " + anim + " wxh=" + width + "x" + height
133 anim.initialize(width, height, parentWidth, parentHeight);
/frameworks/base/telecomm/java/android/telecom/
H A DVideoCallImpl.java96 public void changePeerDimensions(int width, int height) { argument
102 args.arg2 = height;
179 int height = (int) args.arg2;
180 mCallback.onPeerDimensionsChanged(width, height);
/frameworks/base/telephony/java/com/android/ims/internal/
H A DImsVideoCallProvider.java256 public void changePeerDimensions(int width, int height) { argument
259 mCallback.changePeerDimensions(width, height);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DLayout.java189 private LayoutParams createLayoutParams(int width, int height) { argument
194 if (height > 0) {
195 height = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, height, metrics);
197 return new LayoutParams(width, height);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/
H A DSpotShadow.java431 public static float[] calculateLight(float size, int points, float x, float y, float height) { argument
437 ret[i * 3 + 2] = (height);
/frameworks/ex/framesequence/jni/
H A DFrameSequence_gif.cpp192 const int height = mFrameSequence.getHeight(); local
194 mPreserveBuffer = new Color8888[width * height];
196 for (int y = 0; y < height; y++) {
205 const int height = mFrameSequence.getHeight(); local
210 for (int y = 0; y < height; y++) {
231 const int height = mFrameSequence.getHeight(); local
261 for (int y = 0; y < height; y++) {
283 getCopySize(prevFrame.ImageDesc, width, height, copyWidth, copyHeight);
318 getCopySize(frame.ImageDesc, width, height, copyWidth, copyHeight);
/frameworks/native/libs/gui/
H A DBufferQueueConsumer.cpp555 uint32_t height) {
558 if (width == 0 || height == 0) {
560 "height=%u)", width, height);
564 BQ_LOGV("setDefaultBufferSize: width=%u height=%u", width, height);
568 mCore->mDefaultHeight = height;
554 setDefaultBufferSize(uint32_t width, uint32_t height) argument
/frameworks/native/libs/ui/
H A DGraphicBuffer.cpp51 height =
87 HandleWrapMethod method, uint32_t width, uint32_t height,
93 mInitCheck = initWithHandle(handle, method, width, height, format,
139 static_cast<int>(inHeight) == height &&
158 if (static_cast<int>(inHeight) != height) return true;
176 height = static_cast<int>(inHeight);
186 HandleWrapMethod method, uint32_t width, uint32_t height,
191 ANativeWindowBuffer::height = static_cast<int>(height); member in class:android::ANativeWindowBuffer
224 const Rect lockBounds(width, height);
86 GraphicBuffer(const native_handle_t* handle, HandleWrapMethod method, uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount, uint64_t usage, uint32_t stride) argument
185 initWithHandle(const native_handle_t* handle, HandleWrapMethod method, uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount, uint64_t usage, uint32_t stride) argument
[all...]
/frameworks/native/libs/vr/libbufferhubqueue/
H A Dbuffer_hub_queue_client.cpp391 int ProducerQueue::AllocateBuffer(uint32_t width, uint32_t height, argument
408 width, height, layer_count, format, usage, kBufferCount);
H A Dbuffer_hub_queue_producer.cpp129 int* out_slot, sp<Fence>* out_fence, uint32_t width, uint32_t height,
133 height, format, usage);
150 ret = AllocateBuffer(width, height, kLayerCount, format, usage);
167 height == buffer_producer->height() &&
179 width, height, format, slot, buffer_producer->width(),
180 buffer_producer->height(), buffer_producer->format());
193 ret = AllocateBuffer(width, height, kLayerCount, format, usage);
315 Rect buffer_rect(buffer_producer->width(), buffer_producer->height());
340 output->height
128 dequeueBuffer( int* out_slot, sp<Fence>* out_fence, uint32_t width, uint32_t height, PixelFormat format, uint32_t usage, FrameEventHistoryDelta* ) argument
605 AllocateBuffer(uint32_t width, uint32_t height, uint32_t layer_count, PixelFormat format, uint64_t usage) argument
[all...]
/frameworks/native/libs/vr/libvrflinger/
H A Dhardware_composer.h40 int height; member in struct:android::dvr::HWCDisplayMetrics
160 // width, height, buffer handle, and fence. If a new buffer is not available
172 acquired_buffer.buffer()->height(),
202 return std::make_tuple(buffer->width(), buffer->height(),
274 int DisplayHeight() const { return display_metrics_.height; }
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
H A DGL2CameraEye.java176 mCameraRatio = (float)previewSize.width/previewSize.height;
232 public void onSurfaceChanged(GL10 glUnused, int width, int height) { argument
235 GLES20.glViewport(0, 0, width, height);
236 mRatio = (float) width / height;
/frameworks/native/opengl/tests/hwc/
H A DhwcStress.cpp198 static EGLint width, height; variable
448 layer->displayFrame.top = testRandMod(height);
452 + testRandMod(height - layer->displayFrame.top) + 1;
461 // width and height will fit.
467 && ((layer->displayFrame.top + sourceHeight) <= height)) {
536 hwcTestInitDisplay(verbose, &dpy, &surface, &width, &height);
567 // dimensions. Width and height need to be >= 1.
573 // Pick width and height, which must be >= 1 and the size
576 size_t h = (height * maxSizeRatio) * testRandFract();
586 testPrintI(" frame %u width: %u height
[all...]

Completed in 2201 milliseconds

<<11121314151617181920>>